attrs.xml revision 7e3ede288926bdfb79b1571fed74cad614935821
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 946 <!-- Theme to use for dialogs spawned from this theme. --> 947 <attr name="dialogTheme" format="reference" /> 948 <!-- Window decor layout to use in dialog mode with icons. --> 949 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 950 <!-- Window decor layout to use in dialog mode with custom titles. --> 951 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 952 <!-- Window decor layout to use in dialog mode with title only. --> 953 <attr name="dialogTitleDecorLayout" format="reference" /> 954 <!-- Preferred padding for dialog content. --> 955 <attr name="dialogPreferredPadding" format="dimension" /> 956 957 <!-- Theme to use for alert dialogs spawned from this theme. --> 958 <attr name="alertDialogTheme" format="reference" /> 959 <!-- Icon drawable to use for alerts --> 960 <attr name="alertDialogIcon" format="reference" /> 961 962 <!-- Theme to use for presentations spawned from this theme. --> 963 <attr name="presentationTheme" format="reference" /> 964 965 <!-- Drawable to use for generic vertical dividers. --> 966 <attr name="dividerVertical" format="reference" /> 967 968 <!-- Drawable to use for generic horizontal dividers. --> 969 <attr name="dividerHorizontal" format="reference" /> 970 971 <!-- Style for button bars --> 972 <attr name="buttonBarStyle" format="reference" /> 973 974 <!-- Style for buttons within button bars --> 975 <attr name="buttonBarButtonStyle" format="reference" /> 976 977 <!-- Style for the "positive" buttons within button bars --> 978 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 979 980 <!-- Style for the "negative" buttons within button bars --> 981 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 982 983 <!-- Style for the "neutral" buttons within button bars --> 984 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 985 986 <!-- Style for the search query widget. --> 987 <attr name="searchViewStyle" format="reference" /> 988 989 <!-- Style for segmented buttons - a container that houses several buttons 990 with the appearance of a singel button broken into segments. --> 991 <attr name="segmentedButtonStyle" format="reference" /> 992 993 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 994 <attr name="selectableItemBackground" format="reference" /> 995 996 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 997 <attr name="selectableItemBackgroundBorderless" format="reference" /> 998 999 <!-- Style for buttons without an explicit border, often used in groups. --> 1000 <attr name="borderlessButtonStyle" format="reference" /> 1001 1002 <!-- Background to use for toasts --> 1003 <attr name="toastFrameBackground" format="reference" /> 1004 1005 <!-- Theme to use for Search Dialogs --> 1006 <attr name="searchDialogTheme" format="reference" /> 1007 1008 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 1009 <attr name="homeAsUpIndicator" format="reference" /> 1010 1011 <!-- Preference frame layout styles. --> 1012 <attr name="preferenceFrameLayoutStyle" format="reference" /> 1013 1014 <!-- Default style for the Switch widget. --> 1015 <attr name="switchStyle" format="reference" /> 1016 1017 <!-- Default style for the MediaRouteButton widget. --> 1018 <attr name="mediaRouteButtonStyle" format="reference" /> 1019 1020 <!-- ============== --> 1021 <!-- Pointer styles --> 1022 <!-- ============== --> 1023 <eat-comment /> 1024 1025 <!-- Reference to the Pointer style --> 1026 <attr name="pointerStyle" format="reference" /> 1027 1028 <!-- The drawable for accessibility focused views. --> 1029 <attr name="accessibilityFocusedDrawable" format="reference" /> 1030 1031 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1032 <attr name="findOnPageNextDrawable" format="reference" /> 1033 1034 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1035 <attr name="findOnPagePreviousDrawable" format="reference" /> 1036 1037 <!-- ============= --> 1038 <!-- Color palette --> 1039 <!-- ============= --> 1040 <eat-comment /> 1041 1042 <!-- The primary branding color for the app. By default, this is the color applied to the 1043 action bar background. --> 1044 <attr name="colorPrimary" format="color" /> 1045 1046 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1047 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1048 <attr name="colorPrimaryDark" format="color" /> 1049 1050 <!-- Bright complement to the primary branding color. By default, this is the color applied 1051 to framework controls (via colorControlActivated). --> 1052 <attr name="colorAccent" format="color" /> 1053 1054 <!-- The color applied to framework controls in their normal state. --> 1055 <attr name="colorControlNormal" format="color" /> 1056 1057 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1058 <attr name="colorControlActivated" format="color" /> 1059 1060 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1061 <attr name="colorControlHighlight" format="color" /> 1062 1063 <!-- The color applied to framework buttons in their normal state. --> 1064 <attr name="colorButtonNormal" format="color" /> 1065 1066 <!-- The color applied to framework switch thumbs in their normal state. --> 1067 <attr name="colorSwitchThumbNormal" format="color" /> 1068 1069 <!-- The color applied to the edge effect on scrolling containers. --> 1070 <attr name="colorEdgeEffect" format="color" /> 1071 1072 <!-- =================== --> 1073 <!-- Lighting properties --> 1074 <!-- =================== --> 1075 <eat-comment /> 1076 1077 <!-- @hide The default Y position of the light used to project view shadows. --> 1078 <attr name="lightY" format="dimension" /> 1079 1080 <!-- @hide The default Z position of the light used to project view shadows. --> 1081 <attr name="lightZ" format="dimension" /> 1082 1083 <!-- @hide The default radius of the light used to project view shadows. --> 1084 <attr name="lightRadius" format="dimension" /> 1085 1086 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1087 <attr name="ambientShadowAlpha" format="float" /> 1088 1089 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1090 <attr name="spotShadowAlpha" format="float" /> 1091 </declare-styleable> 1092 1093 <!-- **************************************************************** --> 1094 <!-- Other non-theme attributes. --> 1095 <!-- **************************************************************** --> 1096 <eat-comment /> 1097 1098 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1099 Supported values include the following:<p/> 1100 <ul> 1101 <li><b>px</b> Pixels</li> 1102 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1103 <li><b>pt</b> Points</li> 1104 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1105 </ul> 1106 --> 1107 <attr name="textSize" format="dimension" /> 1108 1109 <!-- Default font family. --> 1110 <attr name="fontFamily" format="string" /> 1111 1112 <!-- Default text typeface. --> 1113 <attr name="typeface"> 1114 <enum name="normal" value="0" /> 1115 <enum name="sans" value="1" /> 1116 <enum name="serif" value="2" /> 1117 <enum name="monospace" value="3" /> 1118 </attr> 1119 1120 <!-- Default text typeface style. --> 1121 <attr name="textStyle"> 1122 <flag name="normal" value="0" /> 1123 <flag name="bold" value="1" /> 1124 <flag name="italic" value="2" /> 1125 </attr> 1126 1127 <!-- Color of text (usually same as colorForeground). --> 1128 <attr name="textColor" format="reference|color" /> 1129 1130 <!-- Color of highlighted text. --> 1131 <attr name="textColorHighlight" format="reference|color" /> 1132 1133 <!-- Color of hint text (displayed when the field is empty). --> 1134 <attr name="textColorHint" format="reference|color" /> 1135 1136 <!-- Color of link text (URLs). --> 1137 <attr name="textColorLink" format="reference|color" /> 1138 1139 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1140 <attr name="textCursorDrawable" format="reference" /> 1141 1142 <!-- Indicates that the content of a non-editable TextView can be selected. 1143 Default value is false. EditText content is always selectable. --> 1144 <attr name="textIsSelectable" format="boolean" /> 1145 1146 <!-- Where to ellipsize text. --> 1147 <attr name="ellipsize"> 1148 <enum name="none" value="0" /> 1149 <enum name="start" value="1" /> 1150 <enum name="middle" value="2" /> 1151 <enum name="end" value="3" /> 1152 <enum name="marquee" value="4" /> 1153 </attr> 1154 1155 <!-- The type of data being placed in a text field, used to help an 1156 input method decide how to let the user enter text. The constants 1157 here correspond to those defined by 1158 {@link android.text.InputType}. Generally you can select 1159 a single value, though some can be combined together as 1160 indicated. Setting this attribute to anything besides 1161 <var>none</var> also implies that the text is editable. --> 1162 <attr name="inputType"> 1163 <!-- There is no content type. The text is not editable. --> 1164 <flag name="none" value="0x00000000" /> 1165 <!-- Just plain old text. Corresponds to 1166 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1167 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1168 <flag name="text" value="0x00000001" /> 1169 <!-- Can be combined with <var>text</var> and its variations to 1170 request capitalization of all characters. Corresponds to 1171 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1172 <flag name="textCapCharacters" value="0x00001001" /> 1173 <!-- Can be combined with <var>text</var> and its variations to 1174 request capitalization of the first character of every word. Corresponds to 1175 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1176 <flag name="textCapWords" value="0x00002001" /> 1177 <!-- Can be combined with <var>text</var> and its variations to 1178 request capitalization of the first character of every sentence. Corresponds to 1179 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1180 <flag name="textCapSentences" value="0x00004001" /> 1181 <!-- Can be combined with <var>text</var> and its variations to 1182 request auto-correction of text being input. Corresponds to 1183 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1184 <flag name="textAutoCorrect" value="0x00008001" /> 1185 <!-- Can be combined with <var>text</var> and its variations to 1186 specify that this field will be doing its own auto-completion and 1187 talking with the input method appropriately. Corresponds to 1188 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1189 <flag name="textAutoComplete" value="0x00010001" /> 1190 <!-- Can be combined with <var>text</var> and its variations to 1191 allow multiple lines of text in the field. If this flag is not set, 1192 the text field will be constrained to a single line. Corresponds to 1193 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1194 <flag name="textMultiLine" value="0x00020001" /> 1195 <!-- Can be combined with <var>text</var> and its variations to 1196 indicate that though the regular text view should not be multiple 1197 lines, the IME should provide multiple lines if it can. Corresponds to 1198 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1199 <flag name="textImeMultiLine" value="0x00040001" /> 1200 <!-- Can be combined with <var>text</var> and its variations to 1201 indicate that the IME should not show any 1202 dictionary-based word suggestions. Corresponds to 1203 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1204 <flag name="textNoSuggestions" value="0x00080001" /> 1205 <!-- Text that will be used as a URI. Corresponds to 1206 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1207 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1208 <flag name="textUri" value="0x00000011" /> 1209 <!-- Text that will be used as an e-mail address. Corresponds to 1210 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1211 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1212 <flag name="textEmailAddress" value="0x00000021" /> 1213 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1214 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1215 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1216 <flag name="textEmailSubject" value="0x00000031" /> 1217 <!-- Text that is the content of a short message. Corresponds to 1218 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1219 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1220 <flag name="textShortMessage" value="0x00000041" /> 1221 <!-- Text that is the content of a long message. Corresponds to 1222 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1223 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1224 <flag name="textLongMessage" value="0x00000051" /> 1225 <!-- Text that is the name of a person. Corresponds to 1226 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1227 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1228 <flag name="textPersonName" value="0x00000061" /> 1229 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1230 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1231 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1232 <flag name="textPostalAddress" value="0x00000071" /> 1233 <!-- Text that is a password. Corresponds to 1234 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1235 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1236 <flag name="textPassword" value="0x00000081" /> 1237 <!-- Text that is a password that should be visible. Corresponds to 1238 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1239 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1240 <flag name="textVisiblePassword" value="0x00000091" /> 1241 <!-- Text that is being supplied as text in a web form. Corresponds to 1242 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1243 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1244 <flag name="textWebEditText" value="0x000000a1" /> 1245 <!-- Text that is filtering some other data. Corresponds to 1246 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1247 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1248 <flag name="textFilter" value="0x000000b1" /> 1249 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1250 field in a contact entry. Corresponds to 1251 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1252 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1253 <flag name="textPhonetic" value="0x000000c1" /> 1254 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1255 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1256 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1257 <flag name="textWebEmailAddress" value="0x000000d1" /> 1258 <!-- Text that will be used as a password on a web form. Corresponds to 1259 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1260 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1261 <flag name="textWebPassword" value="0x000000e1" /> 1262 <!-- A numeric only field. Corresponds to 1263 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1264 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1265 <flag name="number" value="0x00000002" /> 1266 <!-- Can be combined with <var>number</var> and its other options to 1267 allow a signed number. Corresponds to 1268 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1269 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1270 <flag name="numberSigned" value="0x00001002" /> 1271 <!-- Can be combined with <var>number</var> and its other options to 1272 allow a decimal (fractional) number. Corresponds to 1273 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1274 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1275 <flag name="numberDecimal" value="0x00002002" /> 1276 <!-- A numeric password field. Corresponds to 1277 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1278 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1279 <flag name="numberPassword" value="0x00000012" /> 1280 <!-- For entering a phone number. Corresponds to 1281 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1282 <flag name="phone" value="0x00000003" /> 1283 <!-- For entering a date and time. Corresponds to 1284 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1285 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1286 <flag name="datetime" value="0x00000004" /> 1287 <!-- For entering a date. Corresponds to 1288 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1289 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1290 <flag name="date" value="0x00000014" /> 1291 <!-- For entering a time. Corresponds to 1292 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1293 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1294 <flag name="time" value="0x00000024" /> 1295 </attr> 1296 1297 <!-- Additional features you can enable in an IME associated with an editor 1298 to improve the integration with your application. The constants 1299 here correspond to those defined by 1300 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1301 <attr name="imeOptions"> 1302 <!-- There are no special semantics associated with this editor. --> 1303 <flag name="normal" value="0x00000000" /> 1304 <!-- There is no specific action associated with this editor, let the 1305 editor come up with its own if it can. 1306 Corresponds to 1307 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1308 <flag name="actionUnspecified" value="0x00000000" /> 1309 <!-- This editor has no action associated with it. 1310 Corresponds to 1311 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1312 <flag name="actionNone" value="0x00000001" /> 1313 <!-- The action key performs a "go" 1314 operation to take the user to the target of the text they typed. 1315 Typically used, for example, when entering a URL. 1316 Corresponds to 1317 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1318 <flag name="actionGo" value="0x00000002" /> 1319 <!-- The action key performs a "search" 1320 operation, taking the user to the results of searching for the text 1321 the have typed (in whatever context is appropriate). 1322 Corresponds to 1323 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1324 <flag name="actionSearch" value="0x00000003" /> 1325 <!-- The action key performs a "send" 1326 operation, delivering the text to its target. This is typically used 1327 when composing a message. 1328 Corresponds to 1329 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1330 <flag name="actionSend" value="0x00000004" /> 1331 <!-- The action key performs a "next" 1332 operation, taking the user to the next field that will accept text. 1333 Corresponds to 1334 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1335 <flag name="actionNext" value="0x00000005" /> 1336 <!-- The action key performs a "done" 1337 operation, closing the soft input method. 1338 Corresponds to 1339 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1340 <flag name="actionDone" value="0x00000006" /> 1341 <!-- The action key performs a "previous" 1342 operation, taking the user to the previous field that will accept text. 1343 Corresponds to 1344 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1345 <flag name="actionPrevious" value="0x00000007" /> 1346 <!-- Used to request that the IME never go 1347 into fullscreen mode. Applications need to be aware that the flag is not 1348 a guarantee, and not all IMEs will respect it. 1349 <p>Corresponds to 1350 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1351 <flag name="flagNoFullscreen" value="0x2000000" /> 1352 <!-- Like flagNavigateNext, but 1353 specifies there is something interesting that a backward navigation 1354 can focus on. If the user selects the IME's facility to backward 1355 navigate, this will show up in the application as an actionPrevious 1356 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1357 InputConnection.performEditorAction(int)}. 1358 <p>Corresponds to 1359 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1360 <flag name="flagNavigatePrevious" value="0x4000000" /> 1361 <!-- Used to specify that there is something 1362 interesting that a forward navigation can focus on. This is like using 1363 actionNext, except allows the IME to be multiline (with 1364 an enter key) as well as provide forward navigation. Note that some 1365 IMEs may not be able to do this, especially when running on a small 1366 screen where there is little space. In that case it does not need to 1367 present a UI for this option. Like actionNext, if the 1368 user selects the IME's facility to forward navigate, this will show up 1369 in the application at 1370 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1371 InputConnection.performEditorAction(int)}. 1372 <p>Corresponds to 1373 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1374 <flag name="flagNavigateNext" value="0x8000000" /> 1375 <!-- Used to specify that the IME does not need 1376 to show its extracted text UI. For input methods that may be fullscreen, 1377 often when in landscape mode, this allows them to be smaller and let part 1378 of the application be shown behind. Though there will likely be limited 1379 access to the application available from the user, it can make the 1380 experience of a (mostly) fullscreen IME less jarring. Note that when 1381 this flag is specified the IME may <em>not</em> be set up to be able 1382 to display text, so it should only be used in situations where this is 1383 not needed. 1384 <p>Corresponds to 1385 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1386 <flag name="flagNoExtractUi" value="0x10000000" /> 1387 <!-- Used in conjunction with a custom action, this indicates that the 1388 action should not be available as an accessory button when the 1389 input method is full-screen. 1390 Note that by setting this flag, there can be cases where the action 1391 is simply never available to the user. Setting this generally means 1392 that you think showing text being edited is more important than the 1393 action you have supplied. 1394 <p>Corresponds to 1395 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1396 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1397 <!-- Used in conjunction with a custom action, 1398 this indicates that the action should not be available in-line as 1399 a replacement for the "enter" key. Typically this is 1400 because the action has such a significant impact or is not recoverable 1401 enough that accidentally hitting it should be avoided, such as sending 1402 a message. Note that {@link android.widget.TextView} will 1403 automatically set this flag for you on multi-line text views. 1404 <p>Corresponds to 1405 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1406 <flag name="flagNoEnterAction" value="0x40000000" /> 1407 <!-- Used to request that the IME should be capable of inputting ASCII 1408 characters. The intention of this flag is to ensure that the user 1409 can type Roman alphabet characters in a {@link android.widget.TextView} 1410 used for, typically, account ID or password input. It is expected that IMEs 1411 normally are able to input ASCII even without being told so (such IMEs 1412 already respect this flag in a sense), but there could be some cases they 1413 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1414 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1415 aware that the flag is not a guarantee, and not all IMEs will respect it. 1416 However, it is strongly recommended for IME authors to respect this flag 1417 especially when their IME could end up with a state that has only non-ASCII 1418 input languages enabled. 1419 <p>Corresponds to 1420 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1421 <flag name="flagForceAscii" value="0x80000000" /> 1422 </attr> 1423 1424 <!-- A coordinate in the X dimension. --> 1425 <attr name="x" format="dimension" /> 1426 <!-- A coordinate in the Y dimension. --> 1427 <attr name="y" format="dimension" /> 1428 1429 <!-- Specifies how an object should position its content, on both the X and Y axes, 1430 within its own bounds. --> 1431 <attr name="gravity"> 1432 <!-- Push object to the top of its container, not changing its size. --> 1433 <flag name="top" value="0x30" /> 1434 <!-- Push object to the bottom of its container, not changing its size. --> 1435 <flag name="bottom" value="0x50" /> 1436 <!-- Push object to the left of its container, not changing its size. --> 1437 <flag name="left" value="0x03" /> 1438 <!-- Push object to the right of its container, not changing its size. --> 1439 <flag name="right" value="0x05" /> 1440 <!-- Place object in the vertical center of its container, not changing its size. --> 1441 <flag name="center_vertical" value="0x10" /> 1442 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1443 <flag name="fill_vertical" value="0x70" /> 1444 <!-- Place object in the horizontal center of its container, not changing its size. --> 1445 <flag name="center_horizontal" value="0x01" /> 1446 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1447 <flag name="fill_horizontal" value="0x07" /> 1448 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1449 <flag name="center" value="0x11" /> 1450 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1451 <flag name="fill" value="0x77" /> 1452 <!-- Additional option that can be set to have the top and/or bottom edges of 1453 the child clipped to its container's bounds. 1454 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1455 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1456 <flag name="clip_vertical" value="0x80" /> 1457 <!-- Additional option that can be set to have the left and/or right edges of 1458 the child clipped to its container's bounds. 1459 The clip will be based on the horizontal gravity: a left gravity will clip the right 1460 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1461 <flag name="clip_horizontal" value="0x08" /> 1462 <!-- Push object to the beginning of its container, not changing its size. --> 1463 <flag name="start" value="0x00800003" /> 1464 <!-- Push object to the end of its container, not changing its size. --> 1465 <flag name="end" value="0x00800005" /> 1466 </attr> 1467 1468 <!-- Controls whether links such as urls and email addresses are 1469 automatically found and converted to clickable links. The default 1470 value is "none", disabling this feature. --> 1471 <attr name="autoLink"> 1472 <!-- Match no patterns (default). --> 1473 <flag name="none" value="0x00" /> 1474 <!-- Match Web URLs. --> 1475 <flag name="web" value="0x01" /> 1476 <!-- Match email addresses. --> 1477 <flag name="email" value="0x02" /> 1478 <!-- Match phone numbers. --> 1479 <flag name="phone" value="0x04" /> 1480 <!-- Match map addresses. --> 1481 <flag name="map" value="0x08" /> 1482 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1483 <flag name="all" value="0x0f" /> 1484 </attr> 1485 1486 <!-- Reference to an array resource that will populate a list/adapter. --> 1487 <attr name="entries" format="reference" /> 1488 1489 <!-- Standard gravity constant that a child supplies to its parent. 1490 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1491 <attr name="layout_gravity"> 1492 <!-- Push object to the top of its container, not changing its size. --> 1493 <flag name="top" value="0x30" /> 1494 <!-- Push object to the bottom of its container, not changing its size. --> 1495 <flag name="bottom" value="0x50" /> 1496 <!-- Push object to the left of its container, not changing its size. --> 1497 <flag name="left" value="0x03" /> 1498 <!-- Push object to the right of its container, not changing its size. --> 1499 <flag name="right" value="0x05" /> 1500 <!-- Place object in the vertical center of its container, not changing its size. --> 1501 <flag name="center_vertical" value="0x10" /> 1502 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1503 <flag name="fill_vertical" value="0x70" /> 1504 <!-- Place object in the horizontal center of its container, not changing its size. --> 1505 <flag name="center_horizontal" value="0x01" /> 1506 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1507 <flag name="fill_horizontal" value="0x07" /> 1508 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1509 <flag name="center" value="0x11" /> 1510 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1511 <flag name="fill" value="0x77" /> 1512 <!-- Additional option that can be set to have the top and/or bottom edges of 1513 the child clipped to its container's bounds. 1514 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1515 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1516 <flag name="clip_vertical" value="0x80" /> 1517 <!-- Additional option that can be set to have the left and/or right edges of 1518 the child clipped to its container's bounds. 1519 The clip will be based on the horizontal gravity: a left gravity will clip the right 1520 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1521 <flag name="clip_horizontal" value="0x08" /> 1522 <!-- Push object to the beginning of its container, not changing its size. --> 1523 <flag name="start" value="0x00800003" /> 1524 <!-- Push object to the end of its container, not changing its size. --> 1525 <flag name="end" value="0x00800005" /> 1526 </attr> 1527 1528 <!-- Standard orientation constant. --> 1529 <attr name="orientation"> 1530 <!-- Defines an horizontal widget. --> 1531 <enum name="horizontal" value="0" /> 1532 <!-- Defines a vertical widget. --> 1533 <enum name="vertical" value="1" /> 1534 </attr> 1535 1536 <!-- Alignment constants. --> 1537 <attr name="alignmentMode"> 1538 <!-- Align the bounds of the children. 1539 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1540 <enum name="alignBounds" value="0" /> 1541 <!-- Align the margins of the children. 1542 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1543 <enum name="alignMargins" value="1" /> 1544 </attr> 1545 1546 <!-- ========================== --> 1547 <!-- Key Codes --> 1548 <!-- ========================== --> 1549 <eat-comment /> 1550 1551 <!-- This enum provides the same keycode values as can be found in 1552 {@link android.view.KeyEvent}. --> 1553 <attr name="keycode"> 1554 <enum name="KEYCODE_UNKNOWN" value="0" /> 1555 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1556 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1557 <enum name="KEYCODE_HOME" value="3" /> 1558 <enum name="KEYCODE_BACK" value="4" /> 1559 <enum name="KEYCODE_CALL" value="5" /> 1560 <enum name="KEYCODE_ENDCALL" value="6" /> 1561 <enum name="KEYCODE_0" value="7" /> 1562 <enum name="KEYCODE_1" value="8" /> 1563 <enum name="KEYCODE_2" value="9" /> 1564 <enum name="KEYCODE_3" value="10" /> 1565 <enum name="KEYCODE_4" value="11" /> 1566 <enum name="KEYCODE_5" value="12" /> 1567 <enum name="KEYCODE_6" value="13" /> 1568 <enum name="KEYCODE_7" value="14" /> 1569 <enum name="KEYCODE_8" value="15" /> 1570 <enum name="KEYCODE_9" value="16" /> 1571 <enum name="KEYCODE_STAR" value="17" /> 1572 <enum name="KEYCODE_POUND" value="18" /> 1573 <enum name="KEYCODE_DPAD_UP" value="19" /> 1574 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1575 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1576 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1577 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1578 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1579 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1580 <enum name="KEYCODE_POWER" value="26" /> 1581 <enum name="KEYCODE_CAMERA" value="27" /> 1582 <enum name="KEYCODE_CLEAR" value="28" /> 1583 <enum name="KEYCODE_A" value="29" /> 1584 <enum name="KEYCODE_B" value="30" /> 1585 <enum name="KEYCODE_C" value="31" /> 1586 <enum name="KEYCODE_D" value="32" /> 1587 <enum name="KEYCODE_E" value="33" /> 1588 <enum name="KEYCODE_F" value="34" /> 1589 <enum name="KEYCODE_G" value="35" /> 1590 <enum name="KEYCODE_H" value="36" /> 1591 <enum name="KEYCODE_I" value="37" /> 1592 <enum name="KEYCODE_J" value="38" /> 1593 <enum name="KEYCODE_K" value="39" /> 1594 <enum name="KEYCODE_L" value="40" /> 1595 <enum name="KEYCODE_M" value="41" /> 1596 <enum name="KEYCODE_N" value="42" /> 1597 <enum name="KEYCODE_O" value="43" /> 1598 <enum name="KEYCODE_P" value="44" /> 1599 <enum name="KEYCODE_Q" value="45" /> 1600 <enum name="KEYCODE_R" value="46" /> 1601 <enum name="KEYCODE_S" value="47" /> 1602 <enum name="KEYCODE_T" value="48" /> 1603 <enum name="KEYCODE_U" value="49" /> 1604 <enum name="KEYCODE_V" value="50" /> 1605 <enum name="KEYCODE_W" value="51" /> 1606 <enum name="KEYCODE_X" value="52" /> 1607 <enum name="KEYCODE_Y" value="53" /> 1608 <enum name="KEYCODE_Z" value="54" /> 1609 <enum name="KEYCODE_COMMA" value="55" /> 1610 <enum name="KEYCODE_PERIOD" value="56" /> 1611 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1612 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1613 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1614 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1615 <enum name="KEYCODE_TAB" value="61" /> 1616 <enum name="KEYCODE_SPACE" value="62" /> 1617 <enum name="KEYCODE_SYM" value="63" /> 1618 <enum name="KEYCODE_EXPLORER" value="64" /> 1619 <enum name="KEYCODE_ENVELOPE" value="65" /> 1620 <enum name="KEYCODE_ENTER" value="66" /> 1621 <enum name="KEYCODE_DEL" value="67" /> 1622 <enum name="KEYCODE_GRAVE" value="68" /> 1623 <enum name="KEYCODE_MINUS" value="69" /> 1624 <enum name="KEYCODE_EQUALS" value="70" /> 1625 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1626 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1627 <enum name="KEYCODE_BACKSLASH" value="73" /> 1628 <enum name="KEYCODE_SEMICOLON" value="74" /> 1629 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1630 <enum name="KEYCODE_SLASH" value="76" /> 1631 <enum name="KEYCODE_AT" value="77" /> 1632 <enum name="KEYCODE_NUM" value="78" /> 1633 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1634 <enum name="KEYCODE_FOCUS" value="80" /> 1635 <enum name="KEYCODE_PLUS" value="81" /> 1636 <enum name="KEYCODE_MENU" value="82" /> 1637 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1638 <enum name="KEYCODE_SEARCH" value="84" /> 1639 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1640 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1641 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1642 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1643 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1644 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1645 <enum name="KEYCODE_MUTE" value="91" /> 1646 <enum name="KEYCODE_PAGE_UP" value="92" /> 1647 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1648 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1649 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1650 <enum name="KEYCODE_BUTTON_A" value="96" /> 1651 <enum name="KEYCODE_BUTTON_B" value="97" /> 1652 <enum name="KEYCODE_BUTTON_C" value="98" /> 1653 <enum name="KEYCODE_BUTTON_X" value="99" /> 1654 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1655 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1656 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1657 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1658 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1659 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1660 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1661 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1662 <enum name="KEYCODE_BUTTON_START" value="108" /> 1663 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1664 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1665 <enum name="KEYCODE_ESCAPE" value="111" /> 1666 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1667 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1668 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1669 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1670 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1671 <enum name="KEYCODE_META_LEFT" value="117" /> 1672 <enum name="KEYCODE_META_RIGHT" value="118" /> 1673 <enum name="KEYCODE_FUNCTION" value="119" /> 1674 <enum name="KEYCODE_SYSRQ" value="120" /> 1675 <enum name="KEYCODE_BREAK" value="121" /> 1676 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1677 <enum name="KEYCODE_MOVE_END" value="123" /> 1678 <enum name="KEYCODE_INSERT" value="124" /> 1679 <enum name="KEYCODE_FORWARD" value="125" /> 1680 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1681 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1682 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1683 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1684 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1685 <enum name="KEYCODE_F1" value="131" /> 1686 <enum name="KEYCODE_F2" value="132" /> 1687 <enum name="KEYCODE_F3" value="133" /> 1688 <enum name="KEYCODE_F4" value="134" /> 1689 <enum name="KEYCODE_F5" value="135" /> 1690 <enum name="KEYCODE_F6" value="136" /> 1691 <enum name="KEYCODE_F7" value="137" /> 1692 <enum name="KEYCODE_F8" value="138" /> 1693 <enum name="KEYCODE_F9" value="139" /> 1694 <enum name="KEYCODE_F10" value="140" /> 1695 <enum name="KEYCODE_F11" value="141" /> 1696 <enum name="KEYCODE_F12" value="142" /> 1697 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1698 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1699 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1700 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1701 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1702 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1703 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1704 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1705 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1706 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1707 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1708 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1709 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1710 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1711 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1712 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1713 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1714 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1715 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1716 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1717 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1718 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1719 <enum name="KEYCODE_INFO" value="165" /> 1720 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1721 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1722 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1723 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1724 <enum name="KEYCODE_TV" value="170" /> 1725 <enum name="KEYCODE_WINDOW" value="171" /> 1726 <enum name="KEYCODE_GUIDE" value="172" /> 1727 <enum name="KEYCODE_DVR" value="173" /> 1728 <enum name="KEYCODE_BOOKMARK" value="174" /> 1729 <enum name="KEYCODE_CAPTIONS" value="175" /> 1730 <enum name="KEYCODE_SETTINGS" value="176" /> 1731 <enum name="KEYCODE_TV_POWER" value="177" /> 1732 <enum name="KEYCODE_TV_INPUT" value="178" /> 1733 <enum name="KEYCODE_STB_POWER" value="179" /> 1734 <enum name="KEYCODE_STB_INPUT" value="180" /> 1735 <enum name="KEYCODE_AVR_POWER" value="181" /> 1736 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1737 <enum name="KEYCODE_PROG_GRED" value="183" /> 1738 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1739 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1740 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1741 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1742 <enum name="KEYCODE_BUTTON_1" value="188" /> 1743 <enum name="KEYCODE_BUTTON_2" value="189" /> 1744 <enum name="KEYCODE_BUTTON_3" value="190" /> 1745 <enum name="KEYCODE_BUTTON_4" value="191" /> 1746 <enum name="KEYCODE_BUTTON_5" value="192" /> 1747 <enum name="KEYCODE_BUTTON_6" value="193" /> 1748 <enum name="KEYCODE_BUTTON_7" value="194" /> 1749 <enum name="KEYCODE_BUTTON_8" value="195" /> 1750 <enum name="KEYCODE_BUTTON_9" value="196" /> 1751 <enum name="KEYCODE_BUTTON_10" value="197" /> 1752 <enum name="KEYCODE_BUTTON_11" value="198" /> 1753 <enum name="KEYCODE_BUTTON_12" value="199" /> 1754 <enum name="KEYCODE_BUTTON_13" value="200" /> 1755 <enum name="KEYCODE_BUTTON_14" value="201" /> 1756 <enum name="KEYCODE_BUTTON_15" value="202" /> 1757 <enum name="KEYCODE_BUTTON_16" value="203" /> 1758 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1759 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1760 <enum name="KEYCODE_3D_MODE" value="206" /> 1761 <enum name="KEYCODE_CONTACTS" value="207" /> 1762 <enum name="KEYCODE_CALENDAR" value="208" /> 1763 <enum name="KEYCODE_MUSIC" value="209" /> 1764 <enum name="KEYCODE_CALCULATOR" value="210" /> 1765 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1766 <enum name="KEYCODE_EISU" value="212" /> 1767 <enum name="KEYCODE_MUHENKAN" value="213" /> 1768 <enum name="KEYCODE_HENKAN" value="214" /> 1769 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1770 <enum name="KEYCODE_YEN" value="216" /> 1771 <enum name="KEYCODE_RO" value="217" /> 1772 <enum name="KEYCODE_KANA" value="218" /> 1773 <enum name="KEYCODE_ASSIST" value="219" /> 1774 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1775 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1776 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1777 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1778 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1779 <enum name="KEYCODE_PAIRING" value="225" /> 1780 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1781 <enum name="KEYCODE_11" value="227" /> 1782 <enum name="KEYCODE_12" value="228" /> 1783 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1784 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1785 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1786 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1787 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1788 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1789 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1790 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1791 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1792 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1793 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1794 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1795 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1796 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1797 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1798 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1799 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1800 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1801 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1802 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1803 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1804 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1805 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1806 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1807 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1808 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1809 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1810 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1811 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1812 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1813 <enum name="KEYCODE_HELP" value="259" /> 1814 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1815 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1816 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1817 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1818 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1819 <enum name="KEYCODE_STEM_1" value="265" /> 1820 <enum name="KEYCODE_STEM_2" value="266" /> 1821 <enum name="KEYCODE_STEM_3" value="267" /> 1822 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1823 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1824 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1825 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1826 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1827 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1828 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1829 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1830 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1831 <enum name="KEYCODE_CUT" value="277" /> 1832 <enum name="KEYCODE_COPY" value="278" /> 1833 <enum name="KEYCODE_PASTE" value="279" /> 1834 </attr> 1835 1836 <!-- ***************************************************************** --> 1837 <!-- These define collections of attributes that can are with classes. --> 1838 <!-- ***************************************************************** --> 1839 1840 <!-- ========================== --> 1841 <!-- Special attribute classes. --> 1842 <!-- ========================== --> 1843 <eat-comment /> 1844 1845 <!-- The set of attributes that describe a Windows's theme. --> 1846 <declare-styleable name="Window"> 1847 <attr name="windowBackground" /> 1848 <attr name="windowBackgroundFallback" /> 1849 <attr name="windowContentOverlay" /> 1850 <attr name="windowFrame" /> 1851 <attr name="windowNoTitle" /> 1852 <attr name="windowFullscreen" /> 1853 <attr name="windowOverscan" /> 1854 <attr name="windowIsFloating" /> 1855 <attr name="windowIsTranslucent" /> 1856 <attr name="windowShowWallpaper" /> 1857 <attr name="windowAnimationStyle" /> 1858 <attr name="windowSoftInputMode" /> 1859 <attr name="windowDisablePreview" /> 1860 <attr name="windowNoDisplay" /> 1861 <attr name="textColor" /> 1862 <attr name="backgroundDimEnabled" /> 1863 <attr name="backgroundDimAmount" /> 1864 <attr name="windowActionBar" /> 1865 <attr name="windowActionModeOverlay" /> 1866 <attr name="windowActionBarOverlay" /> 1867 <attr name="windowEnableSplitTouch" /> 1868 <attr name="windowCloseOnTouchOutside" /> 1869 <attr name="windowTranslucentStatus" /> 1870 <attr name="windowTranslucentNavigation" /> 1871 <attr name="windowSwipeToDismiss" /> 1872 <attr name="windowContentTransitions" /> 1873 <attr name="windowActivityTransitions" /> 1874 <attr name="windowContentTransitionManager" /> 1875 <attr name="windowActionBarFullscreenDecorLayout" /> 1876 1877 <!-- The minimum width the window is allowed to be, along the major 1878 axis of the screen. That is, when in landscape. Can be either 1879 an absolute dimension or a fraction of the screen size in that 1880 dimension. --> 1881 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1882 <!-- The minimum width the window is allowed to be, along the minor 1883 axis of the screen. That is, when in portrait. Can be either 1884 an absolute dimension or a fraction of the screen size in that 1885 dimension. --> 1886 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1887 1888 <!-- A fixed width for the window along the major axis of the screen, 1889 that is, when in landscape. Can be either an absolute dimension 1890 or a fraction of the screen size in that dimension. --> 1891 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1892 <!-- A fixed height for the window along the minor axis of the screen, 1893 that is, when in landscape. Can be either an absolute dimension 1894 or a fraction of the screen size in that dimension. --> 1895 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1896 1897 <!-- A fixed width for the window along the minor axis of the screen, 1898 that is, when in portrait. Can be either an absolute dimension 1899 or a fraction of the screen size in that dimension. --> 1900 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1901 <!-- A fixed height for the window along the major axis of the screen, 1902 that is, when in portrait. Can be either an absolute dimension 1903 or a fraction of the screen size in that dimension. --> 1904 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1905 <attr name="windowOutsetBottom" format="dimension" /> 1906 <!-- Reference to a Transition XML resource defining the desired Transition 1907 used to move Views into the initial Window's content Scene. Corresponds to 1908 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1909 <attr name="windowEnterTransition"/> 1910 1911 <!-- Reference to a Transition XML resource defining the desired Transition 1912 used to move Views out of the scene when the Window is 1913 preparing to close. Corresponds to 1914 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1915 <attr name="windowReturnTransition"/> 1916 1917 <!-- Reference to a Transition XML resource defining the desired Transition 1918 used to move Views out of the Window's content Scene when launching a new Activity. 1919 Corresponds to 1920 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1921 <attr name="windowExitTransition"/> 1922 1923 <!-- Reference to a Transition XML resource defining the desired Transition 1924 used to move Views in to the scene when returning from a previously-started Activity. 1925 Corresponds to 1926 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1927 <attr name="windowReenterTransition"/> 1928 1929 <!-- Reference to a Transition XML resource defining the desired Transition 1930 used to move shared elements transferred into the Window's initial content Scene. 1931 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1932 android.transition.Transition)}. --> 1933 <attr name="windowSharedElementEnterTransition"/> 1934 1935 <!-- Reference to a Transition XML resource defining the desired Transition 1936 used to move shared elements transferred back to a calling Activity. 1937 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 1938 android.transition.Transition)}. --> 1939 <attr name="windowSharedElementReturnTransition"/> 1940 1941 <!-- Reference to a Transition XML resource defining the desired Transition 1942 used when starting a new Activity to move shared elements prior to transferring 1943 to the called Activity. 1944 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 1945 android.transition.Transition)}. --> 1946 <attr name="windowSharedElementExitTransition"/> 1947 1948 <!-- Reference to a Transition XML resource defining the desired Transition 1949 used for shared elements transferred back to a calling Activity. 1950 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 1951 android.transition.Transition)}. --> 1952 <attr name="windowSharedElementReenterTransition"/> 1953 1954 1955 <!-- Flag indicating whether this Window's transition should overlap with 1956 the exiting transition of the calling Activity. Corresponds to 1957 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 1958 <attr name="windowAllowEnterTransitionOverlap"/> 1959 1960 <!-- Flag indicating whether this Window's transition should overlap with 1961 the exiting transition of the called Activity when the called Activity 1962 finishes. Corresponds to 1963 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 1964 <attr name="windowAllowReturnTransitionOverlap"/> 1965 1966 <!-- Indicates whether or not shared elements should use an overlay 1967 during transitions. The default value is true. --> 1968 <attr name="windowSharedElementsUseOverlay"/> 1969 1970 <!-- Flag indicating whether this Window is responsible for drawing the background for the 1971 system bars. If true and the window is not floating, the system bars are drawn with a 1972 transparent background and the corresponding areas in this window are filled with the 1973 colors specified in {@link android.R.attr#statusBarColor} and 1974 {@link android.R.attr#navigationBarColor}. Corresponds to 1975 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 1976 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 1977 1978 <!-- The color for the status bar. If the color is not opaque, consider setting 1979 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1980 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 1981 For this to take effect, the window must be drawing the system bar backgrounds with 1982 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 1983 have been requested to be translucent with 1984 {@link android.R.attr#windowTranslucentStatus}. 1985 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 1986 <attr name="statusBarColor" format="color" /> 1987 1988 <!-- The color for the navigation bar. If the color is not opaque, consider setting 1989 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1990 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 1991 For this to take effect, the window must be drawing the system bar backgrounds with 1992 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 1993 have been requested to be translucent with 1994 {@link android.R.attr#windowTranslucentNavigation}. 1995 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 1996 <attr name="navigationBarColor" format="color" /> 1997 1998 <!-- The duration, in milliseconds, of the window background fade duration 1999 when transitioning into or away from an Activity when called with an 2000 Activity Transition. Corresponds to 2001 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2002 <attr name="windowTransitionBackgroundFadeDuration" /> 2003 2004 <!-- Elevation to use for the window. --> 2005 <attr name="windowElevation" format="dimension" /> 2006 2007 <!-- Whether to clip window content to the outline of the window background. --> 2008 <attr name="windowClipToOutline" format="boolean" /> 2009 2010 <!-- If set, the status bar will be drawn such that it is compatible with a light 2011 status bar background. 2012 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2013 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2014 have been requested to be translucent with 2015 {@link android.R.attr#windowTranslucentStatus}. 2016 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2017 the decor view. --> 2018 <attr name="windowLightStatusBar" format="boolean" /> 2019 </declare-styleable> 2020 2021 <!-- The set of attributes that describe a AlertDialog's theme. --> 2022 <declare-styleable name="AlertDialog"> 2023 <attr name="fullDark" format="reference|color" /> 2024 <attr name="topDark" format="reference|color" /> 2025 <attr name="centerDark" format="reference|color" /> 2026 <attr name="bottomDark" format="reference|color" /> 2027 <attr name="fullBright" format="reference|color" /> 2028 <attr name="topBright" format="reference|color" /> 2029 <attr name="centerBright" format="reference|color" /> 2030 <attr name="bottomBright" format="reference|color" /> 2031 <attr name="bottomMedium" format="reference|color" /> 2032 <attr name="centerMedium" format="reference|color" /> 2033 <attr name="layout" /> 2034 <attr name="buttonPanelSideLayout" format="reference" /> 2035 <attr name="listLayout" format="reference" /> 2036 <attr name="multiChoiceItemLayout" format="reference" /> 2037 <attr name="singleChoiceItemLayout" format="reference" /> 2038 <attr name="listItemLayout" format="reference" /> 2039 <attr name="progressLayout" format="reference" /> 2040 <attr name="horizontalProgressLayout" format="reference" /> 2041 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2042 <attr name="needsDefaultBackgrounds" format="boolean" /> 2043 </declare-styleable> 2044 2045 <!-- @hide --> 2046 <declare-styleable name="ButtonBarLayout"> 2047 <!-- Whether to automatically stack the buttons when there is not 2048 enough space to lay them out side-by-side. --> 2049 <attr name="allowStacking" format="boolean" /> 2050 </declare-styleable> 2051 2052 <!-- Fragment animation class attributes. --> 2053 <declare-styleable name="FragmentAnimation"> 2054 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2055 <attr name="fragmentOpenExitAnimation" format="reference" /> 2056 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2057 <attr name="fragmentCloseExitAnimation" format="reference" /> 2058 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2059 <attr name="fragmentFadeExitAnimation" format="reference" /> 2060 </declare-styleable> 2061 2062 <!-- Window animation class attributes. --> 2063 <declare-styleable name="WindowAnimation"> 2064 <!-- The animation used when a window is being added. --> 2065 <attr name="windowEnterAnimation" format="reference" /> 2066 <!-- The animation used when a window is being removed. --> 2067 <attr name="windowExitAnimation" format="reference" /> 2068 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2069 <attr name="windowShowAnimation" format="reference" /> 2070 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2071 <attr name="windowHideAnimation" format="reference" /> 2072 2073 <!-- When opening a new activity, this is the animation that is 2074 run on the next activity (which is entering the screen). --> 2075 <attr name="activityOpenEnterAnimation" format="reference" /> 2076 <!-- When opening a new activity, this is the animation that is 2077 run on the previous activity (which is exiting the screen). --> 2078 <attr name="activityOpenExitAnimation" format="reference" /> 2079 <!-- When closing the current activity, this is the animation that is 2080 run on the next activity (which is entering the screen). --> 2081 <attr name="activityCloseEnterAnimation" format="reference" /> 2082 <!-- When closing the current activity, this is the animation that is 2083 run on the current activity (which is exiting the screen). --> 2084 <attr name="activityCloseExitAnimation" format="reference" /> 2085 <!-- When opening an activity in a new task, this is the animation that is 2086 run on the activity of the new task (which is entering the screen). --> 2087 <attr name="taskOpenEnterAnimation" format="reference" /> 2088 <!-- When opening an activity in a new task, this is the animation that is 2089 run on the activity of the old task (which is exiting the screen). --> 2090 <attr name="taskOpenExitAnimation" format="reference" /> 2091 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2092 this is the animation that is run on the activity of the new task (which is 2093 entering the screen and then leaving). --> 2094 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2095 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2096 this is the animation that is run on the activity of the old task (which is 2097 already on the screen and then stays on). --> 2098 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2099 <!-- When closing the last activity of a task, this is the animation that is 2100 run on the activity of the next task (which is entering the screen). --> 2101 <attr name="taskCloseEnterAnimation" format="reference" /> 2102 <!-- When opening an activity in a new task, this is the animation that is 2103 run on the activity of the old task (which is exiting the screen). --> 2104 <attr name="taskCloseExitAnimation" format="reference" /> 2105 <!-- When bringing an existing task to the foreground, this is the 2106 animation that is run on the top activity of the task being brought 2107 to the foreground (which is entering the screen). --> 2108 <attr name="taskToFrontEnterAnimation" format="reference" /> 2109 <!-- When bringing an existing task to the foreground, this is the 2110 animation that is run on the current foreground activity 2111 (which is exiting the screen). --> 2112 <attr name="taskToFrontExitAnimation" format="reference" /> 2113 <!-- When sending the current task to the background, this is the 2114 animation that is run on the top activity of the task behind 2115 it (which is entering the screen). --> 2116 <attr name="taskToBackEnterAnimation" format="reference" /> 2117 <!-- When sending the current task to the background, this is the 2118 animation that is run on the top activity of the current task 2119 (which is exiting the screen). --> 2120 <attr name="taskToBackExitAnimation" format="reference" /> 2121 2122 <!-- When opening a new activity that shows the wallpaper, while 2123 currently not showing the wallpaper, this is the animation that 2124 is run on the new wallpaper activity (which is entering the screen). --> 2125 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2126 <!-- When opening a new activity that shows the wallpaper, while 2127 currently not showing the wallpaper, this is the animation that 2128 is run on the current activity (which is exiting the screen). --> 2129 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2130 <!-- When opening a new activity that hides the wallpaper, while 2131 currently showing the wallpaper, this is the animation that 2132 is run on the new activity (which is entering the screen). --> 2133 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2134 <!-- When opening a new activity that hides the wallpaper, while 2135 currently showing the wallpaper, this is the animation that 2136 is run on the old wallpaper activity (which is exiting the screen). --> 2137 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2138 2139 <!-- When opening a new activity that is on top of the wallpaper 2140 when the current activity is also on top of the wallpaper, 2141 this is the animation that is run on the new activity 2142 (which is entering the screen). The wallpaper remains 2143 static behind the animation. --> 2144 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2145 <!-- When opening a new activity that is on top of the wallpaper 2146 when the current activity is also on top of the wallpaper, 2147 this is the animation that is run on the current activity 2148 (which is exiting the screen). The wallpaper remains 2149 static behind the animation. --> 2150 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2151 <!-- When closing a foreround activity that is on top of the wallpaper 2152 when the previous activity is also on top of the wallpaper, 2153 this is the animation that is run on the previous activity 2154 (which is entering the screen). The wallpaper remains 2155 static behind the animation. --> 2156 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2157 <!-- When closing a foreround activity that is on top of the wallpaper 2158 when the previous activity is also on top of the wallpaper, 2159 this is the animation that is run on the current activity 2160 (which is exiting the screen). The wallpaper remains 2161 static behind the animation. --> 2162 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2163 2164 <!-- When opening a new activity from a RemoteViews, this is the 2165 animation that is run on the next activity (which is entering the 2166 screen). Requires config_overrideRemoteViewsActivityTransition to 2167 be true. --> 2168 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2169 2170 </declare-styleable> 2171 2172 <!-- ============================= --> 2173 <!-- View package class attributes --> 2174 <!-- ============================= --> 2175 <eat-comment /> 2176 2177 <!-- Attributes that can be used with {@link android.view.View} or 2178 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2179 attributes that are processed by the view's parent. --> 2180 <declare-styleable name="View"> 2181 <!-- Supply an identifier name for this view, to later retrieve it 2182 with {@link android.view.View#findViewById View.findViewById()} or 2183 {@link android.app.Activity#findViewById Activity.findViewById()}. 2184 This must be a 2185 resource reference; typically you set this using the 2186 <code>@+</code> syntax to create a new ID resources. 2187 For example: <code>android:id="@+id/my_id"</code> which 2188 allows you to later retrieve the view 2189 with <code>findViewById(R.id.my_id)</code>. --> 2190 <attr name="id" format="reference" /> 2191 2192 <!-- Supply a tag for this view containing a String, to be retrieved 2193 later with {@link android.view.View#getTag View.getTag()} or 2194 searched for with {@link android.view.View#findViewWithTag 2195 View.findViewWithTag()}. It is generally preferable to use 2196 IDs (through the android:id attribute) instead of tags because 2197 they are faster and allow for compile-time type checking. --> 2198 <attr name="tag" format="string" /> 2199 2200 <!-- The initial horizontal scroll offset, in pixels.--> 2201 <attr name="scrollX" format="dimension" /> 2202 2203 <!-- The initial vertical scroll offset, in pixels. --> 2204 <attr name="scrollY" format="dimension" /> 2205 2206 <!-- A drawable to use as the background. This can be either a reference 2207 to a full drawable resource (such as a PNG image, 9-patch, 2208 XML state list description, etc), or a solid color such as "#ff000000" 2209 (black). --> 2210 <attr name="background" format="reference|color" /> 2211 2212 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2213 space between the edges of the view and the view's content. A views size 2214 will include it's padding. If a {@link android.R.attr#background} 2215 is provided, the padding will initially be set to that (0 if the 2216 drawable does not have padding). Explicitly setting a padding value 2217 will override the corresponding padding found in the background. --> 2218 <attr name="padding" format="dimension" /> 2219 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2220 <attr name="paddingLeft" format="dimension" /> 2221 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2222 <attr name="paddingTop" format="dimension" /> 2223 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2224 <attr name="paddingRight" format="dimension" /> 2225 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2226 <attr name="paddingBottom" format="dimension" /> 2227 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2228 <attr name="paddingStart" format="dimension" /> 2229 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2230 <attr name="paddingEnd" format="dimension" /> 2231 2232 <!-- Boolean that controls whether a view can take focus. By default the user can not 2233 move focus to a view; by setting this attribute to true the view is 2234 allowed to take focus. This value does not impact the behavior of 2235 directly calling {@link android.view.View#requestFocus}, which will 2236 always request focus regardless of this view. It only impacts where 2237 focus navigation will try to move focus. --> 2238 <attr name="focusable" format="boolean" /> 2239 2240 <!-- Boolean that controls whether a view can take focus while in touch mode. 2241 If this is true for a view, that view can gain focus when clicked on, and can keep 2242 focus if another view is clicked on that doesn't have this attribute set to true. --> 2243 <attr name="focusableInTouchMode" format="boolean" /> 2244 2245 <!-- Controls the initial visibility of the view. --> 2246 <attr name="visibility"> 2247 <!-- Visible on screen; the default value. --> 2248 <enum name="visible" value="0" /> 2249 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2250 <enum name="invisible" value="1" /> 2251 <!-- Completely hidden, as if the view had not been added. --> 2252 <enum name="gone" value="2" /> 2253 </attr> 2254 2255 <!-- Boolean internal attribute to adjust view layout based on 2256 system windows such as the status bar. 2257 If true, adjusts the padding of this view to leave space for the system windows. 2258 Will only take effect if this view is in a non-embedded activity. --> 2259 <attr name="fitsSystemWindows" format="boolean" /> 2260 2261 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2262 <attr name="scrollbars"> 2263 <!-- No scrollbar is displayed. --> 2264 <flag name="none" value="0x00000000" /> 2265 <!-- Displays horizontal scrollbar only. --> 2266 <flag name="horizontal" value="0x00000100" /> 2267 <!-- Displays vertical scrollbar only. --> 2268 <flag name="vertical" value="0x00000200" /> 2269 </attr> 2270 2271 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2272 inset. When inset, they add to the padding of the view. And the 2273 scrollbars can be drawn inside the padding area or on the edge of 2274 the view. For example, if a view has a background drawable and you 2275 want to draw the scrollbars inside the padding specified by the 2276 drawable, you can use insideOverlay or insideInset. If you want them 2277 to appear at the edge of the view, ignoring the padding, then you can 2278 use outsideOverlay or outsideInset.--> 2279 <attr name="scrollbarStyle"> 2280 <!-- Inside the padding and overlaid --> 2281 <enum name="insideOverlay" value="0x0" /> 2282 <!-- Inside the padding and inset --> 2283 <enum name="insideInset" value="0x01000000" /> 2284 <!-- Edge of the view and overlaid --> 2285 <enum name="outsideOverlay" value="0x02000000" /> 2286 <!-- Edge of the view and inset --> 2287 <enum name="outsideInset" value="0x03000000" /> 2288 </attr> 2289 2290 <!-- Set this if the view will serve as a scrolling container, meaning 2291 that it can be resized to shrink its overall window so that there 2292 will be space for an input method. If not set, the default 2293 value will be true if "scrollbars" has the vertical scrollbar 2294 set, else it will be false. --> 2295 <attr name="isScrollContainer" format="boolean" /> 2296 2297 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2298 <attr name="fadeScrollbars" format="boolean" /> 2299 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2300 <attr name="scrollbarFadeDuration" format="integer" /> 2301 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2302 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2303 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2304 <attr name="scrollbarSize" format="dimension" /> 2305 <!-- Defines the horizontal scrollbar thumb drawable. --> 2306 <attr name="scrollbarThumbHorizontal" format="reference" /> 2307 <!-- Defines the vertical scrollbar thumb drawable. --> 2308 <attr name="scrollbarThumbVertical" format="reference" /> 2309 <!-- Defines the horizontal scrollbar track drawable. --> 2310 <attr name="scrollbarTrackHorizontal" format="reference" /> 2311 <!-- Defines the vertical scrollbar track drawable. --> 2312 <attr name="scrollbarTrackVertical" format="reference" /> 2313 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2314 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2315 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2316 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2317 2318 <!-- This attribute is deprecated and will be ignored as of 2319 API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}). 2320 Using fading edges may introduce noticeable performance 2321 degradations and should be used only when required by the application's 2322 visual design. To request fading edges with API level 14 and above, 2323 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2324 <attr name="fadingEdge"> 2325 <!-- No edge is faded. --> 2326 <flag name="none" value="0x00000000" /> 2327 <!-- Fades horizontal edges only. --> 2328 <flag name="horizontal" value="0x00001000" /> 2329 <!-- Fades vertical edges only. --> 2330 <flag name="vertical" value="0x00002000" /> 2331 </attr> 2332 <!-- Defines which edges should be faded on scrolling. --> 2333 <attr name="requiresFadingEdge"> 2334 <!-- No edge is faded. --> 2335 <flag name="none" value="0x00000000" /> 2336 <!-- Fades horizontal edges only. --> 2337 <flag name="horizontal" value="0x00001000" /> 2338 <!-- Fades vertical edges only. --> 2339 <flag name="vertical" value="0x00002000" /> 2340 </attr> 2341 <!-- Defines the length of the fading edges. --> 2342 <attr name="fadingEdgeLength" format="dimension" /> 2343 2344 <!-- Defines the next view to give focus to when the next focus is 2345 {@link android.view.View#FOCUS_LEFT}. 2346 2347 If the reference refers to a view that does not exist or is part 2348 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2349 will result when the reference is accessed.--> 2350 <attr name="nextFocusLeft" format="reference"/> 2351 2352 <!-- Defines the next view to give focus to when the next focus is 2353 {@link android.view.View#FOCUS_RIGHT} 2354 2355 If the reference refers to a view that does not exist or is part 2356 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2357 will result when the reference is accessed.--> 2358 <attr name="nextFocusRight" format="reference"/> 2359 2360 <!-- Defines the next view to give focus to when the next focus is 2361 {@link android.view.View#FOCUS_UP} 2362 2363 If the reference refers to a view that does not exist or is part 2364 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2365 will result when the reference is accessed.--> 2366 <attr name="nextFocusUp" format="reference"/> 2367 2368 <!-- Defines the next view to give focus to when the next focus is 2369 {@link android.view.View#FOCUS_DOWN} 2370 2371 If the reference refers to a view that does not exist or is part 2372 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2373 will result when the reference is accessed.--> 2374 <attr name="nextFocusDown" format="reference"/> 2375 2376 <!-- Defines the next view to give focus to when the next focus is 2377 {@link android.view.View#FOCUS_FORWARD} 2378 2379 If the reference refers to a view that does not exist or is part 2380 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2381 will result when the reference is accessed.--> 2382 <attr name="nextFocusForward" format="reference"/> 2383 2384 <!-- Defines whether this view reacts to click events. --> 2385 <attr name="clickable" format="boolean" /> 2386 2387 <!-- Defines whether this view reacts to long click events. --> 2388 <attr name="longClickable" format="boolean" /> 2389 2390 <!-- Defines whether this view reacts to context click events. --> 2391 <attr name="contextClickable" format="boolean" /> 2392 2393 <!-- If false, no state will be saved for this view when it is being 2394 frozen. The default is true, allowing the view to be saved 2395 (however it also must have an ID assigned to it for its 2396 state to be saved). Setting this to false only disables the 2397 state for this view, not for its children which may still 2398 be saved. --> 2399 <attr name="saveEnabled" format="boolean" /> 2400 2401 <!-- Specifies whether to filter touches when the view's window is obscured by 2402 another visible window. When set to true, the view will not receive touches 2403 whenever a toast, dialog or other window appears above the view's window. 2404 Refer to the {@link android.view.View} security documentation for more details. --> 2405 <attr name="filterTouchesWhenObscured" format="boolean" /> 2406 2407 <!-- Defines the quality of translucent drawing caches. This property is used 2408 only when the drawing cache is enabled and translucent. The default value is auto. --> 2409 <attr name="drawingCacheQuality"> 2410 <!-- Lets the framework decide what quality level should be used 2411 for the drawing cache. --> 2412 <enum name="auto" value="0" /> 2413 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2414 depth, thus losing precision in rendering gradients, but uses less memory. --> 2415 <enum name="low" value="1" /> 2416 <!-- High quality. When set to high quality, the drawing cache uses a higher 2417 color depth but uses more memory. --> 2418 <enum name="high" value="2" /> 2419 </attr> 2420 2421 <!-- Controls whether the view's window should keep the screen on 2422 while visible. --> 2423 <attr name="keepScreenOn" format="boolean" /> 2424 2425 <!-- When this attribute is set to true, the view gets its drawable state 2426 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2427 <attr name="duplicateParentState" format="boolean" /> 2428 2429 <!-- Defines the minimum height of the view. It is not guaranteed 2430 the view will be able to achieve this minimum height (for example, 2431 if its parent layout constrains it with less available height). --> 2432 <attr name="minHeight" /> 2433 2434 <!-- Defines the minimum width of the view. It is not guaranteed 2435 the view will be able to achieve this minimum width (for example, 2436 if its parent layout constrains it with less available width). --> 2437 <attr name="minWidth" /> 2438 2439 <!-- Boolean that controls whether a view should have sound effects 2440 enabled for events such as clicking and touching. --> 2441 <attr name="soundEffectsEnabled" format="boolean" /> 2442 2443 <!-- Boolean that controls whether a view should have haptic feedback 2444 enabled for events such as long presses. --> 2445 <attr name="hapticFeedbackEnabled" format="boolean" /> 2446 2447 <!-- Defines text that briefly describes content of the view. This property is used 2448 primarily for accessibility. Since some views do not have textual 2449 representation this attribute can be used for providing such. --> 2450 <attr name="contentDescription" format="string" localization="suggested" /> 2451 2452 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2453 A screen-reader must visit the content of this view before the content of the one 2454 it precedes. 2455 @see android.view.View#setAccessibilityTraversalBefore(int)} --> 2456 <attr name="accessibilityTraversalBefore" format="integer" /> 2457 2458 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2459 A screen-reader must visit the content of the other view before the content of 2460 this one. 2461 @see android.view.View#setAccessibilityTraversalAfter(int)} --> 2462 <attr name="accessibilityTraversalAfter" format="integer" /> 2463 2464 <!-- Name of the method in this View's context to invoke when the view is 2465 clicked. This name must correspond to a public method that takes 2466 exactly one parameter of type View. For instance, if you specify 2467 <code>android:onClick="sayHello"</code>, you must declare a 2468 <code>public void sayHello(View v)</code> method of your context 2469 (typically, your Activity). --> 2470 <attr name="onClick" format="string" /> 2471 2472 <!-- Defines over-scrolling behavior. This property is used only if the 2473 View is scrollable. Over-scrolling is the ability for the user to 2474 receive feedback when attempting to scroll beyond meaningful content. --> 2475 <attr name="overScrollMode"> 2476 <!-- Always show over-scroll effects, even if the content fits entirely 2477 within the available space. --> 2478 <enum name="always" value="0" /> 2479 <!-- Only show over-scroll effects if the content is large 2480 enough to meaningfully scroll. --> 2481 <enum name="ifContentScrolls" value="1" /> 2482 <!-- Never show over-scroll effects. --> 2483 <enum name="never" value="2" /> 2484 </attr> 2485 2486 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2487 (completely opaque). --> 2488 <attr name="alpha" format="float" /> 2489 2490 <!-- base z depth of the view --> 2491 <attr name="elevation" format="dimension" /> 2492 2493 <!-- translation in x of the view. This value is added post-layout to the left 2494 property of the view, which is set by its layout. --> 2495 <attr name="translationX" format="dimension" /> 2496 2497 <!-- translation in y of the view. This value is added post-layout to the top 2498 property of the view, which is set by its layout. --> 2499 <attr name="translationY" format="dimension" /> 2500 2501 <!-- translation in z of the view. This value is added to its elevation. --> 2502 <attr name="translationZ" format="dimension" /> 2503 2504 <!-- x location of the pivot point around which the view will rotate and scale. 2505 This xml attribute sets the pivotX property of the View. --> 2506 <attr name="transformPivotX" format="dimension" /> 2507 2508 <!-- y location of the pivot point around which the view will rotate and scale. 2509 This xml attribute sets the pivotY property of the View. --> 2510 <attr name="transformPivotY" format="dimension" /> 2511 2512 <!-- rotation of the view, in degrees. --> 2513 <attr name="rotation" format="float" /> 2514 2515 <!-- rotation of the view around the x axis, in degrees. --> 2516 <attr name="rotationX" format="float" /> 2517 2518 <!-- rotation of the view around the y axis, in degrees. --> 2519 <attr name="rotationY" format="float" /> 2520 2521 <!-- scale of the view in the x direction. --> 2522 <attr name="scaleX" format="float" /> 2523 2524 <!-- scale of the view in the y direction. --> 2525 <attr name="scaleY" format="float" /> 2526 2527 <!-- Determines which side the vertical scroll bar should be placed on. --> 2528 <attr name="verticalScrollbarPosition"> 2529 <!-- Place the scroll bar wherever the system default determines. --> 2530 <enum name="defaultPosition" value="0" /> 2531 <!-- Place the scroll bar on the left. --> 2532 <enum name="left" value="1" /> 2533 <!-- Place the scroll bar on the right. --> 2534 <enum name="right" value="2" /> 2535 </attr> 2536 2537 <!-- Specifies the type of layer backing this view. The default value is none. 2538 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2539 for more information.--> 2540 <attr name="layerType"> 2541 <!-- Don't use a layer. --> 2542 <enum name="none" value="0" /> 2543 <!-- Use a software layer. Refer to 2544 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2545 more information. --> 2546 <enum name="software" value="1" /> 2547 <!-- Use a hardware layer. Refer to 2548 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2549 more information. --> 2550 <enum name="hardware" value="2" /> 2551 </attr> 2552 2553 <!-- Defines the direction of layout drawing. This typically is associated with writing 2554 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2555 "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing 2556 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2557 used in "en-US". The default for this attribute is "inherit". --> 2558 <attr name="layoutDirection"> 2559 <!-- Left-to-Right --> 2560 <enum name="ltr" value="0" /> 2561 <!-- Right-to-Left --> 2562 <enum name="rtl" value="1" /> 2563 <!-- Inherit from parent --> 2564 <enum name="inherit" value="2" /> 2565 <!-- Locale --> 2566 <enum name="locale" value="3" /> 2567 </attr> 2568 2569 <!-- Defines the direction of the text. A heuristic is used to determine the resolved text 2570 direction of paragraphs. --> 2571 <attr name="textDirection" format="integer"> 2572 <!-- Default --> 2573 <enum name="inherit" value="0" /> 2574 <!-- Default for the root view. The first strong directional character determines the 2575 paragraph direction. If there is no strong directional character, the paragraph 2576 direction is the view’s resolved layout direction. --> 2577 <enum name="firstStrong" value="1" /> 2578 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2579 it is LTR if it contains any strong LTR characters. If there are neither, the 2580 paragraph direction is the view’s resolved layout direction. --> 2581 <enum name="anyRtl" value="2" /> 2582 <!-- The paragraph direction is left to right. --> 2583 <enum name="ltr" value="3" /> 2584 <!-- The paragraph direction is right to left. --> 2585 <enum name="rtl" value="4" /> 2586 <!-- The paragraph direction is coming from the system Locale. --> 2587 <enum name="locale" value="5" /> 2588 <!-- The first strong directional character determines the paragraph direction. If 2589 there is no strong directional character, the paragraph direction is LTR. --> 2590 <enum name="firstStrongLtr" value="6" /> 2591 <!-- The first strong directional character determines the paragraph direction. If 2592 there is no strong directional character, the paragraph direction is RTL. --> 2593 <enum name="firstStrongRtl" value="7" /> 2594 </attr> 2595 2596 <!-- Defines the alignment of the text. A heuristic is used to determine the resolved 2597 text alignment. --> 2598 <attr name="textAlignment" format="integer"> 2599 <!-- Default --> 2600 <enum name="inherit" value="0" /> 2601 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2602 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2603 text direction --> 2604 <enum name="gravity" value="1" /> 2605 <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. --> 2606 <enum name="textStart" value="2" /> 2607 <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. --> 2608 <enum name="textEnd" value="3" /> 2609 <!-- Center the paragraph, e.g. ALIGN_CENTER. --> 2610 <enum name="center" value="4" /> 2611 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2612 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2613 <enum name="viewStart" value="5" /> 2614 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2615 layoutDirection is LTR, and ALIGN_LEFT otherwise --> 2616 <enum name="viewEnd" value="6" /> 2617 </attr> 2618 2619 <!-- Controls how this View is important for accessibility which is if it fires 2620 accessibility events and if it is reported to accessibility services that 2621 query the screen. Note: While not recommended, an accessibility service may 2622 decide to ignore this attribute and operate on all views in the view tree. --> 2623 <attr name="importantForAccessibility" format="integer"> 2624 <!-- The system determines whether the view is important for accessibility - default 2625 (recommended). --> 2626 <enum name="auto" value="0" /> 2627 <!-- The view is important for accessibility. --> 2628 <enum name="yes" value="1" /> 2629 <!-- The view is not important for accessibility. --> 2630 <enum name="no" value="2" /> 2631 <!-- The view is not important for accessibility, nor are any of its descendant 2632 views. --> 2633 <enum name="noHideDescendants" value="4" /> 2634 </attr> 2635 2636 <!-- Indicates to accessibility services whether the user should be notified when 2637 this view changes. --> 2638 <attr name="accessibilityLiveRegion" format="integer"> 2639 <!-- Accessibility services should not announce changes to this view. --> 2640 <enum name="none" value="0" /> 2641 <!-- Accessibility services should announce changes to this view. --> 2642 <enum name="polite" value="1" /> 2643 <!-- Accessibility services should interrupt ongoing speech to immediately 2644 announce changes to this view. --> 2645 <enum name="assertive" value="2" /> 2646 </attr> 2647 2648 <!-- Specifies the id of a view for which this view serves as a label for 2649 accessibility purposes. For example, a TextView before an EditText in 2650 the UI usually specifies what infomation is contained in the EditText. 2651 Hence, the TextView is a label for the EditText. --> 2652 <attr name="labelFor" format="reference" /> 2653 2654 <!-- Specifies a theme override for a view. When a theme override is set, the 2655 view will be inflated using a {@link android.content.Context} themed with 2656 the specified resource. During XML inflation, any child views under the 2657 view with a theme override will inherit the themed context. --> 2658 <attr name="theme" /> 2659 2660 <!-- Names a View such that it can be identified for Transitions. Names should be 2661 unique in the View hierarchy. --> 2662 <attr name="transitionName" format="string" /> 2663 2664 <!-- Specifies that this view should permit nested scrolling within a compatible 2665 ancestor view. --> 2666 <attr name="nestedScrollingEnabled" format="boolean" /> 2667 2668 <!-- Sets the state-based animator for the View. --> 2669 <attr name="stateListAnimator" format="reference"/> 2670 2671 <!-- Tint to apply to the background. --> 2672 <attr name="backgroundTint" format="color" /> 2673 2674 <!-- Blending mode used to apply the background tint. --> 2675 <attr name="backgroundTintMode"> 2676 <!-- The tint is drawn on top of the drawable. 2677 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2678 <enum name="src_over" value="3" /> 2679 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2680 color channels are thrown out. [Sa * Da, Sc * Da] --> 2681 <enum name="src_in" value="5" /> 2682 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2683 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2684 <enum name="src_atop" value="9" /> 2685 <!-- Multiplies the color and alpha channels of the drawable with those of 2686 the tint. [Sa * Da, Sc * Dc] --> 2687 <enum name="multiply" value="14" /> 2688 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2689 <enum name="screen" value="15" /> 2690 <!-- Combines the tint and drawable color and alpha channels, clamping the 2691 result to valid color values. Saturate(S + D) --> 2692 <enum name="add" value="16" /> 2693 </attr> 2694 2695 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2696 <attr name="outlineProvider"> 2697 <!-- Default, background drawable-driven outline. --> 2698 <enum name="background" value="0" /> 2699 <!-- No outline provider. --> 2700 <enum name="none" value="1" /> 2701 <!-- Generates an opaque outline for the bounds of the view. --> 2702 <enum name="bounds" value="2" /> 2703 <!-- Generates an opaque outline for the padded bounds of the view. --> 2704 <enum name="paddedBounds" value="3" /> 2705 </attr> 2706 2707 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2708 The foreground drawable participates in the padding of the content if the gravity 2709 is set to fill. --> 2710 <attr name="foreground" format="reference|color" /> 2711 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2712 to fill. --> 2713 <attr name="foregroundGravity"> 2714 <!-- Push object to the top of its container, not changing its size. --> 2715 <flag name="top" value="0x30" /> 2716 <!-- Push object to the bottom of its container, not changing its size. --> 2717 <flag name="bottom" value="0x50" /> 2718 <!-- Push object to the left of its container, not changing its size. --> 2719 <flag name="left" value="0x03" /> 2720 <!-- Push object to the right of its container, not changing its size. --> 2721 <flag name="right" value="0x05" /> 2722 <!-- Place object in the vertical center of its container, not changing its size. --> 2723 <flag name="center_vertical" value="0x10" /> 2724 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2725 <flag name="fill_vertical" value="0x70" /> 2726 <!-- Place object in the horizontal center of its container, not changing its size. --> 2727 <flag name="center_horizontal" value="0x01" /> 2728 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2729 <flag name="fill_horizontal" value="0x07" /> 2730 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2731 <flag name="center" value="0x11" /> 2732 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2733 <flag name="fill" value="0x77" /> 2734 <!-- Additional option that can be set to have the top and/or bottom edges of 2735 the child clipped to its container's bounds. 2736 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2737 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2738 <flag name="clip_vertical" value="0x80" /> 2739 <!-- Additional option that can be set to have the left and/or right edges of 2740 the child clipped to its container's bounds. 2741 The clip will be based on the horizontal gravity: a left gravity will clip the right 2742 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2743 <flag name="clip_horizontal" value="0x08" /> 2744 </attr> 2745 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2746 This property is turned on by default. --> 2747 <attr name="foregroundInsidePadding" format="boolean" /> 2748 <!-- Tint to apply to the foreground. --> 2749 <attr name="foregroundTint" format="color" /> 2750 <!-- Blending mode used to apply the foreground tint. --> 2751 <attr name="foregroundTintMode"> 2752 <!-- The tint is drawn on top of the drawable. 2753 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2754 <enum name="src_over" value="3" /> 2755 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2756 color channels are thrown out. [Sa * Da, Sc * Da] --> 2757 <enum name="src_in" value="5" /> 2758 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2759 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2760 <enum name="src_atop" value="9" /> 2761 <!-- Multiplies the color and alpha channels of the drawable with those of 2762 the tint. [Sa * Da, Sc * Dc] --> 2763 <enum name="multiply" value="14" /> 2764 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2765 <enum name="screen" value="15" /> 2766 <!-- Combines the tint and drawable color and alpha channels, clamping the 2767 result to valid color values. Saturate(S + D) --> 2768 <enum name="add" value="16" /> 2769 </attr> 2770 2771 <!-- Defines which scroll indicators should be displayed when the view 2772 can be scrolled. Multiple values may be combined using logical OR, 2773 for example "top|bottom". --> 2774 <attr name="scrollIndicators"> 2775 <!-- No scroll indicators are displayed. --> 2776 <flag name="none" value="0x00" /> 2777 <!-- Displays top scroll indicator when view can be scrolled up. --> 2778 <flag name="top" value="0x01" /> 2779 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2780 <flag name="bottom" value="0x02" /> 2781 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2782 <flag name="left" value="0x04" /> 2783 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2784 <flag name="right" value="0x08" /> 2785 <!-- Displays right scroll indicator when vew can be scrolled in the 2786 start direction. --> 2787 <flag name="start" value="0x10" /> 2788 <!-- Displays right scroll indicator when vew can be scrolled in the 2789 end direction. --> 2790 <flag name="end" value="0x20" /> 2791 </attr> 2792 2793 </declare-styleable> 2794 2795 <!-- Attributes that can be assigned to a tag for a particular View. --> 2796 <declare-styleable name="ViewTag"> 2797 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 2798 <attr name="id" /> 2799 <!-- Specifies the value with which to tag the view. --> 2800 <attr name="value" /> 2801 </declare-styleable> 2802 2803 <!-- Attributes that can be assigned to an <include> tag. 2804 @hide --> 2805 <declare-styleable name="Include"> 2806 <attr name="id" /> 2807 <attr name="visibility" /> 2808 </declare-styleable> 2809 2810 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 2811 of its subclasses. Also see {@link #ViewGroup_Layout} for 2812 attributes that this class processes in its children. --> 2813 <declare-styleable name="ViewGroup"> 2814 <!-- Defines whether changes in layout (caused by adding and removing items) should 2815 cause a LayoutTransition to run. When this flag is set to true, a default 2816 LayoutTransition object will be set on the ViewGroup container and default 2817 animations will run when these layout changes occur.--> 2818 <attr name="animateLayoutChanges" format="boolean" /> 2819 <!-- Defines whether a child is limited to draw inside of its bounds or not. 2820 This is useful with animations that scale the size of the children to more 2821 than 100% for instance. In such a case, this property should be set to false 2822 to allow the children to draw outside of their bounds. The default value of 2823 this property is true. --> 2824 <attr name="clipChildren" format="boolean" /> 2825 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 2826 EdgeEffect to its padding, if padding is not zero. This property is set to true by 2827 default. --> 2828 <attr name="clipToPadding" format="boolean" /> 2829 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 2830 Layout animations can also be started manually after the first layout. --> 2831 <attr name="layoutAnimation" format="reference" /> 2832 <!-- Defines whether layout animations should create a drawing cache for their 2833 children. Enabling the animation cache consumes more memory and requires 2834 a longer initialization but provides better performance. The animation 2835 cache is enabled by default. --> 2836 <attr name="animationCache" format="boolean" /> 2837 <!-- Defines the persistence of the drawing cache. The drawing cache might be 2838 enabled by a ViewGroup for all its children in specific situations (for 2839 instance during a scrolling.) This property lets you persist the cache 2840 in memory after its initial usage. Persisting the cache consumes more 2841 memory but may prevent frequent garbage collection is the cache is created 2842 over and over again. By default the persistence is set to scrolling. --> 2843 <attr name="persistentDrawingCache"> 2844 <!-- The drawing cache is not persisted after use. --> 2845 <flag name="none" value="0x0" /> 2846 <!-- The drawing cache is persisted after a layout animation. --> 2847 <flag name="animation" value="0x1" /> 2848 <!-- The drawing cache is persisted after a scroll. --> 2849 <flag name="scrolling" value="0x2" /> 2850 <!-- The drawing cache is always persisted. --> 2851 <flag name="all" value="0x3" /> 2852 </attr> 2853 <!-- Defines whether the ViewGroup should always draw its children using their 2854 drawing cache or not. The default value is true. --> 2855 <attr name="alwaysDrawnWithCache" format="boolean" /> 2856 <!-- Sets whether this ViewGroup's drawable states also include 2857 its children's drawable states. This is used, for example, to 2858 make a group appear to be focused when its child EditText or button 2859 is focused. --> 2860 <attr name="addStatesFromChildren" format="boolean" /> 2861 2862 <!-- Defines the relationship between the ViewGroup and its descendants 2863 when looking for a View to take focus. --> 2864 <attr name="descendantFocusability"> 2865 <!-- The ViewGroup will get focus before any of its descendants. --> 2866 <enum name="beforeDescendants" value="0" /> 2867 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 2868 <enum name="afterDescendants" value="1" /> 2869 <!-- The ViewGroup will block its descendants from receiving focus. --> 2870 <enum name="blocksDescendants" value="2" /> 2871 </attr> 2872 2873 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 2874 <attr name="touchscreenBlocksFocus" format="boolean" /> 2875 2876 <!-- Sets whether this ViewGroup should split MotionEvents 2877 to separate child views during touch event dispatch. 2878 If false (default), touch events will be dispatched to 2879 the child view where the first pointer went down until 2880 the last pointer goes up. 2881 If true, touch events may be dispatched to multiple children. 2882 MotionEvents for each pointer will be dispatched to the child 2883 view where the initial ACTION_DOWN event happened. 2884 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 2885 for more information. --> 2886 <attr name="splitMotionEvents" format="boolean" /> 2887 2888 <!-- Defines the layout mode of this ViewGroup. --> 2889 <attr name="layoutMode"> 2890 <!-- Use the children's clip bounds when laying out this container. --> 2891 <enum name="clipBounds" value="0" /> 2892 <!-- Use the children's optical bounds when laying out this container. --> 2893 <enum name="opticalBounds" value="1" /> 2894 </attr> 2895 2896 <!-- Sets whether or not this ViewGroup should be treated as a single entity 2897 when doing an Activity transition. Typically, the elements inside a 2898 ViewGroup are each transitioned from the scene individually. The default 2899 for a ViewGroup is false unless it has a background. See 2900 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 2901 android.view.View, String)} for more information. Corresponds to 2902 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 2903 <attr name="transitionGroup" format="boolean" /> 2904 </declare-styleable> 2905 2906 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 2907 inside your application at runtime. --> 2908 <declare-styleable name="ViewStub"> 2909 <!-- Supply an identifier name for this view. --> 2910 <attr name="id" /> 2911 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 2912 becomes visible or when forced to do so. The layout resource must be a 2913 valid reference to a layout. --> 2914 <attr name="layout" format="reference" /> 2915 <!-- Overrides the id of the inflated View with this value. --> 2916 <attr name="inflatedId" format="reference" /> 2917 </declare-styleable> 2918 2919 <!-- ===================================== --> 2920 <!-- View package parent layout attributes --> 2921 <!-- ===================================== --> 2922 <eat-comment /> 2923 2924 <!-- This is the basic set of layout attributes that are common to all 2925 layout managers. These attributes are specified with the rest of 2926 a view's normal attributes (such as {@link android.R.attr#background}, 2927 but will be parsed by the view's parent and ignored by the child. 2928 <p>The values defined here correspond to the base layout attribute 2929 class {@link android.view.ViewGroup.LayoutParams}. --> 2930 <declare-styleable name="ViewGroup_Layout"> 2931 <!-- Specifies the basic width of the view. This is a required attribute 2932 for any view inside of a containing layout manager. Its value may 2933 be a dimension (such as "12dip") for a constant width or one of 2934 the special constants. --> 2935 <attr name="layout_width" format="dimension"> 2936 <!-- The view should be as big as its parent (minus padding). 2937 This constant is deprecated starting from API Level 8 and 2938 is replaced by {@code match_parent}. --> 2939 <enum name="fill_parent" value="-1" /> 2940 <!-- The view should be as big as its parent (minus padding). 2941 Introduced in API Level 8. --> 2942 <enum name="match_parent" value="-1" /> 2943 <!-- The view should be only big enough to enclose its content (plus padding). --> 2944 <enum name="wrap_content" value="-2" /> 2945 </attr> 2946 2947 <!-- Specifies the basic height of the view. This is a required attribute 2948 for any view inside of a containing layout manager. Its value may 2949 be a dimension (such as "12dip") for a constant height or one of 2950 the special constants. --> 2951 <attr name="layout_height" format="dimension"> 2952 <!-- The view should be as big as its parent (minus padding). 2953 This constant is deprecated starting from API Level 8 and 2954 is replaced by {@code match_parent}. --> 2955 <enum name="fill_parent" value="-1" /> 2956 <!-- The view should be as big as its parent (minus padding). 2957 Introduced in API Level 8. --> 2958 <enum name="match_parent" value="-1" /> 2959 <!-- The view should be only big enough to enclose its content (plus padding). --> 2960 <enum name="wrap_content" value="-2" /> 2961 </attr> 2962 </declare-styleable> 2963 2964 <!-- This is the basic set of layout attributes for layout managers that 2965 wish to place margins around their child views. 2966 These attributes are specified with the rest of 2967 a view's normal attributes (such as {@link android.R.attr#background}, 2968 but will be parsed by the view's parent and ignored by the child. 2969 <p>The values defined here correspond to the base layout attribute 2970 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 2971 <declare-styleable name="ViewGroup_MarginLayout"> 2972 <attr name="layout_width" /> 2973 <attr name="layout_height" /> 2974 <!-- Specifies extra space on the left, top, right and bottom 2975 sides of this view. This space is outside this view's bounds. 2976 Margin values should be positive. --> 2977 <attr name="layout_margin" format="dimension" /> 2978 <!-- Specifies extra space on the left side of this view. 2979 This space is outside this view's bounds. 2980 Margin values should be positive. --> 2981 <attr name="layout_marginLeft" format="dimension" /> 2982 <!-- Specifies extra space on the top side of this view. 2983 This space is outside this view's bounds. 2984 Margin values should be positive.--> 2985 <attr name="layout_marginTop" format="dimension" /> 2986 <!-- Specifies extra space on the right side of this view. 2987 This space is outside this view's bounds. 2988 Margin values should be positive.--> 2989 <attr name="layout_marginRight" format="dimension" /> 2990 <!-- Specifies extra space on the bottom side of this view. 2991 This space is outside this view's bounds. 2992 Margin values should be positive.--> 2993 <attr name="layout_marginBottom" format="dimension" /> 2994 <!-- Specifies extra space on the start side of this view. 2995 This space is outside this view's bounds. 2996 Margin values should be positive.--> 2997 <attr name="layout_marginStart" format="dimension" /> 2998 <!-- Specifies extra space on the end side of this view. 2999 This space is outside this view's bounds. 3000 Margin values should be positive.--> 3001 <attr name="layout_marginEnd" format="dimension" /> 3002 </declare-styleable> 3003 3004 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3005 describes an 3006 {@link android.view.inputmethod.InputMethod} service, which is 3007 referenced from its 3008 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3009 meta-data entry. Described here are the attributes that can be 3010 included in that tag. --> 3011 <declare-styleable name="InputMethod"> 3012 <!-- Component name of an activity that allows the user to modify 3013 the settings for this service. --> 3014 <attr name="settingsActivity" format="string" /> 3015 <!-- Set to true in all of the configurations for which this input 3016 method should be considered an option as the default. --> 3017 <attr name="isDefault" format="boolean" /> 3018 <!-- Set to true if this input method supports ways to switch to 3019 a next input method (e.g. a globe key.). When this is true and 3020 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3021 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3022 accordingly. 3023 <p> Note that the system determines the most appropriate next input method 3024 and subtype in order to provide the consistent user experience in switching 3025 between IMEs and subtypes. --> 3026 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3027 </declare-styleable> 3028 3029 <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...) 3030 and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows 3031 the system to call the specified subtype of the IME directly. --> 3032 <declare-styleable name="InputMethod_Subtype"> 3033 <!-- The name of the subtype. --> 3034 <attr name="label" /> 3035 <!-- The icon of the subtype. --> 3036 <attr name="icon" /> 3037 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3038 and will be passed to the IME when the framework calls the IME 3039 with the subtype. This is also used by the framework to know the supported locales 3040 of the IME. --> 3041 <attr name="imeSubtypeLocale" format="string" /> 3042 <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this 3043 string will be passed to the IME when the framework calls the IME with the 3044 subtype. --> 3045 <attr name="imeSubtypeMode" format="string" /> 3046 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3047 input method selection list in the settings app. 3048 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3049 chooses a target subtype. --> 3050 <attr name="isAuxiliary" format="boolean" /> 3051 <!-- Set true when this subtype should be selected by default if no other subtypes are 3052 selected explicitly. Note that a subtype with this parameter being true will 3053 not be shown in the subtypes list. --> 3054 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3055 <!-- The extra value of the subtype. This string can be any string and will be passed to 3056 the IME when the framework calls the IME with the subtype. --> 3057 <attr name="imeSubtypeExtraValue" format="string" /> 3058 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3059 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3060 if other attributes are different. If the ID is unspecified (by calling the other 3061 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3062 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3063 <attr name="subtypeId" format="integer"/> 3064 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3065 capable, it should guarantee that the user can input ASCII characters with 3066 this subtype. This is important because many password fields only allow 3067 ASCII-characters. --> 3068 <attr name="isAsciiCapable" format="boolean" /> 3069 </declare-styleable> 3070 3071 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3072 describes an 3073 {@link android.service.textservice.SpellCheckerService} service, which is 3074 referenced from its 3075 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3076 meta-data entry. Described here are the attributes that can be 3077 included in that tag. --> 3078 <declare-styleable name="SpellChecker"> 3079 <!-- The name of the spell checker. --> 3080 <attr name="label" /> 3081 <!-- Component name of an activity that allows the user to modify 3082 the settings for this service. --> 3083 <attr name="settingsActivity"/> 3084 </declare-styleable> 3085 3086 <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) --> 3087 <declare-styleable name="SpellChecker_Subtype"> 3088 <!-- The name of the subtype. --> 3089 <attr name="label" /> 3090 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3091 This is also used by the framework to know the supported locales 3092 of the spell checker. --> 3093 <attr name="subtypeLocale" format="string" /> 3094 <!-- The extra value of the subtype. This string can be any string and will be passed to 3095 the SpellChecker. --> 3096 <attr name="subtypeExtraValue" format="string" /> 3097 </declare-styleable> 3098 3099 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3100 describes an {@link android.accessibilityservice.AccessibilityService} service, 3101 which is referenced from its 3102 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3103 meta-data entry. --> 3104 <declare-styleable name="AccessibilityService"> 3105 <!-- The event types this serivce would like to receive as specified in 3106 {@link android.view.accessibility.AccessibilityEvent}. This setting 3107 can be changed at runtime by calling 3108 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3109 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3110 <attr name="accessibilityEventTypes"> 3111 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3112 <flag name="typeViewClicked" value="0x00000001" /> 3113 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3114 <flag name="typeViewLongClicked" value="0x00000002" /> 3115 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3116 <flag name="typeViewSelected" value="0x00000004" /> 3117 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3118 <flag name="typeViewFocused" value="0x00000008" /> 3119 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3120 <flag name="typeViewTextChanged" value="0x00000010" /> 3121 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3122 <flag name="typeWindowStateChanged" value="0x00000020" /> 3123 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3124 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3125 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3126 <flag name="typeViewHoverEnter" value="0x00000080" /> 3127 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3128 <flag name="typeViewHoverExit" value="0x00000100" /> 3129 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3130 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3131 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3132 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3133 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3134 <flag name="typeWindowContentChanged" value="0x00000800" /> 3135 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3136 <flag name="typeViewScrolled" value="0x000001000" /> 3137 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3138 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3139 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3140 <flag name="typeAnnouncement" value="0x00004000" /> 3141 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3142 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3143 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3144 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3145 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3146 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3147 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3148 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3149 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3150 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3151 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3152 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3153 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3154 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3155 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3156 <flag name="typeWindowsChanged" value="0x00400000" /> 3157 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3158 <flag name="typeContextClicked" value="0x00800000" /> 3159 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3160 <flag name="typeAssistReadingContext" value="0x01000000" /> 3161 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3162 <flag name="typeAllMask" value="0xffffffff" /> 3163 </attr> 3164 <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages). 3165 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3166 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3167 <attr name="packageNames" format="string" /> 3168 <!-- The feedback types this serivce provides as specified in 3169 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3170 can be changed at runtime by calling 3171 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3172 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3173 <attr name="accessibilityFeedbackType"> 3174 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3175 <flag name="feedbackSpoken" value="0x00000001" /> 3176 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3177 <flag name="feedbackHaptic" value="0x00000002" /> 3178 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3179 <flag name="feedbackAudible" value="0x00000004" /> 3180 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3181 <flag name="feedbackVisual" value="0x00000008" /> 3182 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3183 <flag name="feedbackGeneric" value="0x00000010" /> 3184 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3185 <flag name="feedbackAllMask" value="0xffffffff" /> 3186 </attr> 3187 <!-- The minimal period in milliseconds between two accessibility events of the same type 3188 are sent to this serivce. This setting can be changed at runtime by calling 3189 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3190 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3191 <attr name="notificationTimeout" format="integer" /> 3192 <!-- Additional flags as specified in 3193 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3194 This setting can be changed at runtime by calling 3195 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3196 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3197 <attr name="accessibilityFlags"> 3198 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} --> 3199 <flag name="flagDefault" value="0x00000001" /> 3200 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} --> 3201 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3202 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} --> 3203 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3204 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} --> 3205 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3206 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} --> 3207 <flag name="flagReportViewIds" value="0x00000010" /> 3208 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} --> 3209 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3210 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} --> 3211 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3212 </attr> 3213 <!-- Component name of an activity that allows the user to modify 3214 the settings for this service. This setting cannot be changed at runtime. --> 3215 <attr name="settingsActivity" /> 3216 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3217 active window content. This setting cannot be changed at runtime. --> 3218 <attr name="canRetrieveWindowContent" format="boolean" /> 3219 <!-- Attribute whether the accessibility service wants to be able to request touch 3220 exploration mode in which touched items are spoken aloud and the UI can be 3221 explored via gestures. 3222 <p> 3223 Required to allow setting the {@link android.accessibilityservice 3224 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3225 </p> 3226 --> 3227 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3228 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3229 web accessibility enhancements. For example, installing scripts to make app 3230 content more accessible. 3231 <p> 3232 Required to allow setting the {@link android.accessibilityservice 3233 #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag. 3234 </p> 3235 --> 3236 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3237 <!-- Attribute whether the accessibility service wants to be able to request to 3238 filter key events. 3239 <p> 3240 Required to allow setting the {@link android.accessibilityservice 3241 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3242 </p> 3243 --> 3244 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3245 <!-- Short description of the accessibility serivce purpose or behavior.--> 3246 <attr name="description" /> 3247 </declare-styleable> 3248 3249 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3250 describes an {@link android.printservice.PrintService} service, which is 3251 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3252 meta-data entry. --> 3253 <declare-styleable name="PrintService"> 3254 <!-- Fully qualified class name of an activity that allows the user to modify 3255 the settings for this service. --> 3256 <attr name="settingsActivity" /> 3257 <!-- Fully qualified class name of an activity that allows the user to manually 3258 add printers to this print service. --> 3259 <attr name="addPrintersActivity" format="string"/> 3260 <!-- Fully qualified class name of an activity with advanced print options 3261 specific to this print service. --> 3262 <attr name="advancedPrintOptionsActivity" format="string"/> 3263 <!-- The vendor name if this print service is vendor specific. --> 3264 <attr name="vendor" format="string"/> 3265 </declare-styleable> 3266 3267 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3268 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3269 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3270 entry. --> 3271 <declare-styleable name="HostApduService"> 3272 <!-- Short description of the functionality the service implements. This attribute 3273 is mandatory.--> 3274 <attr name="description" /> 3275 <!-- Whether the device must be unlocked before routing data to this service. 3276 The default is false.--> 3277 <attr name="requireDeviceUnlock" format="boolean"/> 3278 <!-- A drawable that can be rendered in Android's system UI for representing 3279 the service. --> 3280 <attr name="apduServiceBanner" format="reference"/> 3281 <!-- Component name of an activity that allows the user to modify 3282 the settings for this service. --> 3283 <attr name="settingsActivity"/> 3284 </declare-styleable> 3285 3286 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3287 describes an {@link android.nfc.cardemulation.OffHostApduService} 3288 service, which is referenced from its 3289 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3290 <declare-styleable name="OffHostApduService"> 3291 <!-- Short description of the functionality the service implements. This attribute 3292 is mandatory.--> 3293 <attr name="description" /> 3294 <!-- A drawable that can be rendered in Android's system UI for representing 3295 the service. --> 3296 <attr name="apduServiceBanner"/> 3297 <!-- Component name of an activity that allows the user to modify 3298 the settings for this service. --> 3299 <attr name="settingsActivity"/> 3300 </declare-styleable> 3301 3302 <!-- Specify one or more <code>aid-group</code> elements inside a 3303 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3304 element to define a group of ISO7816 Application ID (AIDs) that 3305 your service can handle.--> 3306 <declare-styleable name="AidGroup"> 3307 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3308 <attr name="description" /> 3309 <!-- The category attribute will be used by the Android platform to present 3310 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3311 same category uniformly. 3312 Additionally, when a category is specified, Android will ensure that either 3313 all AIDs in this group are routed to this application, or none at all. 3314 This attribute is optional.--> 3315 <attr name="category" format="string" /> 3316 </declare-styleable> 3317 3318 <!-- Specify one or more <code>aid-filter</code> elements inside a 3319 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3320 your service can handle. --> 3321 <declare-styleable name="AidFilter"> 3322 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3323 <attr name="name" /> 3324 </declare-styleable> 3325 3326 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3327 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3328 prefix your service can handle. --> 3329 <declare-styleable name="AidPrefixFilter"> 3330 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3331 <attr name="name" /> 3332 </declare-styleable> 3333 3334 <declare-styleable name="ActionMenuItemView"> 3335 <attr name="minWidth" /> 3336 </declare-styleable> 3337 3338 <!-- =============================== --> 3339 <!-- Widget package class attributes --> 3340 <!-- =============================== --> 3341 <eat-comment /> 3342 3343 <declare-styleable name="AbsListView"> 3344 <!-- Drawable used to indicate the currently selected item in the list. --> 3345 <attr name="listSelector" format="color|reference" /> 3346 <!-- When set to true, the selector will be drawn over the selected item. 3347 Otherwise the selector is drawn behind the selected item. The default 3348 value is false. --> 3349 <attr name="drawSelectorOnTop" format="boolean" /> 3350 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3351 <attr name="stackFromBottom" format="boolean" /> 3352 <!-- When set to true, the list uses a drawing cache during scrolling. 3353 This makes the rendering faster but uses more memory. The default 3354 value is true. --> 3355 <attr name="scrollingCache" format="boolean" /> 3356 <!-- When set to true, the list will filter results as the user types. The 3357 List's adapter must support the Filterable interface for this to work. --> 3358 <attr name="textFilterEnabled" format="boolean" /> 3359 <!-- Sets the transcript mode for the list. In transcript mode, the list 3360 scrolls to the bottom to make new items visible when they are added. --> 3361 <attr name="transcriptMode"> 3362 <!-- Disables transcript mode. This is the default value. --> 3363 <enum name="disabled" value="0"/> 3364 <!-- The list will automatically scroll to the bottom when 3365 a data set change notification is received and only if the last item is 3366 already visible on screen. --> 3367 <enum name="normal" value="1" /> 3368 <!-- The list will automatically scroll to the bottom, no matter what items 3369 are currently visible. --> 3370 <enum name="alwaysScroll" value="2" /> 3371 </attr> 3372 <!-- Indicates that this list will always be drawn on top of solid, single-color 3373 opaque background. This allows the list to optimize drawing. --> 3374 <attr name="cacheColorHint" format="color" /> 3375 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3376 the list. --> 3377 <attr name="fastScrollEnabled" format="boolean" /> 3378 <!-- Specifies the style of the fast scroll decorations. --> 3379 <attr name="fastScrollStyle" format="reference" /> 3380 <!-- When set to true, the list will use a more refined calculation 3381 method based on the pixels height of the items visible on screen. This 3382 property is set to true by default but should be set to false if your adapter 3383 will display items of varying heights. When this property is set to true and 3384 your adapter displays items of varying heights, the scrollbar thumb will 3385 change size as the user scrolls through the list. When set to fale, the list 3386 will use only the number of items in the adapter and the number of items visible 3387 on screen to determine the scrollbar's properties. --> 3388 <attr name="smoothScrollbar" format="boolean" /> 3389 <!-- Defines the choice behavior for the view. By default, lists do not have 3390 any choice behavior. By setting the choiceMode to singleChoice, the list 3391 allows up to one item to be in a chosen state. By setting the choiceMode to 3392 multipleChoice, the list allows any number of items to be chosen. 3393 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3394 any number of items to be chosen in a special selection mode. 3395 The application will supply a 3396 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3397 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3398 selection mode. This uses the {@link android.view.ActionMode} API. --> 3399 <attr name="choiceMode"> 3400 <!-- Normal list that does not indicate choices. --> 3401 <enum name="none" value="0" /> 3402 <!-- The list allows up to one choice. --> 3403 <enum name="singleChoice" value="1" /> 3404 <!-- The list allows multiple choices. --> 3405 <enum name="multipleChoice" value="2" /> 3406 <!-- The list allows multiple choices in a custom selection mode. --> 3407 <enum name="multipleChoiceModal" value="3" /> 3408 </attr> 3409 3410 <!-- When set to true, the list will always show the fast scroll interface. 3411 This setting implies fastScrollEnabled. --> 3412 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3413 </declare-styleable> 3414 <declare-styleable name="AbsSpinner"> 3415 <!-- Reference to an array resource that will populate the Spinner. For static content, 3416 this is simpler than populating the Spinner programmatically. --> 3417 <attr name="entries" /> 3418 </declare-styleable> 3419 <declare-styleable name="AnalogClock"> 3420 <attr name="dial" format="reference"/> 3421 <attr name="hand_hour" format="reference"/> 3422 <attr name="hand_minute" format="reference"/> 3423 </declare-styleable> 3424 <declare-styleable name="Button"> 3425 </declare-styleable> 3426 <declare-styleable name="Chronometer"> 3427 <!-- Format string: if specified, the Chronometer will display this 3428 string, with the first "%s" replaced by the current timer value 3429 in "MM:SS" or "H:MM:SS" form. 3430 If no format string is specified, the Chronometer will simply display 3431 "MM:SS" or "H:MM:SS". --> 3432 <attr name="format" format="string" localization="suggested" /> 3433 </declare-styleable> 3434 <declare-styleable name="CompoundButton"> 3435 <!-- Indicates the initial checked state of this button. --> 3436 <attr name="checked" format="boolean" /> 3437 <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). --> 3438 <attr name="button" format="reference" /> 3439 <!-- Tint to apply to the button graphic. --> 3440 <attr name="buttonTint" format="color" /> 3441 <!-- Blending mode used to apply the button graphic tint. --> 3442 <attr name="buttonTintMode"> 3443 <!-- The tint is drawn on top of the drawable. 3444 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3445 <enum name="src_over" value="3" /> 3446 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3447 color channels are thrown out. [Sa * Da, Sc * Da] --> 3448 <enum name="src_in" value="5" /> 3449 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3450 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3451 <enum name="src_atop" value="9" /> 3452 <!-- Multiplies the color and alpha channels of the drawable with those of 3453 the tint. [Sa * Da, Sc * Dc] --> 3454 <enum name="multiply" value="14" /> 3455 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3456 <enum name="screen" value="15" /> 3457 <!-- Combines the tint and drawable color and alpha channels, clamping the 3458 result to valid color values. Saturate(S + D) --> 3459 <enum name="add" value="16" /> 3460 </attr> 3461 </declare-styleable> 3462 <declare-styleable name="CheckedTextView"> 3463 <!-- Indicates the initial checked state of this text. --> 3464 <attr name="checked" /> 3465 <!-- Drawable used for the check mark graphic. --> 3466 <attr name="checkMark" format="reference"/> 3467 <!-- Tint to apply to the check mark. --> 3468 <attr name="checkMarkTint" format="color" /> 3469 <!-- Blending mode used to apply the check mark tint. --> 3470 <attr name="checkMarkTintMode"> 3471 <!-- The tint is drawn on top of the drawable. 3472 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3473 <enum name="src_over" value="3" /> 3474 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3475 color channels are thrown out. [Sa * Da, Sc * Da] --> 3476 <enum name="src_in" value="5" /> 3477 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3478 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3479 <enum name="src_atop" value="9" /> 3480 <!-- Multiplies the color and alpha channels of the drawable with those of 3481 the tint. [Sa * Da, Sc * Dc] --> 3482 <enum name="multiply" value="14" /> 3483 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3484 <enum name="screen" value="15" /> 3485 <!-- Combines the tint and drawable color and alpha channels, clamping the 3486 result to valid color values. Saturate(S + D) --> 3487 <enum name="add" value="16" /> 3488 </attr> 3489 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3490 <attr name="checkMarkGravity"> 3491 <!-- Push object to the left of its container, not changing its size. --> 3492 <flag name="left" value="0x03" /> 3493 <!-- Push object to the right of its container, not changing its size. --> 3494 <flag name="right" value="0x05" /> 3495 <!-- Push object to the beginning of its container, not changing its size. --> 3496 <flag name="start" value="0x00800003" /> 3497 <!-- Push object to the end of its container, not changing its size. --> 3498 <flag name="end" value="0x00800005" /> 3499 </attr> 3500 </declare-styleable> 3501 <declare-styleable name="EditText"> 3502 </declare-styleable> 3503 <declare-styleable name="FastScroll"> 3504 <!-- Drawable used for the scroll bar thumb. --> 3505 <attr name="thumbDrawable" format="reference" /> 3506 <!-- Minimum width of the thumb. --> 3507 <attr name="thumbMinWidth" format="dimension" /> 3508 <!-- Minimum height of the thumb. --> 3509 <attr name="thumbMinHeight" format="dimension" /> 3510 <!-- Drawable used for the scroll bar track. --> 3511 <attr name="trackDrawable" format="reference" /> 3512 <!-- Drawable used for the section header preview when right-aligned. --> 3513 <attr name="backgroundRight" format="reference" /> 3514 <!-- Drawable used for the section header preview when left-aligned. --> 3515 <attr name="backgroundLeft" format="reference" /> 3516 <!-- Position of section header preview. --> 3517 <attr name="position"> 3518 <!-- Floating at the top of the content. --> 3519 <enum name="floating" value="0" /> 3520 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3521 <enum name="atThumb" value="1" /> 3522 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3523 <enum name="aboveThumb" value="2" /> 3524 </attr> 3525 <attr name="textAppearance" /> 3526 <attr name="textColor" /> 3527 <attr name="textSize" /> 3528 <!-- Minimum width of the section header preview. --> 3529 <attr name="minWidth" /> 3530 <!-- Minimum height of the section header preview. --> 3531 <attr name="minHeight" /> 3532 <!-- Padding for the section header preview. --> 3533 <attr name="padding" /> 3534 <!-- Position of thumb in relation to the track. --> 3535 <attr name="thumbPosition"> 3536 <!-- The thumb's midpoint is anchored to the track. At its 3537 extremes, the thumb will extend half-way outside the 3538 track. --> 3539 <enum name="midpoint" value="0" /> 3540 <!-- The thumb is entirely inside the track. At its extremes, 3541 the thumb will be contained entirely within the track. --> 3542 <enum name="inside" value="1" /> 3543 </attr> 3544 </declare-styleable> 3545 <declare-styleable name="FrameLayout"> 3546 <!-- Determines whether to measure all children or just those in 3547 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3548 <attr name="measureAllChildren" format="boolean" /> 3549 </declare-styleable> 3550 <declare-styleable name="ExpandableListView"> 3551 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3552 <attr name="groupIndicator" format="reference" /> 3553 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3554 <attr name="childIndicator" format="reference" /> 3555 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3556 use childIndicatorLeft. --> 3557 <attr name="indicatorLeft" format="dimension" /> 3558 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3559 use childIndicatorRight. --> 3560 <attr name="indicatorRight" format="dimension" /> 3561 <!-- The left bound for a child's indicator. --> 3562 <attr name="childIndicatorLeft" format="dimension" /> 3563 <!-- The right bound for a child's indicator. --> 3564 <attr name="childIndicatorRight" format="dimension" /> 3565 <!-- Drawable or color that is used as a divider for children. (It will drawn 3566 below and above child items.) The height of this will be the same as 3567 the height of the normal list item divider. --> 3568 <attr name="childDivider" format="reference|color" /> 3569 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3570 use childIndicatorStart. --> 3571 <attr name="indicatorStart" format="dimension" /> 3572 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3573 use childIndicatorEnd. --> 3574 <attr name="indicatorEnd" format="dimension" /> 3575 <!-- The start bound for a child's indicator. --> 3576 <attr name="childIndicatorStart" format="dimension" /> 3577 <!-- The end bound for a child's indicator. --> 3578 <attr name="childIndicatorEnd" format="dimension" /> 3579 </declare-styleable> 3580 <declare-styleable name="Gallery"> 3581 <attr name="gravity" /> 3582 <!-- Sets how long a transition animation should run (in milliseconds) 3583 when layout has changed. Only relevant if animation is turned on. --> 3584 <attr name="animationDuration" format="integer" min="0" /> 3585 <attr name="spacing" format="dimension" /> 3586 <!-- Sets the alpha on the items that are not selected. --> 3587 <attr name="unselectedAlpha" format="float" /> 3588 </declare-styleable> 3589 <declare-styleable name="GridView"> 3590 <!-- Defines the default horizontal spacing between columns. --> 3591 <attr name="horizontalSpacing" format="dimension" /> 3592 <!-- Defines the default vertical spacing between rows. --> 3593 <attr name="verticalSpacing" format="dimension" /> 3594 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3595 <attr name="stretchMode"> 3596 <!-- Stretching is disabled. --> 3597 <enum name="none" value="0"/> 3598 <!-- The spacing between each column is stretched. --> 3599 <enum name="spacingWidth" value="1" /> 3600 <!-- Each column is stretched equally. --> 3601 <enum name="columnWidth" value="2" /> 3602 <!-- The spacing between each column is uniformly stretched.. --> 3603 <enum name="spacingWidthUniform" value="3" /> 3604 </attr> 3605 <!-- Specifies the fixed width for each column. --> 3606 <attr name="columnWidth" format="dimension" /> 3607 <!-- Defines how many columns to show. --> 3608 <attr name="numColumns" format="integer" min="0"> 3609 <!-- Display as many columns as possible to fill the available space. --> 3610 <enum name="auto_fit" value="-1" /> 3611 </attr> 3612 <!-- Specifies the gravity within each cell. --> 3613 <attr name="gravity" /> 3614 </declare-styleable> 3615 <declare-styleable name="ImageSwitcher"> 3616 </declare-styleable> 3617 <declare-styleable name="ImageView"> 3618 <!-- Sets a drawable as the content of this ImageView. --> 3619 <attr name="src" format="reference|color" /> 3620 <!-- Controls how the image should be resized or moved to match the size 3621 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 3622 <attr name="scaleType"> 3623 <!-- Scale using the image matrix when drawing. See 3624 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 3625 <enum name="matrix" value="0" /> 3626 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 3627 <enum name="fitXY" value="1" /> 3628 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 3629 <enum name="fitStart" value="2" /> 3630 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 3631 <enum name="fitCenter" value="3" /> 3632 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 3633 <enum name="fitEnd" value="4" /> 3634 <!-- Center the image in the view, but perform no scaling. --> 3635 <enum name="center" value="5" /> 3636 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 3637 (width and height) of the image will be equal to or larger than the corresponding 3638 dimension of the view (minus padding). The image is then centered in the view. --> 3639 <enum name="centerCrop" value="6" /> 3640 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 3641 dimensions (width and height) of the image will be equal to or less than the 3642 corresponding dimension of the view (minus padding). The image is then centered in 3643 the view. --> 3644 <enum name="centerInside" value="7" /> 3645 </attr> 3646 <!-- Set this to true if you want the ImageView to adjust its bounds 3647 to preserve the aspect ratio of its drawable. --> 3648 <attr name="adjustViewBounds" format="boolean" /> 3649 <!-- An optional argument to supply a maximum width for this view. 3650 See {see android.widget.ImageView#setMaxWidth} for details. --> 3651 <attr name="maxWidth" format="dimension" /> 3652 <!-- An optional argument to supply a maximum height for this view. 3653 See {see android.widget.ImageView#setMaxHeight} for details. --> 3654 <attr name="maxHeight" format="dimension" /> 3655 <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. --> 3656 <attr name="tint" format="color" /> 3657 <!-- If true, the image view will be baseline aligned with based on its 3658 bottom edge. --> 3659 <attr name="baselineAlignBottom" format="boolean" /> 3660 <!-- If true, the image will be cropped to fit within its padding. --> 3661 <attr name="cropToPadding" format="boolean" /> 3662 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 3663 for details --> 3664 <attr name="baseline" format="dimension" /> 3665 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 3666 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 3667 <attr name="drawableAlpha" format="integer" /> 3668 <!-- Blending mode used to apply the image tint. --> 3669 <attr name="tintMode" /> 3670 </declare-styleable> 3671 <declare-styleable name="ToggleButton"> 3672 <!-- The text for the button when it is checked. --> 3673 <attr name="textOn" format="string" /> 3674 <!-- The text for the button when it is not checked. --> 3675 <attr name="textOff" format="string" /> 3676 <!-- The alpha to apply to the indicator when disabled. --> 3677 <attr name="disabledAlpha" /> 3678 </declare-styleable> 3679 <declare-styleable name="RelativeLayout"> 3680 <attr name="gravity" /> 3681 <!-- Indicates what view should not be affected by gravity. --> 3682 <attr name="ignoreGravity" format="reference" /> 3683 </declare-styleable> 3684 <declare-styleable name="LinearLayout"> 3685 <!-- Should the layout be a column or a row? Use "horizontal" 3686 for a row, "vertical" for a column. The default is 3687 horizontal. --> 3688 <attr name="orientation" /> 3689 <attr name="gravity" /> 3690 <!-- When set to false, prevents the layout from aligning its children's 3691 baselines. This attribute is particularly useful when the children 3692 use different values for gravity. The default value is true. --> 3693 <attr name="baselineAligned" format="boolean" /> 3694 <!-- When a linear layout is part of another layout that is baseline 3695 aligned, it can specify which of its children to baseline align to 3696 (that is, which child TextView).--> 3697 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 3698 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 3699 by adding the layout_weight of all of the children. This can be 3700 used for instance to give a single child 50% of the total available 3701 space by giving it a layout_weight of 0.5 and setting the weightSum 3702 to 1.0. --> 3703 <attr name="weightSum" format="float" /> 3704 <!-- When set to true, all children with a weight will be considered having 3705 the minimum size of the largest child. If false, all children are 3706 measured normally. --> 3707 <attr name="measureWithLargestChild" format="boolean" /> 3708 <!-- Drawable to use as a vertical divider between buttons. --> 3709 <attr name="divider" /> 3710 <!-- Setting for which dividers to show. --> 3711 <attr name="showDividers"> 3712 <flag name="none" value="0" /> 3713 <flag name="beginning" value="1" /> 3714 <flag name="middle" value="2" /> 3715 <flag name="end" value="4" /> 3716 </attr> 3717 <!-- Size of padding on either end of a divider. --> 3718 <attr name="dividerPadding" format="dimension" /> 3719 </declare-styleable> 3720 <declare-styleable name="GridLayout"> 3721 <!-- The orientation property is not used during layout. It is only used to 3722 allocate row and column parameters when they are not specified by its children's 3723 layout paramters. GridLayout works like LinearLayout in this case; 3724 putting all the components either in a single row or in a single column - 3725 depending on the value of this flag. In the horizontal case, a columnCount 3726 property may be additionally supplied to force new rows to be created when a 3727 row is full. The rowCount attribute may be used similarly in the vertical case. 3728 The default is horizontal. --> 3729 <attr name="orientation" /> 3730 <!-- The maxmimum number of rows to create when automatically positioning children. --> 3731 <attr name="rowCount" format="integer" /> 3732 <!-- The maxmimum number of columns to create when automatically positioning children. --> 3733 <attr name="columnCount" format="integer" /> 3734 <!-- When set to true, tells GridLayout to use default margins when none are specified 3735 in a view's layout parameters. 3736 The default value is false. 3737 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 3738 <attr name="useDefaultMargins" format="boolean" /> 3739 <!-- When set to alignMargins, causes alignment to take place between the outer 3740 boundary of a view, as defined by its margins. When set to alignBounds, 3741 causes alignment to take place between the edges of the view. 3742 The default is alignMargins. 3743 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 3744 <attr name="alignmentMode" /> 3745 <!-- When set to true, forces row boundaries to appear in the same order 3746 as row indices. 3747 The default is true. 3748 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 3749 <attr name="rowOrderPreserved" format="boolean" /> 3750 <!-- When set to true, forces column boundaries to appear in the same order 3751 as column indices. 3752 The default is true. 3753 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 3754 <attr name="columnOrderPreserved" format="boolean" /> 3755 </declare-styleable> 3756 <declare-styleable name="ListView"> 3757 <!-- Reference to an array resource that will populate the ListView. For static content, 3758 this is simpler than populating the ListView programmatically. --> 3759 <attr name="entries" /> 3760 <!-- Drawable or color to draw between list items. --> 3761 <attr name="divider" format="reference|color" /> 3762 <!-- Height of the divider. Will use the intrinsic height of the divider if this 3763 is not specified. --> 3764 <attr name="dividerHeight" format="dimension" /> 3765 <!-- When set to false, the ListView will not draw the divider after each header view. 3766 The default value is true. --> 3767 <attr name="headerDividersEnabled" format="boolean" /> 3768 <!-- When set to false, the ListView will not draw the divider before each footer view. 3769 The default value is true. --> 3770 <attr name="footerDividersEnabled" format="boolean" /> 3771 <!-- Drawable to draw above list content. --> 3772 <attr name="overScrollHeader" format="reference|color" /> 3773 <!-- Drawable to draw below list content. --> 3774 <attr name="overScrollFooter" format="reference|color" /> 3775 </declare-styleable> 3776 <declare-styleable name="PreferenceFrameLayout"> 3777 <!-- Padding to use at the top of the prefs content. --> 3778 <attr name="borderTop" format="dimension" /> 3779 <!-- Padding to use at the bottom of the prefs content. --> 3780 <attr name="borderBottom" format="dimension" /> 3781 <!-- Padding to use at the left of the prefs content. --> 3782 <attr name="borderLeft" format="dimension" /> 3783 <!-- Padding to use at the right of the prefs content. --> 3784 <attr name="borderRight" format="dimension" /> 3785 </declare-styleable> 3786 <declare-styleable name="PreferenceFrameLayout_Layout"> 3787 <!-- Padding to use at the top of the prefs content. --> 3788 <attr name="layout_removeBorders" format="boolean" /> 3789 </declare-styleable> 3790 <declare-styleable name="MenuView"> 3791 <!-- Default appearance of menu item text. --> 3792 <attr name="itemTextAppearance" format="reference" /> 3793 <!-- Default horizontal divider between rows of menu items. --> 3794 <attr name="horizontalDivider" format="reference" /> 3795 <!-- Default vertical divider between menu items. --> 3796 <attr name="verticalDivider" format="reference" /> 3797 <!-- Default background for the menu header. --> 3798 <attr name="headerBackground" format="color|reference" /> 3799 <!-- Default background for each menu item. --> 3800 <attr name="itemBackground" format="color|reference" /> 3801 <!-- Default animations for the menu. --> 3802 <attr name="windowAnimationStyle" /> 3803 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 3804 <attr name="itemIconDisabledAlpha" format="float" /> 3805 <!-- Whether space should be reserved in layout when an icon is missing. --> 3806 <attr name="preserveIconSpacing" format="boolean" /> 3807 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 3808 <attr name="subMenuArrow" format="reference" /> 3809 </declare-styleable> 3810 <declare-styleable name="IconMenuView"> 3811 <!-- Defines the height of each row. --> 3812 <attr name="rowHeight" format="dimension" /> 3813 <!-- Defines the maximum number of rows displayed. --> 3814 <attr name="maxRows" format="integer" /> 3815 <!-- Defines the maximum number of items per row. --> 3816 <attr name="maxItemsPerRow" format="integer" /> 3817 <!-- Defines the maximum number of items to show. --> 3818 <attr name="maxItems" format="integer" /> 3819 <!-- 'More' icon. --> 3820 <attr name="moreIcon" format="reference" /> 3821 </declare-styleable> 3822 3823 <declare-styleable name="ProgressBar"> 3824 <!-- Defines the maximum value the progress can take. --> 3825 <attr name="max" format="integer" /> 3826 <!-- Defines the default progress value, between 0 and max. --> 3827 <attr name="progress" format="integer" /> 3828 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 3829 the primary progress and the background. It can be ideal for media scenarios such as 3830 showing the buffering progress while the default progress shows the play progress. --> 3831 <attr name="secondaryProgress" format="integer" /> 3832 <!-- Allows to enable the indeterminate mode. In this mode the progress 3833 bar plays an infinite looping animation. --> 3834 <attr name="indeterminate" format="boolean" /> 3835 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 3836 <attr name="indeterminateOnly" format="boolean" /> 3837 <!-- Drawable used for the indeterminate mode. --> 3838 <attr name="indeterminateDrawable" format="reference" /> 3839 <!-- Drawable used for the progress mode. --> 3840 <attr name="progressDrawable" format="reference" /> 3841 <!-- Duration of the indeterminate animation. --> 3842 <attr name="indeterminateDuration" format="integer" min="1" /> 3843 <!-- Defines how the indeterminate mode should behave when the progress 3844 reaches max. --> 3845 <attr name="indeterminateBehavior"> 3846 <!-- Progress starts over from 0. --> 3847 <enum name="repeat" value="1" /> 3848 <!-- Progress keeps the current value and goes back to 0. --> 3849 <enum name="cycle" value="2" /> 3850 </attr> 3851 <attr name="minWidth" format="dimension" /> 3852 <attr name="maxWidth" /> 3853 <attr name="minHeight" format="dimension" /> 3854 <attr name="maxHeight" /> 3855 <attr name="interpolator" format="reference" /> 3856 <!-- Timeout between frames of animation in milliseconds 3857 {@deprecated Not used by the framework.} --> 3858 <attr name="animationResolution" format="integer" /> 3859 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 3860 Default is false --> 3861 <attr name="mirrorForRtl" format="boolean" /> 3862 <!-- Tint to apply to the progress indicator. --> 3863 <attr name="progressTint" format="color" /> 3864 <!-- Blending mode used to apply the progress indicator tint. --> 3865 <attr name="progressTintMode"> 3866 <!-- The tint is drawn on top of the drawable. 3867 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3868 <enum name="src_over" value="3" /> 3869 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3870 color channels are thrown out. [Sa * Da, Sc * Da] --> 3871 <enum name="src_in" value="5" /> 3872 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3873 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3874 <enum name="src_atop" value="9" /> 3875 <!-- Multiplies the color and alpha channels of the drawable with those of 3876 the tint. [Sa * Da, Sc * Dc] --> 3877 <enum name="multiply" value="14" /> 3878 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3879 <enum name="screen" value="15" /> 3880 <!-- Combines the tint and drawable color and alpha channels, clamping the 3881 result to valid color values. Saturate(S + D) --> 3882 <enum name="add" value="16" /> 3883 </attr> 3884 <!-- Tint to apply to the progress indicator background. --> 3885 <attr name="progressBackgroundTint" format="color" /> 3886 <!-- Blending mode used to apply the progress indicator background tint. --> 3887 <attr name="progressBackgroundTintMode"> 3888 <!-- The tint is drawn on top of the drawable. 3889 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3890 <enum name="src_over" value="3" /> 3891 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3892 color channels are thrown out. [Sa * Da, Sc * Da] --> 3893 <enum name="src_in" value="5" /> 3894 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3895 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3896 <enum name="src_atop" value="9" /> 3897 <!-- Multiplies the color and alpha channels of the drawable with those of 3898 the tint. [Sa * Da, Sc * Dc] --> 3899 <enum name="multiply" value="14" /> 3900 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3901 <enum name="screen" value="15" /> 3902 <!-- Combines the tint and drawable color and alpha channels, clamping the 3903 result to valid color values. Saturate(S + D) --> 3904 <enum name="add" value="16" /> 3905 </attr> 3906 <!-- Tint to apply to the secondary progress indicator. --> 3907 <attr name="secondaryProgressTint" format="color" /> 3908 <!-- Blending mode used to apply the secondary progress indicator tint. --> 3909 <attr name="secondaryProgressTintMode"> 3910 <!-- The tint is drawn on top of the drawable. 3911 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3912 <enum name="src_over" value="3" /> 3913 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3914 color channels are thrown out. [Sa * Da, Sc * Da] --> 3915 <enum name="src_in" value="5" /> 3916 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3917 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3918 <enum name="src_atop" value="9" /> 3919 <!-- Multiplies the color and alpha channels of the drawable with those of 3920 the tint. [Sa * Da, Sc * Dc] --> 3921 <enum name="multiply" value="14" /> 3922 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3923 <enum name="screen" value="15" /> 3924 <!-- Combines the tint and drawable color and alpha channels, clamping the 3925 result to valid color values. Saturate(S + D) --> 3926 <enum name="add" value="16" /> 3927 </attr> 3928 <!-- Tint to apply to the indeterminate progress indicator. --> 3929 <attr name="indeterminateTint" format="color" /> 3930 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 3931 <attr name="indeterminateTintMode"> 3932 <!-- The tint is drawn on top of the drawable. 3933 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3934 <enum name="src_over" value="3" /> 3935 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3936 color channels are thrown out. [Sa * Da, Sc * Da] --> 3937 <enum name="src_in" value="5" /> 3938 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3939 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3940 <enum name="src_atop" value="9" /> 3941 <!-- Multiplies the color and alpha channels of the drawable with those of 3942 the tint. [Sa * Da, Sc * Dc] --> 3943 <enum name="multiply" value="14" /> 3944 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3945 <enum name="screen" value="15" /> 3946 <!-- Combines the tint and drawable color and alpha channels, clamping the 3947 result to valid color values. Saturate(S + D) --> 3948 <enum name="add" value="16" /> 3949 </attr> 3950 <!-- Tint to apply to the background. --> 3951 <attr name="backgroundTint" /> 3952 <!-- Blending mode used to apply the background tint. --> 3953 <attr name="backgroundTintMode" /> 3954 </declare-styleable> 3955 3956 <declare-styleable name="SeekBar"> 3957 <!-- Draws the thumb on a seekbar. --> 3958 <attr name="thumb" format="reference" /> 3959 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 3960 <attr name="thumbOffset" format="dimension" /> 3961 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 3962 <attr name="splitTrack" format="boolean" /> 3963 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 3964 when disabled. This is required for Holo and Gingerbread, but 3965 should always be false for Material and beyond. 3966 @hide Developers shouldn't need to change this. --> 3967 <attr name="useDisabledAlpha" format="boolean" /> 3968 <!-- Tint to apply to the button graphic. --> 3969 <attr name="thumbTint" format="color" /> 3970 <!-- Blending mode used to apply the button graphic tint. --> 3971 <attr name="thumbTintMode"> 3972 <!-- The tint is drawn on top of the drawable. 3973 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3974 <enum name="src_over" value="3" /> 3975 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3976 color channels are thrown out. [Sa * Da, Sc * Da] --> 3977 <enum name="src_in" value="5" /> 3978 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3979 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3980 <enum name="src_atop" value="9" /> 3981 <!-- Multiplies the color and alpha channels of the drawable with those of 3982 the tint. [Sa * Da, Sc * Dc] --> 3983 <enum name="multiply" value="14" /> 3984 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3985 <enum name="screen" value="15" /> 3986 <!-- Combines the tint and drawable color and alpha channels, clamping the 3987 result to valid color values. Saturate(S + D) --> 3988 <enum name="add" value="16" /> 3989 </attr> 3990 </declare-styleable> 3991 3992 <declare-styleable name="StackView"> 3993 <!-- Color of the res-out outline. --> 3994 <attr name="resOutColor" format="color" /> 3995 <!-- Color of the outline of click feedback. --> 3996 <attr name="clickColor" format="color" /> 3997 </declare-styleable> 3998 3999 <declare-styleable name="RatingBar"> 4000 <!-- The number of stars (or rating items) to show. --> 4001 <attr name="numStars" format="integer" /> 4002 <!-- The rating to set by default. --> 4003 <attr name="rating" format="float" /> 4004 <!-- The step size of the rating. --> 4005 <attr name="stepSize" format="float" /> 4006 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4007 <attr name="isIndicator" format="boolean" /> 4008 </declare-styleable> 4009 4010 <declare-styleable name="RadioGroup"> 4011 <!-- The id of the child radio button that should be checked by default 4012 within this radio group. --> 4013 <attr name="checkedButton" format="integer" /> 4014 <!-- Should the radio group be a column or a row? Use "horizontal" 4015 for a row, "vertical" for a column. The default is 4016 vertical. --> 4017 <attr name="orientation" /> 4018 </declare-styleable> 4019 <declare-styleable name="TableLayout"> 4020 <!-- The zero-based index of the columns to stretch. The column indices 4021 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4022 indices are ignored. You can stretch all columns by using the 4023 value "*" instead. Note that a column can be marked stretchable 4024 and shrinkable at the same time. --> 4025 <attr name="stretchColumns" format="string" /> 4026 <!-- The zero-based index of the columns to shrink. The column indices 4027 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4028 indices are ignored. You can shrink all columns by using the 4029 value "*" instead. Note that a column can be marked stretchable 4030 and shrinkable at the same time. --> 4031 <attr name="shrinkColumns" format="string" /> 4032 <!-- The zero-based index of the columns to collapse. The column indices 4033 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4034 indices are ignored. --> 4035 <attr name="collapseColumns" format="string" /> 4036 </declare-styleable> 4037 <declare-styleable name="TableRow"> 4038 4039 </declare-styleable> 4040 <declare-styleable name="TableRow_Cell"> 4041 <!-- The index of the column in which this child should be. --> 4042 <attr name="layout_column" format="integer" /> 4043 <!-- Defines how many columns this child should span. Must be >= 1.--> 4044 <attr name="layout_span" format="integer" /> 4045 </declare-styleable> 4046 <declare-styleable name="TabWidget"> 4047 <!-- Drawable used to draw the divider between tabs. --> 4048 <attr name="divider" /> 4049 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4050 <attr name="tabStripEnabled" format="boolean" /> 4051 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4052 <attr name="tabStripLeft" format="reference" /> 4053 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4054 <attr name="tabStripRight" format="reference" /> 4055 <!-- Layout used to organize each tab's content. --> 4056 <attr name="tabLayout" format="reference" /> 4057 </declare-styleable> 4058 <declare-styleable name="TextAppearance"> 4059 <!-- Text color. --> 4060 <attr name="textColor" /> 4061 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4062 <attr name="textSize" /> 4063 <!-- Style (bold, italic, bolditalic) for the text. --> 4064 <attr name="textStyle" /> 4065 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4066 <attr name="typeface" /> 4067 <!-- Font family (named by string) for the text. --> 4068 <attr name="fontFamily" /> 4069 <!-- Color of the text selection highlight. --> 4070 <attr name="textColorHighlight" /> 4071 <!-- Color of the hint text. --> 4072 <attr name="textColorHint" /> 4073 <!-- Color of the links. --> 4074 <attr name="textColorLink" /> 4075 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4076 <attr name="textAllCaps" format="boolean" /> 4077 <!-- Place a blurred shadow of text underneath the text, drawn with the 4078 specified color. The text shadow produced does not interact with 4079 properties on View that are responsible for real time shadows, 4080 {@link android.R.styleable#View_elevation elevation} and 4081 {@link android.R.styleable#View_translationZ translationZ}. --> 4082 <attr name="shadowColor" format="color" /> 4083 <!-- Horizontal offset of the text shadow. --> 4084 <attr name="shadowDx" format="float" /> 4085 <!-- Vertical offset of the text shadow. --> 4086 <attr name="shadowDy" format="float" /> 4087 <!-- Blur radius of the text shadow. --> 4088 <attr name="shadowRadius" format="float" /> 4089 <!-- Elegant text height, especially for less compacted complex script text. --> 4090 <attr name="elegantTextHeight" format="boolean" /> 4091 <!-- Text letter-spacing. --> 4092 <attr name="letterSpacing" format="float" /> 4093 <!-- Font feature settings. --> 4094 <attr name="fontFeatureSettings" format="string" /> 4095 </declare-styleable> 4096 <declare-styleable name="TextClock"> 4097 <!-- Specifies the formatting pattern used to show the time and/or date 4098 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4099 for a complete description of accepted formatting patterns. 4100 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4101 <attr name="format12Hour" format="string"/> 4102 <!-- Specifies the formatting pattern used to show the time and/or date 4103 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4104 for a complete description of accepted formatting patterns. 4105 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4106 <attr name="format24Hour" format="string"/> 4107 <!-- Specifies the time zone to use. When this attribute is specified, the 4108 TextClock will ignore the time zone of the system. To use the user's 4109 time zone, do not specify this attribute. The default value is the 4110 user's time zone. Please refer to {@link java.util.TimeZone} for more 4111 information about time zone ids. --> 4112 <attr name="timeZone" format="string"/> 4113 </declare-styleable> 4114 <declare-styleable name="TextSwitcher"> 4115 </declare-styleable> 4116 <declare-styleable name="TextView"> 4117 <!-- Determines the minimum type that getText() will return. 4118 The default is "normal". 4119 Note that EditText and LogTextBox always return Editable, 4120 even if you specify something less powerful here. --> 4121 <attr name="bufferType"> 4122 <!-- Can return any CharSequence, possibly a 4123 Spanned one if the source text was Spanned. --> 4124 <enum name="normal" value="0" /> 4125 <!-- Can only return Spannable. --> 4126 <enum name="spannable" value="1" /> 4127 <!-- Can only return Spannable and Editable. --> 4128 <enum name="editable" value="2" /> 4129 </attr> 4130 <!-- Text to display. --> 4131 <attr name="text" format="string" localization="suggested" /> 4132 <!-- Hint text to display when the text is empty. --> 4133 <attr name="hint" format="string" /> 4134 <!-- Text color. --> 4135 <attr name="textColor" /> 4136 <!-- Color of the text selection highlight. --> 4137 <attr name="textColorHighlight" /> 4138 <!-- Color of the hint text. --> 4139 <attr name="textColorHint" /> 4140 <!-- Base text color, typeface, size, and style. --> 4141 <attr name="textAppearance" /> 4142 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4143 <attr name="textSize" /> 4144 <!-- Sets the horizontal scaling factor for the text. --> 4145 <attr name="textScaleX" format="float" /> 4146 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4147 <attr name="typeface" /> 4148 <!-- Style (bold, italic, bolditalic) for the text. --> 4149 <attr name="textStyle" /> 4150 <!-- Font family (named by string) for the text. --> 4151 <attr name="fontFamily" /> 4152 <!-- Text color for links. --> 4153 <attr name="textColorLink" /> 4154 <!-- Makes the cursor visible (the default) or invisible. --> 4155 <attr name="cursorVisible" format="boolean" /> 4156 <!-- Makes the TextView be at most this many lines tall. 4157 4158 When used on an editable text, the <code>inputType</code> attribute's value must be 4159 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4160 <attr name="maxLines" format="integer" min="0" /> 4161 <!-- Makes the TextView be at most this many pixels tall. --> 4162 <attr name="maxHeight" /> 4163 <!-- Makes the TextView be exactly this many lines tall. --> 4164 <attr name="lines" format="integer" min="0" /> 4165 <!-- Makes the TextView be exactly this many pixels tall. 4166 You could get the same effect by specifying this number in the 4167 layout parameters. --> 4168 <attr name="height" format="dimension" /> 4169 <!-- Makes the TextView be at least this many lines tall. 4170 4171 When used on an editable text, the <code>inputType</code> attribute's value must be 4172 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4173 <attr name="minLines" format="integer" min="0" /> 4174 <!-- Makes the TextView be at least this many pixels tall. --> 4175 <attr name="minHeight" /> 4176 <!-- Makes the TextView be at most this many ems wide. --> 4177 <attr name="maxEms" format="integer" min="0" /> 4178 <!-- Makes the TextView be at most this many pixels wide. --> 4179 <attr name="maxWidth" /> 4180 <!-- Makes the TextView be exactly this many ems wide. --> 4181 <attr name="ems" format="integer" min="0" /> 4182 <!-- Makes the TextView be exactly this many pixels wide. 4183 You could get the same effect by specifying this number in the 4184 layout parameters. --> 4185 <attr name="width" format="dimension" /> 4186 <!-- Makes the TextView be at least this many ems wide. --> 4187 <attr name="minEms" format="integer" min="0" /> 4188 <!-- Makes the TextView be at least this many pixels wide. --> 4189 <attr name="minWidth" /> 4190 <!-- Specifies how to align the text by the view's x- and/or y-axis 4191 when the text is smaller than the view. --> 4192 <attr name="gravity" /> 4193 <!-- Whether the text is allowed to be wider than the view (and 4194 therefore can be scrolled horizontally). --> 4195 <attr name="scrollHorizontally" format="boolean" /> 4196 <!-- Whether the characters of the field are displayed as 4197 password dots instead of themselves. 4198 {@deprecated Use inputType instead.} --> 4199 <attr name="password" format="boolean" /> 4200 <!-- Constrains the text to a single horizontally scrolling line 4201 instead of letting it wrap onto multiple lines, and advances 4202 focus instead of inserting a newline when you press the 4203 enter key. 4204 4205 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4206 you specify any value for inputType, the default is true (single-line input field mode). 4207 4208 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4209 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4210 inputType attribute instead for editable text views (if both singleLine and inputType 4211 are supplied, the inputType flags will override the value of singleLine). } --> 4212 <attr name="singleLine" format="boolean" /> 4213 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4214 For example, a non-enabled EditText prevents the user from editing the contained text, and 4215 a non-enabled Button prevents the user from tapping the button. 4216 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4217 from evaluating state_enabled differ. --> 4218 <attr name="enabled" format="boolean" /> 4219 <!-- If the text is selectable, select it all when the view takes 4220 focus. --> 4221 <attr name="selectAllOnFocus" format="boolean" /> 4222 <!-- Leave enough room for ascenders and descenders instead of 4223 using the font ascent and descent strictly. (Normally true). --> 4224 <attr name="includeFontPadding" format="boolean" /> 4225 <!-- Set an input filter to constrain the text length to the 4226 specified number. --> 4227 <attr name="maxLength" format="integer" min="0" /> 4228 <!-- Place a blurred shadow of text underneath the text, drawn with the 4229 specified color. The text shadow produced does not interact with 4230 properties on View that are responsible for real time shadows, 4231 {@link android.R.styleable#View_elevation elevation} and 4232 {@link android.R.styleable#View_translationZ translationZ}. --> 4233 <attr name="shadowColor" /> 4234 <!-- Horizontal offset of the text shadow. --> 4235 <attr name="shadowDx" /> 4236 <!-- Vertical offset of the text shadow. --> 4237 <attr name="shadowDy" /> 4238 <!-- Blur radius of the text shadow. --> 4239 <attr name="shadowRadius" /> 4240 <attr name="autoLink" /> 4241 <!-- If set to false, keeps the movement method from being set 4242 to the link movement method even if autoLink causes links 4243 to be found. --> 4244 <attr name="linksClickable" format="boolean" /> 4245 <!-- If set, specifies that this TextView has a numeric input method. 4246 The default is false. 4247 {@deprecated Use inputType instead.} --> 4248 <attr name="numeric"> 4249 <!-- Input is numeric. --> 4250 <flag name="integer" value="0x01" /> 4251 <!-- Input is numeric, with sign allowed. --> 4252 <flag name="signed" value="0x03" /> 4253 <!-- Input is numeric, with decimals allowed. --> 4254 <flag name="decimal" value="0x05" /> 4255 </attr> 4256 <!-- If set, specifies that this TextView has a numeric input method 4257 and that these specific characters are the ones that it will 4258 accept. 4259 If this is set, numeric is implied to be true. 4260 The default is false. --> 4261 <attr name="digits" format="string" /> 4262 <!-- If set, specifies that this TextView has a phone number input 4263 method. The default is false. 4264 {@deprecated Use inputType instead.} --> 4265 <attr name="phoneNumber" format="boolean" /> 4266 <!-- If set, specifies that this TextView should use the specified 4267 input method (specified by fully-qualified class name). 4268 {@deprecated Use inputType instead.} --> 4269 <attr name="inputMethod" format="string" /> 4270 <!-- If set, specifies that this TextView has a textual input method 4271 and should automatically capitalize what the user types. 4272 The default is "none". 4273 {@deprecated Use inputType instead.} --> 4274 <attr name="capitalize"> 4275 <!-- Don't automatically capitalize anything. --> 4276 <enum name="none" value="0" /> 4277 <!-- Capitalize the first word of each sentence. --> 4278 <enum name="sentences" value="1" /> 4279 <!-- Capitalize the first letter of every word. --> 4280 <enum name="words" value="2" /> 4281 <!-- Capitalize every character. --> 4282 <enum name="characters" value="3" /> 4283 </attr> 4284 <!-- If set, specifies that this TextView has a textual input method 4285 and automatically corrects some common spelling errors. 4286 The default is "false". 4287 {@deprecated Use inputType instead.} --> 4288 <attr name="autoText" format="boolean" /> 4289 <!-- If set, specifies that this TextView has an input method. 4290 It will be a textual one unless it has otherwise been specified. 4291 For TextView, this is false by default. For EditText, it is 4292 true by default. 4293 {@deprecated Use inputType instead.} --> 4294 <attr name="editable" format="boolean" /> 4295 <!-- If set, the text view will include its current complete text 4296 inside of its frozen icicle in addition to meta-data such as 4297 the current cursor position. By default this is disabled; 4298 it can be useful when the contents of a text view is not stored 4299 in a persistent place such as a content provider. --> 4300 <attr name="freezesText" format="boolean" /> 4301 <!-- If set, causes words that are longer than the view is wide 4302 to be ellipsized instead of broken in the middle. 4303 You will often also want to set scrollHorizontally or singleLine 4304 as well so that the text as a whole is also constrained to 4305 a single line instead of still allowed to be broken onto 4306 multiple lines. --> 4307 <attr name="ellipsize" /> 4308 <!-- The drawable to be drawn above the text. --> 4309 <attr name="drawableTop" format="reference|color" /> 4310 <!-- The drawable to be drawn below the text. --> 4311 <attr name="drawableBottom" format="reference|color" /> 4312 <!-- The drawable to be drawn to the left of the text. --> 4313 <attr name="drawableLeft" format="reference|color" /> 4314 <!-- The drawable to be drawn to the right of the text. --> 4315 <attr name="drawableRight" format="reference|color" /> 4316 <!-- The drawable to be drawn to the start of the text. --> 4317 <attr name="drawableStart" format="reference|color" /> 4318 <!-- The drawable to be drawn to the end of the text. --> 4319 <attr name="drawableEnd" format="reference|color" /> 4320 <!-- The padding between the drawables and the text. --> 4321 <attr name="drawablePadding" format="dimension" /> 4322 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4323 <attr name="drawableTint" format="color" /> 4324 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4325 <attr name="drawableTintMode"> 4326 <!-- The tint is drawn on top of the drawable. 4327 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4328 <enum name="src_over" value="3" /> 4329 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4330 color channels are thrown out. [Sa * Da, Sc * Da] --> 4331 <enum name="src_in" value="5" /> 4332 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4333 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4334 <enum name="src_atop" value="9" /> 4335 <!-- Multiplies the color and alpha channels of the drawable with those of 4336 the tint. [Sa * Da, Sc * Dc] --> 4337 <enum name="multiply" value="14" /> 4338 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4339 <enum name="screen" value="15" /> 4340 <!-- Combines the tint and drawable color and alpha channels, clamping the 4341 result to valid color values. Saturate(S + D) --> 4342 <enum name="add" value="16" /> 4343 </attr> 4344 <!-- Extra spacing between lines of text. --> 4345 <attr name="lineSpacingExtra" format="dimension" /> 4346 <!-- Extra spacing between lines of text, as a multiplier. --> 4347 <attr name="lineSpacingMultiplier" format="float" /> 4348 <!-- The number of times to repeat the marquee animation. Only applied if the 4349 TextView has marquee enabled. --> 4350 <attr name="marqueeRepeatLimit" format="integer"> 4351 <!-- Indicates that marquee should repeat indefinitely. --> 4352 <enum name="marquee_forever" value="-1" /> 4353 </attr> 4354 <attr name="inputType" /> 4355 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4356 <attr name="allowUndo" format="boolean" /> 4357 <attr name="imeOptions" /> 4358 <!-- An addition content type description to supply to the input 4359 method attached to the text view, which is private to the 4360 implementation of the input method. This simply fills in 4361 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4362 EditorInfo.privateImeOptions} field when the input 4363 method is connected. --> 4364 <attr name="privateImeOptions" format="string" /> 4365 <!-- Supply a value for 4366 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4367 used when an input method is connected to the text view. --> 4368 <attr name="imeActionLabel" format="string" /> 4369 <!-- Supply a value for 4370 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4371 used when an input method is connected to the text view. --> 4372 <attr name="imeActionId" format="integer" /> 4373 <!-- Reference to an 4374 {@link android.R.styleable#InputExtras <input-extras>} 4375 XML resource containing additional data to 4376 supply to an input method, which is private to the implementation 4377 of the input method. This simply fills in 4378 the {@link android.view.inputmethod.EditorInfo#extras 4379 EditorInfo.extras} field when the input 4380 method is connected. --> 4381 <attr name="editorExtras" format="reference" /> 4382 4383 <!-- Reference to a drawable that will be used to display a text selection 4384 anchor on the left side of a selection region. --> 4385 <attr name="textSelectHandleLeft" /> 4386 <!-- Reference to a drawable that will be used to display a text selection 4387 anchor on the right side of a selection region. --> 4388 <attr name="textSelectHandleRight" /> 4389 <!-- Reference to a drawable that will be used to display a text selection 4390 anchor for positioning the cursor within text. --> 4391 <attr name="textSelectHandle" /> 4392 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4393 TextEdit field. --> 4394 <attr name="textEditPasteWindowLayout" /> 4395 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4396 <attr name="textEditNoPasteWindowLayout" /> 4397 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4398 insertion cursor because it would be clipped if it were positioned on top. --> 4399 <attr name="textEditSidePasteWindowLayout" /> 4400 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4401 <attr name="textEditSideNoPasteWindowLayout" /> 4402 4403 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4404 <attr name="textEditSuggestionItemLayout" /> 4405 4406 4407 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4408 <attr name="textCursorDrawable" /> 4409 4410 <!-- Indicates that the content of a non-editable text can be selected. --> 4411 <attr name="textIsSelectable" /> 4412 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4413 <attr name="textAllCaps" /> 4414 <!-- Elegant text height, especially for less compacted complex script text. --> 4415 <attr name="elegantTextHeight" /> 4416 <!-- Text letter-spacing. --> 4417 <attr name="letterSpacing" /> 4418 <!-- Font feature settings. --> 4419 <attr name="fontFeatureSettings" /> 4420 <!-- Break strategy (control over paragraph layout). --> 4421 <attr name="breakStrategy"> 4422 <!-- Line breaking uses simple strategy. --> 4423 <enum name="simple" value="0" /> 4424 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4425 <enum name="high_quality" value="1" /> 4426 <!-- Line breaking strategy balances line lengths. --> 4427 <enum name="balanced" value="2" /> 4428 </attr> 4429 <!-- Frequency of automatic hyphenation. --> 4430 <attr name="hyphenationFrequency"> 4431 <!-- No hyphenation. --> 4432 <enum name="none" value="0" /> 4433 <!-- Less frequent hyphenation, useful for informal use cases, such 4434 as chat messages. --> 4435 <enum name="normal" value="1" /> 4436 <!-- Standard amount of hyphenation, useful for running text and for 4437 screens with limited space for text. --> 4438 <enum name="full" value="2" /> 4439 </attr> 4440 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 4441 <attr name="__removeBeforeMRelease_leftIndents" format="reference" /> 4442 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 4443 <attr name="__removeBeforeMRelease_rightIndents" format="reference" /> 4444 </declare-styleable> 4445 <declare-styleable name="TextViewAppearance"> 4446 <!-- Base text color, typeface, size, and style. --> 4447 <attr name="textAppearance" /> 4448 </declare-styleable> 4449 <declare-styleable name="SelectionModeDrawables"> 4450 <attr name="actionModeSelectAllDrawable" /> 4451 <attr name="actionModeCutDrawable" /> 4452 <attr name="actionModeCopyDrawable" /> 4453 <attr name="actionModePasteDrawable" /> 4454 </declare-styleable> 4455 <declare-styleable name="SuggestionSpan"> 4456 <attr name="textUnderlineColor" /> 4457 <attr name="textUnderlineThickness" /> 4458 </declare-styleable> 4459 <!-- An <code>input-extras</code> is a container for extra data to supply to 4460 an input method. Contains 4461 one more more {@link #Extra <extra>} tags. --> 4462 <declare-styleable name="InputExtras"> 4463 </declare-styleable> 4464 <declare-styleable name="AutoCompleteTextView"> 4465 <!-- Defines the hint displayed in the drop down menu. --> 4466 <attr name="completionHint" format="string" /> 4467 <!-- Defines the hint view displayed in the drop down menu. --> 4468 <attr name="completionHintView" format="reference" /> 4469 <!-- Defines the number of characters that the user must type before 4470 completion suggestions are displayed in a drop down menu. --> 4471 <attr name="completionThreshold" format="integer" min="1" /> 4472 <!-- Selector in a drop down list. --> 4473 <attr name="dropDownSelector" format="reference|color" /> 4474 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4475 is used. --> 4476 <attr name="dropDownAnchor" format="reference" /> 4477 <!-- Specifies the basic width of the dropdown. Its value may 4478 be a dimension (such as "12dip") for a constant width, 4479 fill_parent or match_parent to match the width of the 4480 screen, or wrap_content to match the width of 4481 the anchored view. --> 4482 <attr name="dropDownWidth" format="dimension"> 4483 <!-- The dropdown should fill the width of the screen. 4484 This constant is deprecated starting from API Level 8 and 4485 is replaced by {@code match_parent}. --> 4486 <enum name="fill_parent" value="-1" /> 4487 <!-- The dropdown should fit the width of the screen. 4488 Introduced in API Level 8. --> 4489 <enum name="match_parent" value="-1" /> 4490 <!-- The dropdown should fit the width of its anchor. --> 4491 <enum name="wrap_content" value="-2" /> 4492 </attr> 4493 <!-- Specifies the basic height of the dropdown. Its value may 4494 be a dimension (such as "12dip") for a constant height, 4495 fill_parent or match_parent to fill the height of the 4496 screen, or wrap_content to match the height of 4497 the content of the drop down. --> 4498 <attr name="dropDownHeight" format="dimension"> 4499 <!-- The dropdown should fit the height of the screen. 4500 This constant is deprecated starting from API Level 8 and 4501 is replaced by {@code match_parent}. --> 4502 <enum name="fill_parent" value="-1" /> 4503 <!-- The dropdown should fit the height of the screen. 4504 Introduced in API Level 8. --> 4505 <enum name="match_parent" value="-1" /> 4506 <!-- The dropdown should fit the height of the content. --> 4507 <enum name="wrap_content" value="-2" /> 4508 </attr> 4509 <attr name="inputType" /> 4510 <!-- Theme to use for the completion popup window. --> 4511 <attr name="popupTheme" /> 4512 </declare-styleable> 4513 <declare-styleable name="PopupWindow"> 4514 <!-- The background to use for the popup window. --> 4515 <attr name="popupBackground" format="reference|color" /> 4516 <!-- Window elevation to use for the popup window. --> 4517 <attr name="popupElevation" format="dimension" /> 4518 <!-- The animation style to use for the popup window. --> 4519 <attr name="popupAnimationStyle" format="reference" /> 4520 <!-- Whether the popup window should overlap its anchor view. --> 4521 <attr name="overlapAnchor" format="boolean" /> 4522 <!-- Transition used to move views into the popup window. --> 4523 <attr name="popupEnterTransition" format="reference" /> 4524 <!-- Transition used to move views out of the popup window. --> 4525 <attr name="popupExitTransition" format="reference" /> 4526 </declare-styleable> 4527 <declare-styleable name="ListPopupWindow"> 4528 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4529 <attr name="dropDownVerticalOffset" format="dimension" /> 4530 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4531 <attr name="dropDownHorizontalOffset" format="dimension" /> 4532 </declare-styleable> 4533 <declare-styleable name="ViewAnimator"> 4534 <!-- Identifier for the animation to use when a view is shown. --> 4535 <attr name="inAnimation" format="reference" /> 4536 <!-- Identifier for the animation to use when a view is hidden. --> 4537 <attr name="outAnimation" format="reference" /> 4538 <!-- Defines whether to animate the current View when the ViewAnimation 4539 is first displayed. --> 4540 <attr name="animateFirstView" format="boolean" /> 4541 </declare-styleable> 4542 <declare-styleable name="ViewFlipper"> 4543 <attr name="flipInterval" format="integer" min="0" /> 4544 <!-- When true, automatically start animating --> 4545 <attr name="autoStart" format="boolean" /> 4546 </declare-styleable> 4547 <declare-styleable name="AdapterViewAnimator"> 4548 <!-- Identifier for the animation to use when a view is shown. --> 4549 <attr name="inAnimation" /> 4550 <!-- Identifier for the animation to use when a view is hidden. --> 4551 <attr name="outAnimation" /> 4552 <!--Defines whether the animator loops to the first view once it 4553 has reached the end of the list. --> 4554 <attr name="loopViews" format="boolean" /> 4555 <!-- Defines whether to animate the current View when the ViewAnimation 4556 is first displayed. --> 4557 <attr name="animateFirstView" /> 4558 </declare-styleable> 4559 <declare-styleable name="AdapterViewFlipper"> 4560 <attr name="flipInterval" /> 4561 <!-- When true, automatically start animating --> 4562 <attr name="autoStart" /> 4563 </declare-styleable> 4564 <declare-styleable name="ViewSwitcher"> 4565 </declare-styleable> 4566 <declare-styleable name="ScrollView"> 4567 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4568 <attr name="fillViewport" format="boolean" /> 4569 </declare-styleable> 4570 <declare-styleable name="HorizontalScrollView"> 4571 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4572 <attr name="fillViewport" /> 4573 </declare-styleable> 4574 <declare-styleable name="Spinner"> 4575 <!-- The prompt to display when the spinner's dialog is shown. --> 4576 <attr name="prompt" format="reference" /> 4577 <!-- Display mode for spinner options. --> 4578 <attr name="spinnerMode" format="enum"> 4579 <!-- Spinner options will be presented to the user as a dialog window. --> 4580 <enum name="dialog" value="0" /> 4581 <!-- Spinner options will be presented to the user as an inline dropdown 4582 anchored to the spinner widget itself. --> 4583 <enum name="dropdown" value="1" /> 4584 </attr> 4585 <!-- List selector to use for spinnerMode="dropdown" display. --> 4586 <attr name="dropDownSelector" /> 4587 <!-- Theme to use for the drop-down or dialog popup window. --> 4588 <attr name="popupTheme" /> 4589 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 4590 <attr name="popupBackground" /> 4591 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 4592 <attr name="popupElevation" /> 4593 <!-- Width of the dropdown in spinnerMode="dropdown". --> 4594 <attr name="dropDownWidth" /> 4595 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 4596 spinnerMode="dropdown". This layout must contain a TextView with the id 4597 {@code @android:id/text1} to be populated with the prompt text. --> 4598 <attr name="popupPromptView" format="reference" /> 4599 <!-- Gravity setting for positioning the currently selected item. --> 4600 <attr name="gravity" /> 4601 <!-- Whether this spinner should mark child views as enabled/disabled when 4602 the spinner itself is enabled/disabled. --> 4603 <attr name="disableChildrenWhenDisabled" format="boolean" /> 4604 </declare-styleable> 4605 4606 <declare-styleable name="DatePicker"> 4607 <!-- The first day of week according to {@link java.util.Calendar}. --> 4608 <attr name="firstDayOfWeek" /> 4609 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4610 <attr name="minDate" format="string" /> 4611 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 4612 <attr name="maxDate" format="string" /> 4613 4614 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 4615 <attr name="spinnersShown" format="boolean" /> 4616 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 4617 <attr name="calendarViewShown" format="boolean" /> 4618 4619 <!-- @hide The layout of the date picker. --> 4620 <attr name="internalLayout" format="reference" /> 4621 <!-- @hide The layout of the legacy DatePicker. --> 4622 <attr name="legacyLayout" /> 4623 4624 <!-- The text color for the selected date header text, ex. "2014" or 4625 "Tue, Mar 18". This should be a color state list where the 4626 activated state will be used when the year picker or day picker is 4627 active.--> 4628 <attr name="headerTextColor" format="color" /> 4629 <!-- The background for the selected date header. --> 4630 <attr name="headerBackground" /> 4631 4632 <!-- The list year's text appearance in the list. 4633 {@deprecated Use yearListTextColor. }--> 4634 <attr name="yearListItemTextAppearance" format="reference" /> 4635 <!-- @hide The list year's text appearance in the list when activated. --> 4636 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 4637 <!-- The text color list of the calendar. --> 4638 <attr name="calendarTextColor" format="color" /> 4639 4640 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4641 spinner. As of L, with the Material theme selected, the default layout is calendar, 4642 but this attribute can be used to force spinner to be used instead. --> 4643 <attr name="datePickerMode"> 4644 <!-- Date picker with spinner controls to select the date. --> 4645 <enum name="spinner" value="1" /> 4646 <!-- Date picker with calendar to select the date. --> 4647 <enum name="calendar" value="2" /> 4648 </attr> 4649 4650 <!-- The first year (inclusive), for example "1940". 4651 {@deprecated Use minDate instead.} --> 4652 <attr name="startYear" format="integer" /> 4653 <!-- The last year (inclusive), for example "2010". 4654 {@deprecated Use maxDate instead.} --> 4655 <attr name="endYear" format="integer" /> 4656 <!-- The text appearance for the month (ex. May) in the selected date header. 4657 {@deprecated Use headerTextColor instead.} --> 4658 <attr name="headerMonthTextAppearance" format="reference" /> 4659 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 4660 {@deprecated Use headerTextColor instead.} --> 4661 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 4662 <!-- The text appearance for the year (ex. 2014) in the selected date header. 4663 {@deprecated Use headerTextColor instead.} --> 4664 <attr name="headerYearTextAppearance" format="reference" /> 4665 <!-- The background color for the header's day of week. 4666 {@deprecated No longer displayed.} --> 4667 <attr name="dayOfWeekBackground" format="color" /> 4668 <!-- The text color for the header's day of week. 4669 {@deprecated No longer displayed.} --> 4670 <attr name="dayOfWeekTextAppearance" format="reference" /> 4671 <!-- The list year's selected circle color in the list. 4672 {@deprecated No longer displayed.} --> 4673 <attr name="yearListSelectorColor" format="color" /> 4674 </declare-styleable> 4675 4676 <declare-styleable name="TwoLineListItem"> 4677 <attr name="mode"> 4678 <!-- Always show only the first line. --> 4679 <enum name="oneLine" value="1" /> 4680 <!-- When selected show both lines, otherwise show only the first line. 4681 This is the default mode. --> 4682 <enum name="collapsing" value="2" /> 4683 <!-- Always show both lines. --> 4684 <enum name="twoLine" value="3" /> 4685 </attr> 4686 </declare-styleable> 4687 4688 <!-- SlidingDrawer specific attributes. These attributes are used to configure 4689 a SlidingDrawer from XML. --> 4690 <declare-styleable name="SlidingDrawer"> 4691 <!-- Identifier for the child that represents the drawer's handle. --> 4692 <attr name="handle" format="reference" /> 4693 <!-- Identifier for the child that represents the drawer's content. --> 4694 <attr name="content" format="reference" /> 4695 <!-- Orientation of the SlidingDrawer. --> 4696 <attr name="orientation" /> 4697 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 4698 <attr name="bottomOffset" format="dimension" /> 4699 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 4700 <attr name="topOffset" format="dimension" /> 4701 <!-- Indicates whether the drawer can be opened/closed by a single tap 4702 on the handle. (If false, the user must drag or fling, or click 4703 using the trackball, to open/close the drawer.) Default is true. --> 4704 <attr name="allowSingleTap" format="boolean" /> 4705 <!-- Indicates whether the drawer should be opened/closed with an animation 4706 when the user clicks the handle. Default is true. --> 4707 <attr name="animateOnClick" format="boolean" /> 4708 </declare-styleable> 4709 4710 <!-- GestureOverlayView specific attributes. These attributes are used to configure 4711 a GestureOverlayView from XML. --> 4712 <declare-styleable name="GestureOverlayView"> 4713 <!-- Width of the stroke used to draw the gesture. --> 4714 <attr name="gestureStrokeWidth" format="float" /> 4715 <!-- Color used to draw a gesture. --> 4716 <attr name="gestureColor" format="color" /> 4717 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 4718 <attr name="uncertainGestureColor" format="color" /> 4719 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 4720 is done drawing it. --> 4721 <attr name="fadeOffset" format="integer" /> 4722 <!-- Duration, in milliseconds, of the fade out effect after the user is done 4723 drawing a gesture. --> 4724 <attr name="fadeDuration" format="integer" /> 4725 <!-- Defines the type of strokes that define a gesture. --> 4726 <attr name="gestureStrokeType"> 4727 <!-- A gesture is made of only one stroke. --> 4728 <enum name="single" value="0" /> 4729 <!-- A gesture is made of multiple strokes. --> 4730 <enum name="multiple" value="1" /> 4731 </attr> 4732 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 4733 <attr name="gestureStrokeLengthThreshold" format="float" /> 4734 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 4735 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 4736 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 4737 <attr name="gestureStrokeAngleThreshold" format="float" /> 4738 <!-- Defines whether the overlay should intercept the motion events when a gesture 4739 is recognized. --> 4740 <attr name="eventsInterceptionEnabled" format="boolean" /> 4741 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 4742 <attr name="fadeEnabled" format="boolean" /> 4743 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 4744 (when orientation is horizontal) strokes automatically define a gesture. --> 4745 <attr name="orientation" /> 4746 </declare-styleable> 4747 4748 <declare-styleable name="QuickContactBadge"> 4749 <attr name="quickContactWindowSize"> 4750 <enum name="modeSmall" value="1" /> 4751 <enum name="modeMedium" value="2" /> 4752 <enum name="modeLarge" value="3" /> 4753 </attr> 4754 </declare-styleable> 4755 4756 <!-- ======================================= --> 4757 <!-- Widget package parent layout attributes --> 4758 <!-- ======================================= --> 4759 <eat-comment /> 4760 4761 <declare-styleable name="AbsoluteLayout_Layout"> 4762 <attr name="layout_x" format="dimension" /> 4763 <attr name="layout_y" format="dimension" /> 4764 </declare-styleable> 4765 <declare-styleable name="LinearLayout_Layout"> 4766 <attr name="layout_width" /> 4767 <attr name="layout_height" /> 4768 <attr name="layout_weight" format="float" /> 4769 <attr name="layout_gravity" /> 4770 </declare-styleable> 4771 <declare-styleable name="GridLayout_Layout"> 4772 <!-- The row boundary delimiting the top of the group of cells 4773 occupied by this view. --> 4774 <attr name="layout_row" format="integer" /> 4775 <!-- The row span: the difference between the top and bottom 4776 boundaries delimiting the group of cells occupied by this view. 4777 The default is one. 4778 See {@link android.widget.GridLayout.Spec}. --> 4779 <attr name="layout_rowSpan" format="integer" min="1" /> 4780 <!-- The relative proportion of vertical space that should be allocated to this view 4781 during excess space distribution. --> 4782 <attr name="layout_rowWeight" format="float" /> 4783 <!-- The column boundary delimiting the left of the group of cells 4784 occupied by this view. --> 4785 <attr name="layout_column" /> 4786 <!-- The column span: the difference between the right and left 4787 boundaries delimiting the group of cells occupied by this view. 4788 The default is one. 4789 See {@link android.widget.GridLayout.Spec}. --> 4790 <attr name="layout_columnSpan" format="integer" min="1" /> 4791 <!-- The relative proportion of horizontal space that should be allocated to this view 4792 during excess space distribution. --> 4793 <attr name="layout_columnWeight" format="float" /> 4794 <!-- Gravity specifies how a component should be placed in its group of cells. 4795 The default is LEFT | BASELINE. 4796 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 4797 <attr name="layout_gravity" /> 4798 </declare-styleable> 4799 <declare-styleable name="FrameLayout_Layout"> 4800 <attr name="layout_gravity" /> 4801 </declare-styleable> 4802 <declare-styleable name="RelativeLayout_Layout"> 4803 <!-- Positions the right edge of this view to the left of the given anchor view ID. 4804 Accommodates right margin of this view and left margin of anchor view. --> 4805 <attr name="layout_toLeftOf" format="reference" /> 4806 <!-- Positions the left edge of this view to the right of the given anchor view ID. 4807 Accommodates left margin of this view and right margin of anchor view. --> 4808 <attr name="layout_toRightOf" format="reference" /> 4809 <!-- Positions the bottom edge of this view above the given anchor view ID. 4810 Accommodates bottom margin of this view and top margin of anchor view. --> 4811 <attr name="layout_above" format="reference" /> 4812 <!-- Positions the top edge of this view below the given anchor view ID. 4813 Accommodates top margin of this view and bottom margin of anchor view. --> 4814 <attr name="layout_below" format="reference" /> 4815 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 4816 <attr name="layout_alignBaseline" format="reference" /> 4817 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 4818 Accommodates left margin. --> 4819 <attr name="layout_alignLeft" format="reference" /> 4820 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 4821 Accommodates top margin. --> 4822 <attr name="layout_alignTop" format="reference" /> 4823 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 4824 Accommodates right margin. --> 4825 <attr name="layout_alignRight" format="reference" /> 4826 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 4827 Accommodates bottom margin. --> 4828 <attr name="layout_alignBottom" format="reference" /> 4829 <!-- If true, makes the left edge of this view match the left edge of the parent. 4830 Accommodates left margin. --> 4831 <attr name="layout_alignParentLeft" format="boolean" /> 4832 <!-- If true, makes the top edge of this view match the top edge of the parent. 4833 Accommodates top margin. --> 4834 <attr name="layout_alignParentTop" format="boolean" /> 4835 <!-- If true, makes the right edge of this view match the right edge of the parent. 4836 Accommodates right margin. --> 4837 <attr name="layout_alignParentRight" format="boolean" /> 4838 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 4839 Accommodates bottom margin. --> 4840 <attr name="layout_alignParentBottom" format="boolean" /> 4841 <!-- If true, centers this child horizontally and vertically within its parent. --> 4842 <attr name="layout_centerInParent" format="boolean" /> 4843 <!-- If true, centers this child horizontally within its parent. --> 4844 <attr name="layout_centerHorizontal" format="boolean" /> 4845 <!-- If true, centers this child vertically within its parent. --> 4846 <attr name="layout_centerVertical" format="boolean" /> 4847 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 4848 be found for layout_toLeftOf, layout_toRightOf, etc. --> 4849 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 4850 <!-- Positions the end edge of this view to the start of the given anchor view ID. 4851 Accommodates end margin of this view and start margin of anchor view. --> 4852 <attr name="layout_toStartOf" format="reference" /> 4853 <!-- Positions the start edge of this view to the end of the given anchor view ID. 4854 Accommodates start margin of this view and end margin of anchor view. --> 4855 <attr name="layout_toEndOf" format="reference" /> 4856 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 4857 Accommodates start margin. --> 4858 <attr name="layout_alignStart" format="reference" /> 4859 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 4860 Accommodates end margin. --> 4861 <attr name="layout_alignEnd" format="reference" /> 4862 <!-- If true, makes the start edge of this view match the start edge of the parent. 4863 Accommodates start margin. --> 4864 <attr name="layout_alignParentStart" format="boolean" /> 4865 <!-- If true, makes the end edge of this view match the end edge of the parent. 4866 Accommodates end margin. --> 4867 <attr name="layout_alignParentEnd" format="boolean" /> 4868 </declare-styleable> 4869 <declare-styleable name="VerticalSlider_Layout"> 4870 <attr name="layout_scale" format="float" /> 4871 </declare-styleable> 4872 4873 <!-- attributes for internal rotary widget used in lock screen and phone app 4874 @hide --> 4875 <declare-styleable name="RotarySelector"> 4876 <!-- Use "horizontal" or "vertical". The default is horizontal. --> 4877 <attr name="orientation" /> 4878 </declare-styleable> 4879 4880 <!-- @hide --> 4881 <declare-styleable name="WeightedLinearLayout"> 4882 <attr name="majorWeightMin" format="float" /> 4883 <attr name="minorWeightMin" format="float" /> 4884 <attr name="majorWeightMax" format="float" /> 4885 <attr name="minorWeightMax" format="float" /> 4886 </declare-styleable> 4887 4888 <declare-styleable name="CalendarView"> 4889 <!-- The first day of week according to {@link java.util.Calendar}. --> 4890 <attr name="firstDayOfWeek" format="integer" /> 4891 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4892 <attr name="minDate" /> 4893 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4894 <attr name="maxDate" /> 4895 <!-- The text appearance for the month and year in the calendar header. --> 4896 <attr name="monthTextAppearance" format="reference" /> 4897 <!-- The text appearance for the week day abbreviation in the calendar header. --> 4898 <attr name="weekDayTextAppearance" format="reference" /> 4899 <!-- The text appearance for the day numbers in the calendar grid. --> 4900 <attr name="dateTextAppearance" format="reference" /> 4901 <!-- @hide The background color used for the day selection indicator. --> 4902 <attr name="daySelectorColor" format="color" /> 4903 <!-- @hide The background color used for the day highlight indicator. --> 4904 <attr name="dayHighlightColor" format="color" /> 4905 <!-- @hide Which style of calendar delegate to use. --> 4906 <attr name="calendarViewMode"> 4907 <enum name="holo" value="0" /> 4908 <enum name="material" value="1" /> 4909 </attr> 4910 4911 <!-- @deprecated Whether do show week numbers. --> 4912 <attr name="showWeekNumber" format="boolean" /> 4913 <!-- @deprecated The number of weeks to be shown. --> 4914 <attr name="shownWeekCount" format="integer"/> 4915 <!-- @deprecated The background color for the selected week. --> 4916 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 4917 <!-- @deprecated The color for the dates of the focused month. --> 4918 <attr name="focusedMonthDateColor" format="color|reference" /> 4919 <!-- @deprecated The color for the dates of an unfocused month. --> 4920 <attr name="unfocusedMonthDateColor" format="color|reference" /> 4921 <!-- @deprecated The color for the week numbers. --> 4922 <attr name="weekNumberColor" format="color|reference" /> 4923 <!-- @deprecated The color for the separator line between weeks. --> 4924 <attr name="weekSeparatorLineColor" format="color|reference" /> 4925 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 4926 <attr name="selectedDateVerticalBar" format="reference" /> 4927 </declare-styleable> 4928 4929 <declare-styleable name="NumberPicker"> 4930 <!-- @hide Color for the solid color background if such for optimized rendering. --> 4931 <attr name="solidColor" format="color|reference" /> 4932 <!-- @hide The divider for making the selection area. --> 4933 <attr name="selectionDivider" format="reference" /> 4934 <!-- @hide The height of the selection divider. --> 4935 <attr name="selectionDividerHeight" format="dimension" /> 4936 <!-- @hide The distance between the two selection dividers. --> 4937 <attr name="selectionDividersDistance" format="dimension" /> 4938 <!-- @hide The min height of the NumberPicker. --> 4939 <attr name="internalMinHeight" format="dimension" /> 4940 <!-- @hide The max height of the NumberPicker. --> 4941 <attr name="internalMaxHeight" format="dimension" /> 4942 <!-- @hide The min width of the NumberPicker. --> 4943 <attr name="internalMinWidth" format="dimension" /> 4944 <!-- @hide The max width of the NumberPicker. --> 4945 <attr name="internalMaxWidth" format="dimension" /> 4946 <!-- @hide The layout of the number picker. --> 4947 <attr name="internalLayout" /> 4948 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 4949 <attr name="virtualButtonPressedDrawable" format="reference"/> 4950 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 4951 <attr name="hideWheelUntilFocused" format="boolean"/> 4952 </declare-styleable> 4953 4954 <declare-styleable name="TimePicker"> 4955 <!-- @hide The layout of the legacy time picker. --> 4956 <attr name="legacyLayout" format="reference" /> 4957 <!-- @hide The layout of the time picker. --> 4958 <attr name="internalLayout" /> 4959 4960 <!-- The text color for the selected time header text, ex. "12" or 4961 "PM". This should be a color state list where the activated state 4962 will be used when the minute picker or hour picker is active.--> 4963 <attr name="headerTextColor" /> 4964 <!-- The background for the header containing the currently selected time. --> 4965 <attr name="headerBackground" /> 4966 4967 <!-- The color for the hours/minutes numbers. This should be a color 4968 state list where the activated state will be used when the number 4969 is active.--> 4970 <attr name="numbersTextColor" format="color" /> 4971 <!-- The color for the inner hours numbers used in 24-hour mode. This 4972 should be a color state list where the activated state will be 4973 used when the number is active.--> 4974 <attr name="numbersInnerTextColor" format="color" /> 4975 <!-- The background color for the hours/minutes numbers. --> 4976 <attr name="numbersBackgroundColor" format="color" /> 4977 <!-- The color for the hours/minutes selector. --> 4978 <attr name="numbersSelectorColor" format="color" /> 4979 4980 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4981 spinner. As of L, with the Material theme selected, the default layout is clock, 4982 but this attribute can be used to force spinner to be used instead. --> 4983 <attr name="timePickerMode"> 4984 <!-- Time picker with spinner controls to select the time. --> 4985 <enum name="spinner" value="1" /> 4986 <!-- Time picker with clock face to select the time. --> 4987 <enum name="clock" value="2" /> 4988 </attr> 4989 4990 <!-- The text appearance for the AM/PM header. 4991 @deprecated Use headerTextColor instead. --> 4992 <attr name="headerAmPmTextAppearance" format="reference" /> 4993 <!-- The text appearance for the time header. 4994 @deprecated Use headerTextColor instead. --> 4995 <attr name="headerTimeTextAppearance" format="reference" /> 4996 <!-- The color for the AM/PM selectors. 4997 {@deprecated Use headerTextColor instead.}--> 4998 <attr name="amPmTextColor" format="color" /> 4999 <!-- The background color state list for the AM/PM selectors. 5000 {@deprecated Use headerBackground instead.}--> 5001 <attr name="amPmBackgroundColor" format="color" /> 5002 </declare-styleable> 5003 5004 <!-- ========================= --> 5005 <!-- Drawable class attributes --> 5006 <!-- ========================= --> 5007 <eat-comment /> 5008 5009 <!-- Base attributes that are available to all Drawable objects. --> 5010 <declare-styleable name="Drawable"> 5011 <!-- Provides initial visibility state of the drawable; the default 5012 value is false. See 5013 {@link android.graphics.drawable.Drawable#setVisible}. --> 5014 <attr name="visible" format="boolean" /> 5015 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5016 RTL (right-to-left). See 5017 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5018 <attr name="autoMirrored" format="boolean" /> 5019 </declare-styleable> 5020 5021 <!-- Drawable class used to wrap other drawables. --> 5022 <declare-styleable name="DrawableWrapper"> 5023 <!-- The wrapped drawable. --> 5024 <attr name="drawable" /> 5025 </declare-styleable> 5026 5027 <!-- Drawable used to render several states. Each state is represented by 5028 a child drawable. --> 5029 <declare-styleable name="StateListDrawable"> 5030 <!-- Indicates whether the drawable should be initially visible. --> 5031 <attr name="visible" /> 5032 <!-- If true, allows the drawable's padding to change based on the 5033 current state that is selected. If false, the padding will 5034 stay the same (based on the maximum padding of all the states). 5035 Enabling this feature requires that the owner of the drawable 5036 deal with performing layout when the state changes, which is 5037 often not supported. --> 5038 <attr name="variablePadding" format="boolean" /> 5039 <!-- If true, the drawable's reported internal size will remain 5040 constant as the state changes; the size is the maximum of all 5041 of the states. If false, the size will vary based on the 5042 current state. --> 5043 <attr name="constantSize" format="boolean" /> 5044 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5045 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5046 an RGB 565 screen). --> 5047 <attr name="dither" format="boolean" /> 5048 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5049 <attr name="enterFadeDuration" format="integer" /> 5050 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5051 <attr name="exitFadeDuration" format="integer" /> 5052 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5053 RTL (right-to-left). --> 5054 <attr name="autoMirrored"/> 5055 </declare-styleable> 5056 5057 <!-- Drawable used to render several states with animated transitions. Each state 5058 is represented by a child drawable with an optional keyframe ID. --> 5059 <declare-styleable name="AnimatedStateListDrawable"> 5060 <!-- Indicates whether the drawable should be initially visible. --> 5061 <attr name="visible" /> 5062 <!-- If true, allows the drawable's padding to change based on the 5063 current state that is selected. If false, the padding will 5064 stay the same (based on the maximum padding of all the states). 5065 Enabling this feature requires that the owner of the drawable 5066 deal with performing layout when the state changes, which is 5067 often not supported. --> 5068 <attr name="variablePadding" /> 5069 <!-- If true, the drawable's reported internal size will remain 5070 constant as the state changes; the size is the maximum of all 5071 of the states. If false, the size will vary based on the 5072 current state. --> 5073 <attr name="constantSize" /> 5074 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5075 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5076 an RGB 565 screen). --> 5077 <attr name="dither" /> 5078 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5079 <attr name="enterFadeDuration" /> 5080 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5081 <attr name="exitFadeDuration" /> 5082 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5083 RTL (right-to-left). --> 5084 <attr name="autoMirrored"/> 5085 </declare-styleable> 5086 5087 <!-- Represents a single state inside a StateListDrawable. --> 5088 <declare-styleable name="StateListDrawableItem"> 5089 <!-- Reference to a drawable resource to use for the state. If not 5090 given, the drawable must be defined by the first child tag. --> 5091 <attr name="drawable" /> 5092 </declare-styleable> 5093 5094 <!-- Transition used to animate between states with keyframe IDs. --> 5095 <declare-styleable name="AnimatedStateListDrawableItem"> 5096 <!-- Reference to a drawable resource to use for the frame. If not 5097 given, the drawable must be defined by the first child tag. --> 5098 <attr name="drawable" /> 5099 <!-- Keyframe identifier for use in specifying transitions. --> 5100 <attr name="id" /> 5101 </declare-styleable> 5102 5103 <!-- Transition used to animate between states with keyframe IDs. --> 5104 <declare-styleable name="AnimatedStateListDrawableTransition"> 5105 <!-- Keyframe identifier for the starting state. --> 5106 <attr name="fromId" format="reference" /> 5107 <!-- Keyframe identifier for the ending state. --> 5108 <attr name="toId" format="reference" /> 5109 <!-- Reference to a animation drawable resource to use for the frame. If not 5110 given, the animation drawable must be defined by the first child tag. --> 5111 <attr name="drawable" /> 5112 <!-- Whether this transition is reversible. --> 5113 <attr name="reversible" format="boolean" /> 5114 </declare-styleable> 5115 5116 <!-- Drawable used to render several animated frames. --> 5117 <declare-styleable name="AnimationDrawable"> 5118 <attr name="visible" /> 5119 <attr name="variablePadding" /> 5120 <!-- If true, the animation will only run a single time and then 5121 stop. If false (the default), it will continually run, 5122 restarting at the first frame after the last has finished. --> 5123 <attr name="oneshot" format="boolean" /> 5124 </declare-styleable> 5125 5126 <!-- Represents a single frame inside an AnimationDrawable. --> 5127 <declare-styleable name="AnimationDrawableItem"> 5128 <!-- Amount of time (in milliseconds) to display this frame. --> 5129 <attr name="duration" format="integer" /> 5130 <!-- Reference to a drawable resource to use for the frame. If not 5131 given, the drawable must be defined by the first child tag. --> 5132 <attr name="drawable" format="reference" /> 5133 </declare-styleable> 5134 5135 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5136 <declare-styleable name="StateListAnimatorItem"> 5137 <attr name="animation"/> 5138 </declare-styleable> 5139 5140 <!-- Attributes that can be assigned to a ColorStateList item. --> 5141 <declare-styleable name="ColorStateListItem"> 5142 <!-- Base color for this state. --> 5143 <attr name="color" /> 5144 <!-- Alpha multiplier applied to the base color. --> 5145 <attr name="alpha" /> 5146 </declare-styleable> 5147 5148 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5149 <declare-styleable name="GradientDrawable"> 5150 <!-- Indicates whether the drawable should intially be visible. --> 5151 <attr name="visible" /> 5152 <!-- Enables or disables dithering. --> 5153 <attr name="dither" /> 5154 <!-- Indicates what shape to fill with a gradient. --> 5155 <attr name="shape"> 5156 <!-- Rectangle shape, with optional rounder corners. --> 5157 <enum name="rectangle" value="0" /> 5158 <!-- Oval shape. --> 5159 <enum name="oval" value="1" /> 5160 <!-- Line shape. --> 5161 <enum name="line" value="2" /> 5162 <!-- Ring shape. --> 5163 <enum name="ring" value="3" /> 5164 </attr> 5165 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5166 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5167 This value is ignored if innerRadius is defined. Default value is 9. --> 5168 <attr name="innerRadiusRatio" format="float" /> 5169 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5170 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5171 This value is ignored if innerRadius is defined. Default value is 3. --> 5172 <attr name="thicknessRatio" format="float" /> 5173 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5174 <attr name="innerRadius" format="dimension" /> 5175 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5176 <attr name="thickness" format="dimension" /> 5177 <!-- Indicates whether the drawable's level affects the way the gradient is drawn. --> 5178 <attr name="useLevel" /> 5179 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5180 no tint is applied. May be a color state list. --> 5181 <attr name="tint" /> 5182 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5183 default value is src_in, which treats the drawable as an alpha mask. --> 5184 <attr name="tintMode" /> 5185 <!-- Left optical inset. 5186 @hide Until optical insets are fully supported. --> 5187 <attr name="opticalInsetLeft" /> 5188 <!-- Top optical inset. 5189 @hide Until optical insets are fully supported. --> 5190 <attr name="opticalInsetTop" /> 5191 <!-- Right optical inset. 5192 @hide Until optical insets are fully supported. --> 5193 <attr name="opticalInsetRight" /> 5194 <!-- Bottom optical inset. 5195 @hide Until optical insets are fully supported. --> 5196 <attr name="opticalInsetBottom" /> 5197 </declare-styleable> 5198 5199 <!-- Used to specify the size of the shape for GradientDrawable. --> 5200 <declare-styleable name="GradientDrawableSize"> 5201 <!-- Width of the gradient shape. --> 5202 <attr name="width" /> 5203 <!-- Height of the gradient shape. --> 5204 <attr name="height" /> 5205 </declare-styleable> 5206 5207 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5208 <declare-styleable name="GradientDrawableGradient"> 5209 <!-- Start color of the gradient. --> 5210 <attr name="startColor" format="color" /> 5211 <!-- Optional center color. For linear gradients, use centerX or centerY 5212 to place the center color. --> 5213 <attr name="centerColor" format="color" /> 5214 <!-- End color of the gradient. --> 5215 <attr name="endColor" format="color" /> 5216 <attr name="useLevel" format="boolean" /> 5217 <!-- Angle of the gradient. --> 5218 <attr name="angle" format="float" /> 5219 <!-- Type of gradient. The default type is linear. --> 5220 <attr name="type"> 5221 <!-- Linear gradient. --> 5222 <enum name="linear" value="0" /> 5223 <!-- Radial, or circular, gradient. --> 5224 <enum name="radial" value="1" /> 5225 <!-- Sweep, or angled or diamond, gradient. --> 5226 <enum name="sweep" value="2" /> 5227 </attr> 5228 <!-- X coordinate of the origin of the gradient within the shape. --> 5229 <attr name="centerX" format="float|fraction" /> 5230 <!-- Y coordinate of the origin of the gradient within the shape. --> 5231 <attr name="centerY" format="float|fraction" /> 5232 <!-- Radius of the gradient, used only with radial gradient. --> 5233 <attr name="gradientRadius" format="float|fraction|dimension" /> 5234 </declare-styleable> 5235 5236 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5237 <declare-styleable name="GradientDrawableSolid"> 5238 <!-- Solid color for the gradient shape. --> 5239 <attr name="color" format="color" /> 5240 </declare-styleable> 5241 5242 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5243 <declare-styleable name="GradientDrawableStroke"> 5244 <!-- Width of the gradient shape's stroke. --> 5245 <attr name="width" /> 5246 <!-- Color of the gradient shape's stroke. --> 5247 <attr name="color" /> 5248 <!-- Length of a dash in the stroke. --> 5249 <attr name="dashWidth" format="dimension" /> 5250 <!-- Gap between dashes in the stroke. --> 5251 <attr name="dashGap" format="dimension" /> 5252 </declare-styleable> 5253 5254 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5255 This can be used to render rounded corners. --> 5256 <declare-styleable name="DrawableCorners"> 5257 <!-- Defines the radius of the four corners. --> 5258 <attr name="radius" format="dimension" /> 5259 <!-- Radius of the top left corner. --> 5260 <attr name="topLeftRadius" format="dimension" /> 5261 <!-- Radius of the top right corner. --> 5262 <attr name="topRightRadius" format="dimension" /> 5263 <!-- Radius of the bottom left corner. --> 5264 <attr name="bottomLeftRadius" format="dimension" /> 5265 <!-- Radius of the bottom right corner. --> 5266 <attr name="bottomRightRadius" format="dimension" /> 5267 </declare-styleable> 5268 5269 <!-- Used to specify the optional padding of a GradientDrawable. --> 5270 <declare-styleable name="GradientDrawablePadding"> 5271 <!-- Amount of left padding inside the gradient shape. --> 5272 <attr name="left" format="dimension" /> 5273 <!-- Amount of top padding inside the gradient shape. --> 5274 <attr name="top" format="dimension" /> 5275 <!-- Amount of right padding inside the gradient shape. --> 5276 <attr name="right" format="dimension" /> 5277 <!-- Amount of bottom padding inside the gradient shape. --> 5278 <attr name="bottom" format="dimension" /> 5279 </declare-styleable> 5280 5281 <!-- Drawable used to render several drawables stacked on top of each other. 5282 Each child drawable can be controlled individually. --> 5283 <declare-styleable name="LayerDrawable"> 5284 <!-- Indicates the opacity of the layer. This can be useful to allow the 5285 system to enable drawing optimizations. The default value is 5286 translucent. --> 5287 <attr name="opacity"> 5288 <!-- Indicates that the layer is opaque and contains no transparent 5289 nor translucent pixels. --> 5290 <enum name="opaque" value="-1" /> 5291 <!-- The layer is completely transparent (no pixel will be drawn.) --> 5292 <enum name="transparent" value="-2" /> 5293 <!-- The layer has translucent pixels. --> 5294 <enum name="translucent" value="-3" /> 5295 </attr> 5296 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5297 RTL (right-to-left). --> 5298 <attr name="autoMirrored" /> 5299 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5300 The default padding mode value is nest. --> 5301 <attr name="paddingMode"> 5302 <!-- Nest each layer inside the padding of the previous layer. --> 5303 <enum name="nest" value="0" /> 5304 <!-- Stack each layer directly atop the previous layer. --> 5305 <enum name="stack" value="1" /> 5306 </attr> 5307 <!-- Explicit top padding. Overrides child padding. --> 5308 <attr name="paddingTop" /> 5309 <!-- Explicit bottom padding. Overrides child padding. --> 5310 <attr name="paddingBottom" /> 5311 <!-- Explicit left padding. Overrides child padding. --> 5312 <attr name="paddingLeft" /> 5313 <!-- Explicit right padding. Overrides child padding. --> 5314 <attr name="paddingRight" /> 5315 <!-- Explicit start padding. Overrides child padding. Takes precedence 5316 over absolute padding (e.g. left when layout direction is LTR). --> 5317 <attr name="paddingStart" /> 5318 <!-- Explicit end padding. Overrides child padding. Takes precedence 5319 over absolute padding (e.g. right when layout direction is LTR). --> 5320 <attr name="paddingEnd" /> 5321 </declare-styleable> 5322 5323 <!-- Describes an item (or child) of a LayerDrawable. --> 5324 <declare-styleable name="LayerDrawableItem"> 5325 <!-- Left inset to apply to the layer. --> 5326 <attr name="left" /> 5327 <!-- Top inset to apply to the layer. --> 5328 <attr name="top" /> 5329 <!-- Right inset to apply to the layer. --> 5330 <attr name="right" /> 5331 <!-- Bottom inset to apply to the layer. --> 5332 <attr name="bottom" /> 5333 <!-- Start inset to apply to the layer. Overrides {@code left} or 5334 {@code right} depending on layout direction. --> 5335 <attr name="start" format="dimension" /> 5336 <!-- End inset to apply to the layer. Overrides {@code left} or 5337 {@code right} depending on layout direction. --> 5338 <attr name="end" format="dimension" /> 5339 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5340 <attr name="width" /> 5341 <!-- Height of the layer. Defaults to the layer's intrinsic height --> 5342 <attr name="height" /> 5343 <!-- Gravity used to align the layer within its container. If no value 5344 is specified, the default behavior depends on whether an explicit 5345 width or height has been set, If no dimension is set, gravity in 5346 that direction defaults to {@code fill_horizontal} or 5347 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5348 {@code top}. --> 5349 <attr name="gravity" /> 5350 <!-- Drawable used to render the layer. --> 5351 <attr name="drawable" /> 5352 <!-- Identifier of the layer. This can be used to retrieve the layer 5353 from a drawable container. --> 5354 <attr name="id" /> 5355 </declare-styleable> 5356 5357 <declare-styleable name="LevelListDrawableItem"> 5358 <!-- The minimum level allowed for this item. --> 5359 <attr name="minLevel" format="integer" /> 5360 <!-- The maximum level allowed for this item. --> 5361 <attr name="maxLevel" format="integer" /> 5362 <attr name="drawable" /> 5363 </declare-styleable> 5364 5365 <!-- Drawable used to rotate another drawable. --> 5366 <declare-styleable name="RotateDrawable"> 5367 <attr name="visible" /> 5368 <attr name="fromDegrees" format="float" /> 5369 <attr name="toDegrees" format="float" /> 5370 <attr name="pivotX" format="float|fraction" /> 5371 <attr name="pivotY" format="float|fraction" /> 5372 <attr name="drawable" /> 5373 </declare-styleable> 5374 5375 <declare-styleable name="AnimatedRotateDrawable"> 5376 <attr name="visible" /> 5377 <attr name="frameDuration" format="integer" /> 5378 <attr name="framesCount" format="integer" /> 5379 <attr name="pivotX" /> 5380 <attr name="pivotY" /> 5381 <attr name="drawable" /> 5382 </declare-styleable> 5383 5384 <!-- Drawable used to render the Material progress indicator. --> 5385 <declare-styleable name="MaterialProgressDrawable"> 5386 <attr name="visible" /> 5387 <attr name="thickness" /> 5388 <attr name="innerRadius" /> 5389 <attr name="width" /> 5390 <attr name="height" /> 5391 <attr name="color" /> 5392 </declare-styleable> 5393 5394 <!-- Drawable used to wrap and inset another drawable. --> 5395 <declare-styleable name="InsetDrawable"> 5396 <attr name="visible" /> 5397 <attr name="drawable" /> 5398 <attr name="inset" format="dimension"/> 5399 <attr name="insetLeft" format="dimension" /> 5400 <attr name="insetRight" format="dimension" /> 5401 <attr name="insetTop" format="dimension" /> 5402 <attr name="insetBottom" format="dimension" /> 5403 </declare-styleable> 5404 5405 <!-- Drawable used to draw bitmaps. --> 5406 <declare-styleable name="BitmapDrawable"> 5407 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5408 <attr name="src" /> 5409 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5410 edges of a bitmap when rotated. Default value is false. --> 5411 <attr name="antialias" format="boolean" /> 5412 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5413 shrunk or stretched to smooth its apperance. Default value is true. --> 5414 <attr name="filter" format="boolean" /> 5415 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5416 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5417 an RGB 565 screen). Default value is true. --> 5418 <attr name="dither" /> 5419 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5420 the drawable in its container if the bitmap is smaller than the container. --> 5421 <attr name="gravity" /> 5422 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5423 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5424 <attr name="tileMode"> 5425 <!-- Do not tile the bitmap. This is the default value. --> 5426 <enum name="disabled" value="-1" /> 5427 <!-- Replicates the edge color. --> 5428 <enum name="clamp" value="0" /> 5429 <!-- Repeats the bitmap in both direction. --> 5430 <enum name="repeat" value="1" /> 5431 <!-- Repeats the shader's image horizontally and vertically, alternating 5432 mirror images so that adjacent images always seam. --> 5433 <enum name="mirror" value="2" /> 5434 </attr> 5435 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5436 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5437 <attr name="tileModeX"> 5438 <!-- Do not tile the bitmap. This is the default value. --> 5439 <enum name="disabled" value="-1" /> 5440 <!-- Replicates the edge color. --> 5441 <enum name="clamp" value="0" /> 5442 <!-- Repeats the bitmap horizontally. --> 5443 <enum name="repeat" value="1" /> 5444 <!-- Repeats the shader's image horizontally, alternating 5445 mirror images so that adjacent images always seam. --> 5446 <enum name="mirror" value="2" /> 5447 </attr> 5448 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5449 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5450 <attr name="tileModeY"> 5451 <!-- Do not tile the bitmap. This is the default value. --> 5452 <enum name="disabled" value="-1" /> 5453 <!-- Replicates the edge color. --> 5454 <enum name="clamp" value="0" /> 5455 <!-- Repeats the bitmap vertically. --> 5456 <enum name="repeat" value="1" /> 5457 <!-- Repeats the shader's image vertically, alternating 5458 mirror images so that adjacent images always seam. --> 5459 <enum name="mirror" value="2" /> 5460 </attr> 5461 <!-- Enables or disables the mipmap hint. See 5462 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5463 Default value is false. --> 5464 <attr name="mipMap" format="boolean" /> 5465 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5466 RTL (right-to-left). --> 5467 <attr name="autoMirrored" /> 5468 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5469 no tint is applied. May be a color state list. --> 5470 <attr name="tint" /> 5471 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5472 default value is src_in, which treats the drawable as an alpha mask. --> 5473 <attr name="tintMode"> 5474 <!-- The tint is drawn on top of the drawable. 5475 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5476 <enum name="src_over" value="3" /> 5477 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5478 color channels are thrown out. [Sa * Da, Sc * Da] --> 5479 <enum name="src_in" value="5" /> 5480 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5481 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5482 <enum name="src_atop" value="9" /> 5483 <!-- Multiplies the color and alpha channels of the drawable with those of 5484 the tint. [Sa * Da, Sc * Dc] --> 5485 <enum name="multiply" value="14" /> 5486 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5487 <enum name="screen" value="15" /> 5488 <!-- Combines the tint and drawable color and alpha channels, clamping the 5489 result to valid color values. Saturate(S + D) --> 5490 <enum name="add" value="16" /> 5491 </attr> 5492 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5493 <attr name="alpha" /> 5494 </declare-styleable> 5495 5496 <!-- Drawable used to draw 9-patches. --> 5497 <declare-styleable name="NinePatchDrawable"> 5498 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5499 <attr name="src" /> 5500 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5501 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5502 an RGB 565 screen). --> 5503 <attr name="dither" /> 5504 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5505 RTL (right-to-left). --> 5506 <attr name="autoMirrored" /> 5507 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5508 no tint is applied. May be a color state list. --> 5509 <attr name="tint" /> 5510 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5511 default value is src_in, which treats the drawable as an alpha mask. --> 5512 <attr name="tintMode" /> 5513 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5514 <attr name="alpha" /> 5515 </declare-styleable> 5516 5517 <!-- Drawable used to draw a single color. --> 5518 <declare-styleable name="ColorDrawable"> 5519 <!-- The color to use. --> 5520 <attr name="color" /> 5521 </declare-styleable> 5522 5523 <!-- Drawable used to show animated touch feedback. --> 5524 <declare-styleable name="RippleDrawable"> 5525 <!-- The color to use for ripple effects. This attribute is required. --> 5526 <attr name="color" /> 5527 <!-- The radius of the ripple when fully expanded. By default, the 5528 radius is computed based on the size of the ripple's container. --> 5529 <attr name="radius" /> 5530 </declare-styleable> 5531 5532 <declare-styleable name="ScaleDrawable"> 5533 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 5534 format is XX%. For instance: 100%, 12.5%, etc.--> 5535 <attr name="scaleWidth" format="string" /> 5536 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 5537 format is XX%. For instance: 100%, 12.5%, etc.--> 5538 <attr name="scaleHeight" format="string" /> 5539 <!-- Specifies where the drawable is positioned after scaling. The default value is 5540 left. --> 5541 <attr name="scaleGravity"> 5542 <!-- Push object to the top of its container, not changing its size. --> 5543 <flag name="top" value="0x30" /> 5544 <!-- Push object to the bottom of its container, not changing its size. --> 5545 <flag name="bottom" value="0x50" /> 5546 <!-- Push object to the left of its container, not changing its size. --> 5547 <flag name="left" value="0x03" /> 5548 <!-- Push object to the right of its container, not changing its size. --> 5549 <flag name="right" value="0x05" /> 5550 <!-- Place object in the vertical center of its container, not changing its size. --> 5551 <flag name="center_vertical" value="0x10" /> 5552 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 5553 <flag name="fill_vertical" value="0x70" /> 5554 <!-- Place object in the horizontal center of its container, not changing its size. --> 5555 <flag name="center_horizontal" value="0x01" /> 5556 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 5557 <flag name="fill_horizontal" value="0x07" /> 5558 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 5559 <flag name="center" value="0x11" /> 5560 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 5561 <flag name="fill" value="0x77" /> 5562 <!-- Additional option that can be set to have the top and/or bottom edges of 5563 the child clipped to its container's bounds. 5564 The clip will be based on the vertical gravity: a top gravity will clip the bottom 5565 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 5566 <flag name="clip_vertical" value="0x80" /> 5567 <!-- Additional option that can be set to have the left and/or right edges of 5568 the child clipped to its container's bounds. 5569 The clip will be based on the horizontal gravity: a left gravity will clip the right 5570 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 5571 <flag name="clip_horizontal" value="0x08" /> 5572 <!-- Push object to the beginning of its container, not changing its size. --> 5573 <flag name="start" value="0x00800003" /> 5574 <!-- Push object to the end of its container, not changing its size. --> 5575 <flag name="end" value="0x00800005" /> 5576 </attr> 5577 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 5578 <attr name="level" format="integer" /> 5579 <!-- Reference to a drawable resource to draw with the specified scale. --> 5580 <attr name="drawable" /> 5581 <!-- Use the drawable's intrinsic width and height as minimum size values. 5582 Useful if the target drawable is a 9-patch or otherwise should not be scaled 5583 down beyond a minimum size. --> 5584 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 5585 </declare-styleable> 5586 5587 <declare-styleable name="ClipDrawable"> 5588 <!-- The orientation for the clip. --> 5589 <attr name="clipOrientation"> 5590 <!-- Clip the drawable horizontally. --> 5591 <flag name="horizontal" value="1" /> 5592 <!-- Clip the drawable vertically. --> 5593 <flag name="vertical" value="2" /> 5594 </attr> 5595 <!-- Specifies where to clip within the drawable. The default value is 5596 left. --> 5597 <attr name="gravity" /> 5598 <!-- Reference to a drawable resource to draw with the specified scale. --> 5599 <attr name="drawable" /> 5600 </declare-styleable> 5601 5602 <!-- Defines the padding of a ShapeDrawable. --> 5603 <declare-styleable name="ShapeDrawablePadding"> 5604 <!-- Left padding. --> 5605 <attr name="left" /> 5606 <!-- Top padding. --> 5607 <attr name="top" /> 5608 <!-- Right padding. --> 5609 <attr name="right" /> 5610 <!-- Bottom padding. --> 5611 <attr name="bottom" /> 5612 </declare-styleable> 5613 5614 <!-- Drawable used to draw shapes. --> 5615 <declare-styleable name="ShapeDrawable"> 5616 <!-- Defines the color of the shape. --> 5617 <attr name="color" /> 5618 <!-- Defines the width of the shape. --> 5619 <attr name="width" /> 5620 <!-- Defines the height of the shape. --> 5621 <attr name="height" /> 5622 <!-- Enables or disables dithering. --> 5623 <attr name="dither" /> 5624 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5625 no tint is applied. May be a color state list. --> 5626 <attr name="tint" /> 5627 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5628 default value is src_in, which treats the drawable as an alpha mask. --> 5629 <attr name="tintMode" /> 5630 </declare-styleable> 5631 5632 <!-- ========================== --> 5633 <!-- VectorDrawable class --> 5634 <!-- ========================== --> 5635 <eat-comment /> 5636 5637 <!-- Drawable used to draw vector paths. --> 5638 <declare-styleable name="VectorDrawable"> 5639 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5640 no tint is applied. May be a color state list. --> 5641 <attr name="tint" /> 5642 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5643 default value is src_in, which treats the drawable as an alpha mask. --> 5644 <attr name="tintMode" /> 5645 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5646 RTL (right-to-left). --> 5647 <attr name="autoMirrored" /> 5648 <!-- The intrinsic width of the Vector Drawable. --> 5649 <attr name="width" /> 5650 <!-- The intrinsic height of the Vector Drawable. --> 5651 <attr name="height" /> 5652 <!-- The width of the canvas the drawing is on. --> 5653 <attr name="viewportWidth" format="float"/> 5654 <!-- The height of the canvas the drawing is on. --> 5655 <attr name="viewportHeight" format="float"/> 5656 <!-- The name of this vector drawable --> 5657 <attr name="name" /> 5658 <!-- The opacity of the whole vector drawable, as a value between 0 5659 (completely transparent) and 1 (completely opaque). --> 5660 <attr name="alpha" /> 5661 <!-- Left optical inset. 5662 @hide Until optical insets are fully supported. --> 5663 <attr name="opticalInsetLeft" format="dimension" /> 5664 <!-- Top optical inset. 5665 @hide Until optical insets are fully supported. --> 5666 <attr name="opticalInsetTop" format="dimension" /> 5667 <!-- Right optical inset. 5668 @hide Until optical insets are fully supported. --> 5669 <attr name="opticalInsetRight" format="dimension" /> 5670 <!-- Bottom optical inset. 5671 @hide Until optical insets are fully supported. --> 5672 <attr name="opticalInsetBottom" format="dimension" /> 5673 </declare-styleable> 5674 5675 <!-- Defines the group used in VectorDrawables. --> 5676 <declare-styleable name="VectorDrawableGroup"> 5677 <!-- The name of this group --> 5678 <attr name="name" /> 5679 <!-- The amount to rotate the group --> 5680 <attr name="rotation" /> 5681 <!-- The X coordinate of the center of rotation of a group --> 5682 <attr name="pivotX" /> 5683 <!-- The Y coordinate of the center of rotation of a group --> 5684 <attr name="pivotY" /> 5685 <!-- The amount to translate the group on X coordinate --> 5686 <attr name="translateX" format="float"/> 5687 <!-- The amount to translate the group on Y coordinate --> 5688 <attr name="translateY" format="float"/> 5689 <!-- The amount to scale the group on X coordinate --> 5690 <attr name="scaleX" /> 5691 <!-- The amount to scale the group on X coordinate --> 5692 <attr name="scaleY" /> 5693 </declare-styleable> 5694 5695 <!-- Defines the path used in VectorDrawables. --> 5696 <declare-styleable name="VectorDrawablePath"> 5697 <!-- The name of this path --> 5698 <attr name="name" /> 5699 <!-- The width a path stroke --> 5700 <attr name="strokeWidth" format="float" /> 5701 <!-- The color to stroke the path if not defined implies no stroke--> 5702 <attr name="strokeColor" format="color" /> 5703 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 5704 and 1 (completely opaque) --> 5705 <attr name="strokeAlpha" format="float" /> 5706 <!-- The color to fill the path if not defined implies no fill--> 5707 <attr name="fillColor" format="color" /> 5708 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 5709 and 1 (completely opaque)--> 5710 <attr name="fillAlpha" format="float" /> 5711 <!-- The specification of the operations that define the path --> 5712 <attr name="pathData" format="string" /> 5713 <!-- The fraction of the path to trim from the start from 0 to 1 --> 5714 <attr name="trimPathStart" format="float" /> 5715 <!-- The fraction of the path to trim from the end from 0 to 1 --> 5716 <attr name="trimPathEnd" format="float" /> 5717 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1 --> 5718 <attr name="trimPathOffset" format="float" /> 5719 <!-- sets the linecap for a stroked path --> 5720 <attr name="strokeLineCap" format="enum"> 5721 <enum name="butt" value="0"/> 5722 <enum name="round" value="1"/> 5723 <enum name="square" value="2"/> 5724 </attr> 5725 <!-- sets the lineJoin for a stroked path --> 5726 <attr name="strokeLineJoin" format="enum"> 5727 <enum name="miter" value="0"/> 5728 <enum name="round" value="1"/> 5729 <enum name="bevel" value="2"/> 5730 </attr> 5731 <!-- sets the Miter limit for a stroked path --> 5732 <attr name="strokeMiterLimit" format="float"/> 5733 </declare-styleable> 5734 5735 <!-- Defines the clip path used in VectorDrawables. --> 5736 <declare-styleable name="VectorDrawableClipPath"> 5737 <!-- The Name of this path --> 5738 <attr name="name" /> 5739 <!-- The specification of the operations that define the path --> 5740 <attr name="pathData"/> 5741 </declare-styleable> 5742 5743 <!-- ========================== --> 5744 <!-- AnimatedVectorDrawable class --> 5745 <!-- ========================== --> 5746 <eat-comment /> 5747 5748 <!-- Define the AnimatedVectorDrawable. --> 5749 <declare-styleable name="AnimatedVectorDrawable"> 5750 <!-- The static vector drawable. --> 5751 <attr name="drawable" /> 5752 </declare-styleable> 5753 5754 <!-- Defines the target used in the AnimatedVectorDrawable. --> 5755 <declare-styleable name="AnimatedVectorDrawableTarget"> 5756 <!-- The name of the target path, group or vector drawable --> 5757 <attr name="name" /> 5758 <!-- The animation for the target path, group or vector drawable --> 5759 <attr name="animation" /> 5760 </declare-styleable> 5761 5762 <!-- ========================== --> 5763 <!-- Animation class attributes --> 5764 <!-- ========================== --> 5765 <eat-comment /> 5766 5767 <declare-styleable name="Animation"> 5768 <!-- Defines the interpolator used to smooth the animation movement in time. --> 5769 <attr name="interpolator" /> 5770 <!-- When set to true, the value of fillBefore is taken into account. --> 5771 <attr name="fillEnabled" format="boolean" /> 5772 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 5773 is applied before the animation has started. The default value is true. --> 5774 <attr name="fillBefore" format="boolean" /> 5775 <!-- When set to true, the animation transformation is applied after the animation is 5776 over. The default value is false. If fillEnabled is not set to true and the 5777 animation is not set on a View, fillAfter is assumed to be true.--> 5778 <attr name="fillAfter" format="boolean" /> 5779 <!-- Amount of time (in milliseconds) for the animation to run. --> 5780 <attr name="duration" /> 5781 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 5782 <attr name="startOffset" format="integer" /> 5783 <!-- Defines how many times the animation should repeat. The default value is 0. --> 5784 <attr name="repeatCount" format="integer"> 5785 <enum name="infinite" value="-1" /> 5786 </attr> 5787 <!-- Defines the animation behavior when it reaches the end and the repeat count is 5788 greater than 0 or infinite. The default value is restart. --> 5789 <attr name="repeatMode"> 5790 <!-- The animation starts again from the beginning. --> 5791 <enum name="restart" value="1" /> 5792 <!-- The animation plays backward. --> 5793 <enum name="reverse" value="2" /> 5794 </attr> 5795 <!-- Allows for an adjustment of the Z ordering of the content being 5796 animated for the duration of the animation. The default value is normal. --> 5797 <attr name="zAdjustment"> 5798 <!-- The content being animated be kept in its current Z order. --> 5799 <enum name="normal" value="0" /> 5800 <!-- The content being animated is forced on top of all other 5801 content for the duration of the animation. --> 5802 <enum name="top" value="1" /> 5803 <!-- The content being animated is forced under all other 5804 content for the duration of the animation. --> 5805 <enum name="bottom" value="-1" /> 5806 </attr> 5807 <!-- Special background behind animation. Only for use with window 5808 animations. Can only be a color, and only black. If 0, the 5809 default, there is no background. --> 5810 <attr name="background" /> 5811 <!-- Special option for window animations: if this window is on top 5812 of a wallpaper, don't animate the wallpaper with it. --> 5813 <attr name="detachWallpaper" format="boolean" /> 5814 </declare-styleable> 5815 5816 <declare-styleable name="AnimationSet"> 5817 <attr name="shareInterpolator" format="boolean" /> 5818 <attr name="fillBefore" /> 5819 <attr name="fillAfter" /> 5820 <attr name="duration" /> 5821 <attr name="startOffset" /> 5822 <attr name="repeatMode" /> 5823 </declare-styleable> 5824 5825 <declare-styleable name="RotateAnimation"> 5826 <attr name="fromDegrees" /> 5827 <attr name="toDegrees" /> 5828 <attr name="pivotX" /> 5829 <attr name="pivotY" /> 5830 </declare-styleable> 5831 5832 <declare-styleable name="ScaleAnimation"> 5833 <attr name="fromXScale" format="float|fraction|dimension" /> 5834 <attr name="toXScale" format="float|fraction|dimension" /> 5835 <attr name="fromYScale" format="float|fraction|dimension" /> 5836 <attr name="toYScale" format="float|fraction|dimension" /> 5837 <attr name="pivotX" /> 5838 <attr name="pivotY" /> 5839 </declare-styleable> 5840 5841 <declare-styleable name="TranslateAnimation"> 5842 <attr name="fromXDelta" format="float|fraction" /> 5843 <attr name="toXDelta" format="float|fraction" /> 5844 <attr name="fromYDelta" format="float|fraction" /> 5845 <attr name="toYDelta" format="float|fraction" /> 5846 </declare-styleable> 5847 5848 <declare-styleable name="AlphaAnimation"> 5849 <attr name="fromAlpha" format="float" /> 5850 <attr name="toAlpha" format="float" /> 5851 </declare-styleable> 5852 5853 <declare-styleable name="LayoutAnimation"> 5854 <!-- Fraction of the animation duration used to delay the beginning of 5855 the animation of each child. --> 5856 <attr name="delay" format="float|fraction" /> 5857 <!-- Animation to use on each child. --> 5858 <attr name="animation" format="reference" /> 5859 <!-- The order in which the animations will be started. --> 5860 <attr name="animationOrder"> 5861 <!-- Animations are started in the natural order. --> 5862 <enum name="normal" value="0" /> 5863 <!-- Animations are started in the reverse order. --> 5864 <enum name="reverse" value="1" /> 5865 <!-- Animations are started randomly. --> 5866 <enum name="random" value="2" /> 5867 </attr> 5868 <!-- Interpolator used to interpolate the delay between the start of 5869 each animation. --> 5870 <attr name="interpolator" /> 5871 </declare-styleable> 5872 5873 <declare-styleable name="GridLayoutAnimation"> 5874 <!-- Fraction of the animation duration used to delay the beginning of 5875 the animation of each column. --> 5876 <attr name="columnDelay" format="float|fraction" /> 5877 <!-- Fraction of the animation duration used to delay the beginning of 5878 the animation of each row. --> 5879 <attr name="rowDelay" format="float|fraction" /> 5880 <!-- Direction of the animation in the grid. --> 5881 <attr name="direction"> 5882 <!-- Animates columns from left to right. --> 5883 <flag name="left_to_right" value="0x0" /> 5884 <!-- Animates columns from right to left. --> 5885 <flag name="right_to_left" value="0x1" /> 5886 <!-- Animates rows from top to bottom. --> 5887 <flag name="top_to_bottom" value="0x0" /> 5888 <!-- Animates rows from bottom to top. --> 5889 <flag name="bottom_to_top" value="0x2" /> 5890 </attr> 5891 <!-- Priority of the rows and columns. When the priority is none, 5892 both rows and columns have the same priority. When the priority is 5893 column, the animations will be applied on the columns first. The same 5894 goes for rows. --> 5895 <attr name="directionPriority"> 5896 <!-- Rows and columns are animated at the same time. --> 5897 <enum name="none" value="0" /> 5898 <!-- Columns are animated first. --> 5899 <enum name="column" value="1" /> 5900 <!-- Rows are animated first. --> 5901 <enum name="row" value="2" /> 5902 </attr> 5903 </declare-styleable> 5904 5905 <declare-styleable name="AccelerateInterpolator"> 5906 <!-- This is the amount of deceleration to add when easing in. --> 5907 <attr name="factor" format="float" /> 5908 </declare-styleable> 5909 5910 <declare-styleable name="DecelerateInterpolator"> 5911 <!-- This is the amount of acceleration to add when easing out. --> 5912 <attr name="factor" /> 5913 </declare-styleable> 5914 5915 <declare-styleable name="CycleInterpolator"> 5916 <attr name="cycles" format="float" /> 5917 </declare-styleable> 5918 5919 <declare-styleable name="AnticipateInterpolator"> 5920 <!-- This is the amount of tension. --> 5921 <attr name="tension" format="float" /> 5922 </declare-styleable> 5923 5924 <declare-styleable name="OvershootInterpolator"> 5925 <!-- This is the amount of tension. --> 5926 <attr name="tension" /> 5927 </declare-styleable> 5928 5929 <declare-styleable name="AnticipateOvershootInterpolator"> 5930 <!-- This is the amount of tension. --> 5931 <attr name="tension" /> 5932 <!-- This is the amount by which to multiply the tension. --> 5933 <attr name="extraTension" format="float" /> 5934 </declare-styleable> 5935 5936 <declare-styleable name="PathInterpolator"> 5937 <!-- The x coordinate of the first control point of the cubic Bezier --> 5938 <attr name="controlX1" format="float" /> 5939 <!-- The y coordinate of the first control point of the cubic Bezier --> 5940 <attr name="controlY1" format="float" /> 5941 <!-- The x coordinate of the second control point of the cubic Bezier --> 5942 <attr name="controlX2" format="float" /> 5943 <!-- The y coordinate of the second control point of the cubic Bezier --> 5944 <attr name="controlY2" format="float" /> 5945 <!-- The control points defined as a path. 5946 When pathData is defined, then both of the control points of the 5947 cubic Bezier will be ignored. --> 5948 <attr name="pathData"/> 5949 </declare-styleable> 5950 5951 <!-- ========================== --> 5952 <!-- Transition attributes --> 5953 <!-- ========================== --> 5954 <eat-comment /> 5955 5956 <!-- Use specific transition subclass names as the root tag of the XML resource that 5957 describes a {@link android.transition.Transition Transition}, 5958 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 5959 <declare-styleable name="Transition"> 5960 <!-- Amount of time (in milliseconds) that the transition should run. --> 5961 <attr name="duration" /> 5962 <!-- Delay in milliseconds before the transition starts. --> 5963 <attr name="startDelay" format="integer" /> 5964 <!-- Interpolator to be used in the animations spawned by this transition. --> 5965 <attr name="interpolator" /> 5966 <!-- The match order to use for the transition. This is a comma-separated 5967 list of values, containing one or more of the following: 5968 id, itemId, name, instance. These correspond to 5969 {@link android.transition.Transition#MATCH_ID}, 5970 {@link android.transition.Transition#MATCH_ITEM_ID}, 5971 {@link android.transition.Transition#MATCH_NAME}, and 5972 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 5973 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 5974 <attr name="matchOrder" format="string" /> 5975 </declare-styleable> 5976 5977 <!-- @hide For internal use only. Use only as directed. --> 5978 <declare-styleable name="EpicenterTranslateClipReveal"> 5979 <attr name="interpolatorX" format="reference" /> 5980 <attr name="interpolatorY" format="reference" /> 5981 <attr name="interpolatorZ" format="reference" /> 5982 </declare-styleable> 5983 5984 <!-- Use <code>fade</code>as the root tag of the XML resource that 5985 describes a {@link android.transition.Fade Fade} transition. 5986 The attributes of the {@link android.R.styleable#Transition Transition} 5987 resource are available in addition to the specific attributes of Fade 5988 described here. --> 5989 <declare-styleable name="Fade"> 5990 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 5991 with the Fade transition. --> 5992 <attr name="fadingMode"> 5993 <!-- Fade will only fade appearing items in. --> 5994 <enum name="fade_in" value="1" /> 5995 <!-- Fade will only fade disappearing items out. --> 5996 <enum name="fade_out" value="2" /> 5997 <!-- Fade will fade appearing items in and disappearing items out. --> 5998 <enum name="fade_in_out" value="3" /> 5999 </attr> 6000 </declare-styleable> 6001 6002 <!-- Use <code>slide</code>as the root tag of the XML resource that 6003 describes a {@link android.transition.Slide Slide} transition. 6004 The attributes of the {@link android.R.styleable#Transition Transition} 6005 resource are available in addition to the specific attributes of Slide 6006 described here. --> 6007 <declare-styleable name="Slide"> 6008 <attr name="slideEdge"> 6009 <!-- Slide to and from the left edge of the Scene. --> 6010 <enum name="left" value="0x03" /> 6011 <!-- Slide to and from the top edge of the Scene. --> 6012 <enum name="top" value="0x30" /> 6013 <!-- Slide to and from the right edge of the Scene. --> 6014 <enum name="right" value="0x05" /> 6015 <!-- Slide to and from the bottom edge of the Scene. --> 6016 <enum name="bottom" value="0x50" /> 6017 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6018 <enum name="start" value="0x00800003"/> 6019 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6020 <enum name="end" value="0x00800005"/> 6021 </attr> 6022 </declare-styleable> 6023 6024 <!-- Use with {@link android.transition.Visibility} transitions, such as 6025 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6026 views are supported. --> 6027 <declare-styleable name="VisibilityTransition"> 6028 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6029 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6030 <attr name="transitionVisibilityMode"> 6031 <!-- Only appearing Views will be supported. --> 6032 <flag name="mode_in" value="1" /> 6033 <!-- Only disappearing Views will be supported. --> 6034 <flag name="mode_out" value="2" /> 6035 </attr> 6036 </declare-styleable> 6037 <!-- Use <code>target</code> as the root tag of the XML resource that 6038 describes a {@link android.transition.Transition#addTarget(int) 6039 targetId} of a transition. There can be one or more targets inside 6040 a <code>targets</code> tag, which is itself inside an appropriate 6041 {@link android.R.styleable#Transition Transition} tag. 6042 --> 6043 <declare-styleable name="TransitionTarget"> 6044 <!-- The id of a target on which this transition will animate changes. --> 6045 <attr name="targetId" format="reference" /> 6046 <!-- The id of a target to exclude from this transition. --> 6047 <attr name="excludeId" format="reference" /> 6048 <!-- The fully-qualified name of the Class to include in this transition. --> 6049 <attr name="targetClass" /> 6050 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6051 <attr name="excludeClass" format="string" /> 6052 <!-- The transitionName of the target on which this transition will animation changes. --> 6053 <attr name="targetName" format="string" /> 6054 <!-- The transitionName of the target to exclude from this transition. --> 6055 <attr name="excludeName" format="string" /> 6056 </declare-styleable> 6057 6058 <!-- Use <code>set</code> as the root tag of the XML resource that 6059 describes a {@link android.transition.TransitionSet 6060 TransitionSet} transition. --> 6061 <declare-styleable name="TransitionSet"> 6062 <attr name="transitionOrdering"> 6063 <!-- child transitions should be played together. --> 6064 <enum name="together" value="0" /> 6065 <!-- child transitions should be played sequentially, in the same order 6066 as the xml. --> 6067 <enum name="sequential" value="1" /> 6068 </attr> 6069 </declare-styleable> 6070 6071 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6072 describes a {@link android.transition.ChangeTransform} transition. --> 6073 <declare-styleable name="ChangeTransform"> 6074 <!-- A parent change should use an overlay or affect the transform of the 6075 transitionining View. Default is true. Corresponds to 6076 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6077 <attr name="reparentWithOverlay" format="boolean"/> 6078 6079 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6080 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6081 <attr name="reparent" format="boolean"/> 6082 </declare-styleable> 6083 6084 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6085 describes a {@link android.transition.ChangeBounds} transition. 6086 The attributes of the {@link android.R.styleable#Transition Transition} 6087 resource are available in addition to the specific attributes of ChangeBounds 6088 described here. --> 6089 <declare-styleable name="ChangeBounds"> 6090 <!-- Resize the view by adjusting the clipBounds rather than changing the 6091 dimensions of the view itself. The default value is false. --> 6092 <attr name="resizeClip" format="boolean"/> 6093 </declare-styleable> 6094 6095 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6096 describes a {@link android.transition.TransitionManager 6097 TransitionManager}. --> 6098 <declare-styleable name="TransitionManager"> 6099 <!-- The id of a transition to be used in a particular scene change. --> 6100 <attr name="transition" format="reference" /> 6101 <!-- The originating scene in this scene change. --> 6102 <attr name="fromScene" format="reference" /> 6103 <!-- The destination scene in this scene change. --> 6104 <attr name="toScene" format="reference" /> 6105 </declare-styleable> 6106 6107 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6108 describes a {@link android.transition.ArcMotion}. This must be used 6109 within a transition with which the PathMotion should be associated. --> 6110 <declare-styleable name="ArcMotion"> 6111 <!-- The minimum arc angle in degrees between the start and end points when 6112 they are close to horizontal. --> 6113 <attr name="minimumHorizontalAngle" format="float" /> 6114 <!-- The minimum arc angle in degrees between the start and end points when 6115 they are close to vertical. --> 6116 <attr name="minimumVerticalAngle" format="float" /> 6117 <!-- The maximum arc angle in degrees between the start and end points. --> 6118 <attr name="maximumAngle" format="float" /> 6119 </declare-styleable> 6120 6121 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6122 describes a {@link android.transition.PatternPathMotion}. This must be used 6123 within a transition with which the PathMotion should be associated. --> 6124 <declare-styleable name="PatternPathMotion"> 6125 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6126 <attr name="patternPathData" format="string" /> 6127 </declare-styleable> 6128 6129 <!-- ========================== --> 6130 <!-- ValueAnimator class attributes --> 6131 <!-- ========================== --> 6132 <eat-comment /> 6133 6134 <declare-styleable name="Animator"> 6135 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6136 <attr name="interpolator" /> 6137 <!-- Amount of time (in milliseconds) for the animation to run. --> 6138 <attr name="duration" /> 6139 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6140 <attr name="startOffset"/> 6141 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6142 <attr name="repeatCount"/> 6143 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6144 greater than 0 or infinite. The default value is restart. --> 6145 <attr name="repeatMode"/> 6146 <!-- Value the animation starts from. --> 6147 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6148 <!-- Value the animation animates to. --> 6149 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6150 <!-- The type of valueFrom and valueTo. --> 6151 <attr name="valueType"> 6152 <!-- The given values are floats. This is the default value if valueType is 6153 unspecified. Note that if any value attribute has a color value 6154 (beginning with "#"), then this attribute is ignored and the color values are 6155 interpreted as integers. --> 6156 <enum name="floatType" value="0" /> 6157 <!-- values are integers. --> 6158 <enum name="intType" value="1" /> 6159 <!-- values are paths defined as strings. 6160 This type is used for path morphing in AnimatedVectorDrawable. --> 6161 <enum name="pathType" value="2" /> 6162 <!-- values are colors, which are integers starting with "#". --> 6163 <enum name="colorType" value="3" /> 6164 </attr> 6165 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6166 <attr name="removeBeforeMRelease" format="integer" /> 6167 </declare-styleable> 6168 6169 <declare-styleable name="PropertyValuesHolder"> 6170 <attr name="valueType" /> 6171 <attr name="propertyName" /> 6172 <attr name="valueFrom" /> 6173 <attr name="valueTo" /> 6174 </declare-styleable> 6175 6176 <declare-styleable name="Keyframe"> 6177 <attr name="valueType" /> 6178 <attr name="value" /> 6179 <attr name="fraction" format="float" /> 6180 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6181 to interpolate between this keyframe and the previous keyframe.--> 6182 <attr name="interpolator" /> 6183 </declare-styleable> 6184 6185 <!-- ========================== --> 6186 <!-- ObjectAnimator class attributes --> 6187 <!-- ========================== --> 6188 <eat-comment /> 6189 6190 <declare-styleable name="PropertyAnimator"> 6191 <!-- Name of the property being animated. --> 6192 <attr name="propertyName" format="string"/> 6193 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6194 <attr name="propertyXName" format="string"/> 6195 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6196 <attr name="propertyYName" format="string"/> 6197 <!-- The path used to animate the properties in the ObjectAnimator --> 6198 <attr name="pathData"/> 6199 </declare-styleable> 6200 6201 6202 <!-- ========================== --> 6203 <!-- AnimatorSet class attributes --> 6204 <!-- ========================== --> 6205 <eat-comment /> 6206 6207 <declare-styleable name="AnimatorSet"> 6208 <!-- Name of the property being animated. --> 6209 <attr name="ordering"> 6210 <!-- child animations should be played together. --> 6211 <enum name="together" value="0" /> 6212 <!-- child animations should be played sequentially, in the same order as the xml. --> 6213 <enum name="sequentially" value="1" /> 6214 </attr> 6215 </declare-styleable> 6216 6217 <!-- ========================== --> 6218 <!-- State attributes --> 6219 <!-- ========================== --> 6220 <eat-comment /> 6221 6222 <!-- Drawable states. 6223 The mapping of Drawable states to a particular drawables is specified 6224 in the "state" elements of a Widget's "selector" element. 6225 Possible values: 6226 <ul> 6227 <li>"state_focused" 6228 <li>"state_window_focused" 6229 <li>"state_enabled" 6230 <li>"state_checked" 6231 <li>"state_selected" 6232 <li>"state_active" 6233 <li>"state_single" 6234 <li>"state_first" 6235 <li>"state_mid" 6236 <li>"state_last" 6237 <li>"state_only" 6238 <li>"state_pressed" 6239 <li>"state_activated" 6240 <li>"state_error" 6241 <li>"state_circle" 6242 <li>"state_rect" 6243 <li>"state_grow" 6244 <li>"state_move" 6245 <li>"state_hovered" 6246 <li>"state_drag_can_accept" 6247 <li>"state_drag_hovered" 6248 <li>"state_accessibility_focused" 6249 </ul> --> 6250 <declare-styleable name="DrawableStates"> 6251 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6252 set when a view has input focus. --> 6253 <attr name="state_focused" format="boolean" /> 6254 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6255 set when a view's window has input focus. --> 6256 <attr name="state_window_focused" format="boolean" /> 6257 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6258 set when a view is enabled. --> 6259 <attr name="state_enabled" format="boolean" /> 6260 <!-- State identifier indicating that the object <var>may</var> display a check mark. 6261 See {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6262 actually checked. --> 6263 <attr name="state_checkable" format="boolean"/> 6264 <!-- State identifier indicating that the object is currently checked. See 6265 {@link android.R.attr#state_checkable} for an additional identifier that can indicate if 6266 any object may ever display a check, regardless of whether state_checked is 6267 currently set. --> 6268 <attr name="state_checked" format="boolean"/> 6269 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6270 set when a view (or one of its parents) is currently selected. --> 6271 <attr name="state_selected" format="boolean" /> 6272 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6273 set when the user is pressing down in a view. --> 6274 <attr name="state_pressed" format="boolean" /> 6275 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6276 set when a view or its parent has been "activated" meaning the user has currently 6277 marked it as being of interest. This is an alternative representation of 6278 state_checked for when the state should be propagated down the view hierarchy. --> 6279 <attr name="state_activated" format="boolean" /> 6280 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6281 <attr name="state_active" format="boolean" /> 6282 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6283 <attr name="state_single" format="boolean" /> 6284 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6285 <attr name="state_first" format="boolean" /> 6286 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6287 <attr name="state_middle" format="boolean" /> 6288 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6289 <attr name="state_last" format="boolean" /> 6290 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6291 indicating that the Drawable is in a view that is hardware accelerated. 6292 This means that the device can at least render a full-screen scaled 6293 bitmap with one layer of text and bitmaps composited on top of it 6294 at 60fps. When this is set, the colorBackgroundCacheHint will be 6295 ignored even if it specifies a solid color, since that optimization 6296 is not needed. --> 6297 <attr name="state_accelerated" format="boolean" /> 6298 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6299 set when a pointer is hovering over the view. --> 6300 <attr name="state_hovered" format="boolean" /> 6301 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6302 indicating that the Drawable is in a view that is capable of accepting a drop of 6303 the content currently being manipulated in a drag-and-drop operation. --> 6304 <attr name="state_drag_can_accept" format="boolean" /> 6305 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6306 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6307 is currently positioned over the Drawable. --> 6308 <attr name="state_drag_hovered" format="boolean" /> 6309 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6310 indicating that a View has accessibility focus. --> 6311 <attr name="state_accessibility_focused" format="boolean" /> 6312 </declare-styleable> 6313 <declare-styleable name="ViewDrawableStates"> 6314 <attr name="state_pressed" /> 6315 <attr name="state_focused" /> 6316 <attr name="state_selected" /> 6317 <attr name="state_window_focused" /> 6318 <attr name="state_enabled" /> 6319 <attr name="state_activated" /> 6320 <attr name="state_accelerated" /> 6321 <attr name="state_hovered" /> 6322 <attr name="state_drag_can_accept" /> 6323 <attr name="state_drag_hovered" /> 6324 </declare-styleable> 6325 <!-- State array representing a menu item that is currently checked. --> 6326 <declare-styleable name="MenuItemCheckedState"> 6327 <attr name="state_checkable" /> 6328 <attr name="state_checked" /> 6329 </declare-styleable> 6330 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6331 <declare-styleable name="MenuItemUncheckedState"> 6332 <attr name="state_checkable" /> 6333 </declare-styleable> 6334 <!-- State array representing a menu item that is currently focused and checked. --> 6335 <declare-styleable name="MenuItemCheckedFocusedState"> 6336 <attr name="state_checkable" /> 6337 <attr name="state_checked" /> 6338 <attr name="state_focused" /> 6339 </declare-styleable> 6340 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6341 <declare-styleable name="MenuItemUncheckedFocusedState"> 6342 <attr name="state_checkable" /> 6343 <attr name="state_focused" /> 6344 </declare-styleable> 6345 <!-- State array representing an expandable list child's indicator. --> 6346 <declare-styleable name="ExpandableListChildIndicatorState"> 6347 <!-- State identifier indicating the child is the last child within its group. --> 6348 <attr name="state_last" /> 6349 </declare-styleable> 6350 <!-- State array representing an expandable list group's indicator. --> 6351 <declare-styleable name="ExpandableListGroupIndicatorState"> 6352 <!-- State identifier indicating the group is expanded. --> 6353 <attr name="state_expanded" format="boolean" /> 6354 <!-- State identifier indicating the group is empty (has no children). --> 6355 <attr name="state_empty" format="boolean" /> 6356 </declare-styleable> 6357 <declare-styleable name="PopupWindowBackgroundState"> 6358 <!-- State identifier indicating the popup will be above the anchor. --> 6359 <attr name="state_above_anchor" format="boolean" /> 6360 </declare-styleable> 6361 <declare-styleable name="TextViewMultiLineBackgroundState"> 6362 <!-- State identifier indicating a TextView has a multi-line layout. --> 6363 <attr name="state_multiline" format="boolean" /> 6364 </declare-styleable> 6365 6366 <!-- ***************************************************************** --> 6367 <!-- Support for Searchable activities. --> 6368 <!-- ***************************************************************** --> 6369 <eat-comment /> 6370 6371 <!-- Searchable activities and applications must provide search configuration information 6372 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6373 For a more in-depth discussion of search configuration, please refer to 6374 {@link android.app.SearchManager}. --> 6375 <declare-styleable name="Searchable"> 6376 <!--<strong>This is deprecated.</strong><br/>The default 6377 application icon is now always used, so this attribute is 6378 obsolete.--> 6379 <attr name="icon" /> 6380 <!-- This is the user-displayed name of the searchable activity. <i>Required 6381 attribute.</i> --> 6382 <attr name="label" /> 6383 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6384 attribute.</i> --> 6385 <attr name="hint" /> 6386 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6387 <i>Optional attribute.</i> 6388 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6389 changing to use only icons for its buttons.}--> 6390 <attr name="searchButtonText" format="string" /> 6391 <attr name="inputType" /> 6392 <attr name="imeOptions" /> 6393 6394 <!-- Additional features are controlled by mode bits in this field. Omitting 6395 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6396 --> 6397 <attr name="searchMode"> 6398 <!-- If set, this flag enables the display of the search target (label) within the 6399 search bar. If neither bad mode is selected, no badge will be shown. --> 6400 <flag name="showSearchLabelAsBadge" value="0x04" /> 6401 <!--<strong>This is deprecated.</strong><br/>The default 6402 application icon is now always used, so this option is 6403 obsolete.--> 6404 <flag name="showSearchIconAsBadge" value="0x08" /> 6405 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6406 be considered as the text for suggestion query rewriting. This should only 6407 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6408 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6409 <flag name="queryRewriteFromData" value="0x10" /> 6410 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6411 be considered as the text for suggestion query rewriting. This should be used 6412 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6413 values are not suitable for user inspection and editing. --> 6414 <flag name="queryRewriteFromText" value="0x20" /> 6415 </attr> 6416 6417 <!-- Voice search features are controlled by mode bits in this field. Omitting 6418 this field, or setting to zero, provides default behavior. 6419 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6420 also be set. <i>Optional attribute.</i> 6421 --> 6422 <attr name="voiceSearchMode"> 6423 <!-- If set, display a voice search button. This only takes effect if voice search is 6424 available on the device. --> 6425 <flag name="showVoiceSearchButton" value="0x01" /> 6426 <!-- If set, the voice search button will take the user directly to a built-in 6427 voice web search activity. Most applications will not use this flag, as it 6428 will take the user away from the activity in which search was invoked. --> 6429 <flag name="launchWebSearch" value="0x02" /> 6430 <!-- If set, the voice search button will take the user directly to a built-in 6431 voice recording activity. This activity will prompt the user to speak, 6432 transcribe the spoken text, and forward the resulting query 6433 text to the searchable activity, just as if the user had typed it into 6434 the search UI and clicked the search button. --> 6435 <flag name="launchRecognizer" value="0x04" /> 6436 </attr> 6437 6438 <!-- If provided, this specifies the language model that should be used by the 6439 voice recognition system. See 6440 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 6441 If not provided, the default value 6442 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 6443 <attr name="voiceLanguageModel" format="string" /> 6444 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 6445 <attr name="voicePromptText" format="string" /> 6446 <!-- If provided, this specifies the spoken language to be expected, and that it will be 6447 different than the one set in the {@link java.util.Locale#getDefault()}. --> 6448 <attr name="voiceLanguage" format="string" /> 6449 <!-- If provided, enforces the maximum number of results to return, including the "best" 6450 result which will always be provided as the SEARCH intent's primary query. Must be one 6451 or greater. If not provided, the recognizer will choose how many results to return. 6452 --> 6453 <attr name="voiceMaxResults" format="integer" /> 6454 6455 <!-- If provided, this is the trigger indicating that the searchable activity 6456 provides suggestions as well. The value must be a fully-qualified content provider 6457 authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the 6458 "android:authorities" tag in your content provider's manifest entry. <i>Optional 6459 attribute.</i> --> 6460 <attr name="searchSuggestAuthority" format="string" /> 6461 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 6462 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 6463 --> 6464 <attr name="searchSuggestPath" format="string" /> 6465 <!-- If provided, suggestion queries will be passed into your query function 6466 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 6467 database, and will contain a single question mark, which represents the actual query 6468 string that has been typed by the user. If not provided, then the user query text 6469 will be appended to the query Uri (after an additional "/".) <i>Optional 6470 attribute.</i> --> 6471 <attr name="searchSuggestSelection" format="string" /> 6472 6473 <!-- If provided, and not overridden by an action in the selected suggestion, this 6474 string will be placed in the action field of the {@link android.content.Intent Intent} 6475 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6476 <attr name="searchSuggestIntentAction" format="string" /> 6477 <!-- If provided, and not overridden by an action in the selected suggestion, this 6478 string will be placed in the data field of the {@link android.content.Intent Intent} 6479 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6480 <attr name="searchSuggestIntentData" format="string" /> 6481 6482 <!-- If provided, this is the minimum number of characters needed to trigger 6483 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 6484 <attr name="searchSuggestThreshold" format="integer" /> 6485 6486 <!-- If provided and <code>true</code>, this searchable activity will be 6487 included in any global lists of search targets. 6488 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6489 <attr name="includeInGlobalSearch" format="boolean" /> 6490 6491 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 6492 queries in a particular session. If set to <code>false</code> and the activity 6493 returned zero results for a query, it will not be invoked again in that session for 6494 supersets of that zero-results query. For example, if the activity returned zero 6495 results for "bo", it would not be queried again for "bob". 6496 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6497 <attr name="queryAfterZeroResults" format="boolean" /> 6498 <!-- If provided, this string will be used to describe the searchable item in the 6499 searchable items settings within system search settings. <i>Optional 6500 attribute.</i> --> 6501 <attr name="searchSettingsDescription" format="string" /> 6502 6503 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 6504 within this activity would be detected and treated as URLs (show a 'go' button in the 6505 keyboard and invoke the browser directly when user launches the URL instead of passing 6506 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 6507 normal query text. 6508 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6509 <attr name="autoUrlDetect" format="boolean" /> 6510 6511 </declare-styleable> 6512 6513 <!-- In order to process special action keys during search, you must define them using 6514 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6515 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6516 --> 6517 <declare-styleable name="SearchableActionKey"> 6518 <!-- This attribute denotes the action key you wish to respond to. Note that not 6519 all action keys are actually supported using this mechanism, as many of them are 6520 used for typing, navigation, or system functions. This will be added to the 6521 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6522 searchable activity. To examine the key code, use 6523 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6524 <p>Note, in addition to the keycode, you must also provide one or more of the action 6525 specifier attributes. <i>Required attribute.</i> --> 6526 <attr name="keycode" /> 6527 6528 <!-- If you wish to handle an action key during normal search query entry, you 6529 must define an action string here. This will be added to the 6530 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6531 searchable activity. To examine the string, use 6532 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6533 <i>Optional attribute.</i> --> 6534 <attr name="queryActionMsg" format="string" /> 6535 6536 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6537 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6538 can handle the action key, you can simply define the action message using this 6539 attribute. This will be added to the 6540 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6541 searchable activity. To examine the string, use 6542 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6543 <i>Optional attribute.</i> --> 6544 <attr name="suggestActionMsg" format="string" /> 6545 6546 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6547 selected</i>, but you do not wish to enable this action key for every suggestion, 6548 then you can use this attribute to control it on a suggestion-by-suggestion basis. 6549 First, you must define a column (and name it here) where your suggestions will include 6550 the action string. Then, in your content provider, you must provide this column, and 6551 when desired, provide data in this column. 6552 The search manager will look at your suggestion cursor, using the string 6553 provided here in order to select a column, and will use that to select a string from 6554 the cursor. That string will be added to the 6555 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 6556 your searchable activity. To examine the string, use 6557 {@link android.content.Intent#getStringExtra 6558 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 6559 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 6560 <attr name="suggestActionMsgColumn" format="string" /> 6561 6562 </declare-styleable> 6563 6564 <!-- ***************************************************************** --> 6565 <!-- Support for MapView. --> 6566 <!-- ***************************************************************** --> 6567 <eat-comment /> 6568 6569 <!-- The set of attributes for a MapView. --> 6570 <declare-styleable name="MapView"> 6571 <!-- Value is a string that specifies the Maps API Key to use. --> 6572 <attr name="apiKey" format="string" /> 6573 </declare-styleable> 6574 6575 <!-- **************************************************************** --> 6576 <!-- Menu XML inflation. --> 6577 <!-- **************************************************************** --> 6578 <eat-comment /> 6579 6580 <!-- Base attributes that are available to all Menu objects. --> 6581 <declare-styleable name="Menu"> 6582 </declare-styleable> 6583 6584 <!-- Base attributes that are available to all groups. --> 6585 <declare-styleable name="MenuGroup"> 6586 6587 <!-- The ID of the group. --> 6588 <attr name="id" /> 6589 6590 <!-- The category applied to all items within this group. 6591 (This will be or'ed with the orderInCategory attribute.) --> 6592 <attr name="menuCategory"> 6593 <!-- Items are part of a container. --> 6594 <enum name="container" value="0x00010000" /> 6595 <!-- Items are provided by the system. --> 6596 <enum name="system" value="0x00020000" /> 6597 <!-- Items are user-supplied secondary (infrequently used). --> 6598 <enum name="secondary" value="0x00030000" /> 6599 <!-- Items are alternative actions. --> 6600 <enum name="alternative" value="0x00040000" /> 6601 </attr> 6602 6603 <!-- The order within the category applied to all items within this group. 6604 (This will be or'ed with the category attribute.) --> 6605 <attr name="orderInCategory" format="integer" /> 6606 6607 <!-- Whether the items are capable of displaying a check mark. --> 6608 <attr name="checkableBehavior"> 6609 <!-- The items are not checkable. --> 6610 <enum name="none" value="0" /> 6611 <!-- The items are all checkable. --> 6612 <enum name="all" value="1" /> 6613 <!-- The items are checkable and there will only be a single checked item in 6614 this group. --> 6615 <enum name="single" value="2" /> 6616 </attr> 6617 6618 <!-- Whether the items are shown/visible. --> 6619 <attr name="visible" /> 6620 6621 <!-- Whether the items are enabled. --> 6622 <attr name="enabled" /> 6623 6624 </declare-styleable> 6625 6626 <!-- Base attributes that are available to all Item objects. --> 6627 <declare-styleable name="MenuItem"> 6628 6629 <!-- The ID of the item. --> 6630 <attr name="id" /> 6631 6632 <!-- The category applied to the item. 6633 (This will be or'ed with the orderInCategory attribute.) --> 6634 <attr name="menuCategory" /> 6635 6636 <!-- The order within the category applied to the item. 6637 (This will be or'ed with the category attribute.) --> 6638 <attr name="orderInCategory" /> 6639 6640 <!-- The title associated with the item. --> 6641 <attr name="title" format="string" /> 6642 6643 <!-- The condensed title associated with the item. This is used in situations where the 6644 normal title may be too long to be displayed. --> 6645 <attr name="titleCondensed" format="string" /> 6646 6647 <!-- The icon associated with this item. This icon will not always be shown, so 6648 the title should be sufficient in describing this item. --> 6649 <attr name="icon" /> 6650 6651 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 6652 with alphabetic keys. --> 6653 <attr name="alphabeticShortcut" format="string" /> 6654 6655 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) 6656 keyboard. --> 6657 <attr name="numericShortcut" format="string" /> 6658 6659 <!-- Whether the item is capable of displaying a check mark. --> 6660 <attr name="checkable" format="boolean" /> 6661 6662 <!-- Whether the item is checked. Note that you must first have enabled checking with 6663 the checkable attribute or else the check mark will not appear. --> 6664 <attr name="checked" /> 6665 6666 <!-- Whether the item is shown/visible. --> 6667 <attr name="visible" /> 6668 6669 <!-- Whether the item is enabled. --> 6670 <attr name="enabled" /> 6671 6672 <!-- Name of a method on the Context used to inflate the menu that will be 6673 called when the item is clicked. --> 6674 <attr name="onClick" /> 6675 6676 <!-- How this item should display in the Action Bar, if present. --> 6677 <attr name="showAsAction"> 6678 <!-- Never show this item in an action bar, show it in the overflow menu instead. 6679 Mutually exclusive with "ifRoom" and "always". --> 6680 <flag name="never" value="0" /> 6681 <!-- Show this item in an action bar if there is room for it as determined 6682 by the system. Favor this option over "always" where possible. 6683 Mutually exclusive with "never" and "always". --> 6684 <flag name="ifRoom" value="1" /> 6685 <!-- Always show this item in an actionbar, even if it would override 6686 the system's limits of how much stuff to put there. This may make 6687 your action bar look bad on some screens. In most cases you should 6688 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 6689 <flag name="always" value="2" /> 6690 <!-- When this item is shown as an action in the action bar, show a text 6691 label with it even if it has an icon representation. --> 6692 <flag name="withText" value="4" /> 6693 <!-- This item's action view collapses to a normal menu 6694 item. When expanded, the action view takes over a 6695 larger segment of its container. --> 6696 <flag name="collapseActionView" value="8" /> 6697 </attr> 6698 6699 <!-- An optional layout to be used as an action view. 6700 See {@link android.view.MenuItem#setActionView(android.view.View)} 6701 for more info. --> 6702 <attr name="actionLayout" format="reference" /> 6703 6704 <!-- The name of an optional View class to instantiate and use as an 6705 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 6706 for more info. --> 6707 <attr name="actionViewClass" format="string" /> 6708 6709 <!-- The name of an optional ActionProvider class to instantiate an action view 6710 and perform operations such as default action for that menu item. 6711 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 6712 for more info. --> 6713 <attr name="actionProviderClass" format="string" /> 6714 6715 </declare-styleable> 6716 6717 <!-- Attrbitutes for a ActvityChooserView. --> 6718 <declare-styleable name="ActivityChooserView"> 6719 <!-- The maximal number of items initially shown in the activity list. --> 6720 <attr name="initialActivityCount" format="string" /> 6721 <!-- The drawable to show in the button for expanding the activities overflow popup. 6722 <strong>Note:</strong> Clients would like to set this drawable 6723 as a clue about the action the chosen activity will perform. For 6724 example, if share activity is to be chosen the drawable should 6725 give a clue that sharing is to be performed. 6726 --> 6727 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 6728 </declare-styleable> 6729 6730 <!-- **************************************************************** --> 6731 <!-- Preferences framework. --> 6732 <!-- **************************************************************** --> 6733 <eat-comment /> 6734 6735 <!-- Base attributes available to PreferenceGroup. --> 6736 <declare-styleable name="PreferenceGroup"> 6737 <!-- Whether to order the Preference under this group as they appear in the XML file. 6738 If this is false, the ordering will follow the Preference order attribute and 6739 default to alphabetic for those without the order attribute. --> 6740 <attr name="orderingFromXml" format="boolean" /> 6741 </declare-styleable> 6742 6743 <!-- Attribute for a header describing the item shown in the top-level list 6744 from which the selects the set of preference to dig in to. --> 6745 <declare-styleable name="PreferenceHeader"> 6746 <!-- Identifier value for the header. --> 6747 <attr name="id" /> 6748 <!-- The title of the item that is shown to the user. --> 6749 <attr name="title" /> 6750 <!-- The summary for the item. --> 6751 <attr name="summary" format="string" /> 6752 <!-- The title for the bread crumb of this item. --> 6753 <attr name="breadCrumbTitle" format="string" /> 6754 <!-- The short title for the bread crumb of this item. --> 6755 <attr name="breadCrumbShortTitle" format="string" /> 6756 <!-- An icon for the item. --> 6757 <attr name="icon" /> 6758 <!-- The fragment that is displayed when the user selects this item. --> 6759 <attr name="fragment" format="string" /> 6760 </declare-styleable> 6761 6762 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 6763 with a View's attributes. Some subclasses (e.g., EditTextPreference) 6764 proxy all attributes to its EditText widget. --> 6765 <eat-comment /> 6766 6767 <!-- Base attributes available to Preference. --> 6768 <declare-styleable name="Preference"> 6769 <!-- The optional icon for the preference --> 6770 <attr name="icon" /> 6771 <!-- The key to store the Preference value. --> 6772 <attr name="key" format="string" /> 6773 <!-- The title for the Preference in a PreferenceActivity screen. --> 6774 <attr name="title" /> 6775 <!-- The summary for the Preference in a PreferenceActivity screen. --> 6776 <attr name="summary" /> 6777 <!-- The order for the Preference (lower values are to be ordered first). If this is not 6778 specified, the default ordering will be alphabetic. --> 6779 <attr name="order" format="integer" /> 6780 <!-- When used inside of a modern PreferenceActivity, this declares 6781 a new PreferenceFragment to be shown when the user selects this item. --> 6782 <attr name="fragment" /> 6783 <!-- The layout for the Preference in a PreferenceActivity screen. This should 6784 rarely need to be changed, look at widgetLayout instead. --> 6785 <attr name="layout" /> 6786 <!-- The layout for the controllable widget portion of a Preference. This is inflated 6787 into the layout for a Preference and should be used more frequently than 6788 the layout attribute. For example, a checkbox preference would specify 6789 a custom layout (consisting of just the CheckBox) here. --> 6790 <attr name="widgetLayout" format="reference" /> 6791 <!-- Whether the Preference is enabled. --> 6792 <attr name="enabled" /> 6793 <!-- Whether the Preference is selectable. --> 6794 <attr name="selectable" format="boolean" /> 6795 <!-- The key of another Preference that this Preference will depend on. If the other 6796 Preference is not set or is off, this Preference will be disabled. --> 6797 <attr name="dependency" format="string" /> 6798 <!-- Whether the Preference stores its value to the shared preferences. --> 6799 <attr name="persistent" /> 6800 <!-- The default value for the preference, which will be set either if persistence 6801 is off or persistence is on and the preference is not found in the persistent 6802 storage. --> 6803 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 6804 <!-- Whether the view of this Preference should be disabled when 6805 this Preference is disabled. --> 6806 <attr name="shouldDisableView" format="boolean" /> 6807 </declare-styleable> 6808 6809 <!-- Base attributes available to CheckBoxPreference. --> 6810 <declare-styleable name="CheckBoxPreference"> 6811 <!-- The summary for the Preference in a PreferenceActivity screen when the 6812 CheckBoxPreference is checked. If separate on/off summaries are not 6813 needed, the summary attribute can be used instead. --> 6814 <attr name="summaryOn" format="string" /> 6815 <!-- The summary for the Preference in a PreferenceActivity screen when the 6816 CheckBoxPreference is unchecked. If separate on/off summaries are not 6817 needed, the summary attribute can be used instead. --> 6818 <attr name="summaryOff" format="string" /> 6819 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 6820 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 6821 <attr name="disableDependentsState" format="boolean" /> 6822 </declare-styleable> 6823 6824 <!-- Base attributes available to DialogPreference. --> 6825 <declare-styleable name="DialogPreference"> 6826 <!-- The title in the dialog. --> 6827 <attr name="dialogTitle" format="string" /> 6828 <!-- The message in the dialog. If a dialogLayout is provided and contains 6829 a TextView with ID android:id/message, this message will be placed in there. --> 6830 <attr name="dialogMessage" format="string" /> 6831 <!-- The icon for the dialog. --> 6832 <attr name="dialogIcon" format="reference" /> 6833 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 6834 <attr name="positiveButtonText" format="string" /> 6835 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 6836 <attr name="negativeButtonText" format="string" /> 6837 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 6838 be needed. If a custom DialogPreference is required, this should be set. For example, 6839 the EditTextPreference uses a layout with an EditText as this attribute. --> 6840 <attr name="dialogLayout" format="reference" /> 6841 </declare-styleable> 6842 6843 <!-- Base attributes available to ListPreference. --> 6844 <declare-styleable name="ListPreference"> 6845 <!-- The human-readable array to present as a list. Each entry must have a corresponding 6846 index in entryValues. --> 6847 <attr name="entries" /> 6848 <!-- The array to find the value to save for a preference when an entry from 6849 entries is selected. If a user clicks on the second item in entries, the 6850 second item in this array will be saved to the preference. --> 6851 <attr name="entryValues" format="reference" /> 6852 </declare-styleable> 6853 6854 <declare-styleable name="MultiSelectListPreference"> 6855 <!-- The human-readable array to present as a list. Each entry must have a corresponding 6856 index in entryValues. --> 6857 <attr name="entries" /> 6858 <!-- The array to find the value to save for a preference when an entry from 6859 entries is selected. If a user clicks the second item in entries, the 6860 second item in this array will be saved to the preference. --> 6861 <attr name="entryValues" /> 6862 </declare-styleable> 6863 6864 <!-- Base attributes available to RingtonePreference. --> 6865 <declare-styleable name="RingtonePreference"> 6866 <!-- Which ringtone type(s) to show in the picker. --> 6867 <attr name="ringtoneType"> 6868 <!-- Ringtones. --> 6869 <flag name="ringtone" value="1" /> 6870 <!-- Notification sounds. --> 6871 <flag name="notification" value="2" /> 6872 <!-- Alarm sounds. --> 6873 <flag name="alarm" value="4" /> 6874 <!-- All available ringtone sounds. --> 6875 <flag name="all" value="7" /> 6876 </attr> 6877 <!-- Whether to show an item for a default sound. --> 6878 <attr name="showDefault" format="boolean" /> 6879 <!-- Whether to show an item for 'Silent'. --> 6880 <attr name="showSilent" format="boolean" /> 6881 </declare-styleable> 6882 6883 <!-- Base attributes available to VolumePreference. --> 6884 <declare-styleable name="VolumePreference"> 6885 <!-- Different audio stream types. --> 6886 <attr name="streamType"> 6887 <enum name="voice" value="0" /> 6888 <enum name="system" value="1" /> 6889 <enum name="ring" value="2" /> 6890 <enum name="music" value="3" /> 6891 <enum name="alarm" value="4" /> 6892 </attr> 6893 </declare-styleable> 6894 6895 <declare-styleable name="InputMethodService"> 6896 <!-- Background to use for entire input method when it is being 6897 shown in fullscreen mode with the extract view, to ensure 6898 that it completely covers the application. This allows, 6899 for example, the candidate view to be hidden 6900 while in fullscreen mode without having the application show through 6901 behind it.--> 6902 <attr name="imeFullscreenBackground" format="reference|color" /> 6903 <!-- Animation to use when showing the fullscreen extract UI after 6904 it had previously been hidden. --> 6905 <attr name="imeExtractEnterAnimation" format="reference" /> 6906 <!-- Animation to use when hiding the fullscreen extract UI after 6907 it had previously been shown. --> 6908 <attr name="imeExtractExitAnimation" format="reference" /> 6909 </declare-styleable> 6910 6911 <declare-styleable name="VoiceInteractionSession"> 6912 </declare-styleable> 6913 6914 <declare-styleable name="KeyboardView"> 6915 <!-- Default KeyboardView style. --> 6916 <attr name="keyboardViewStyle" format="reference" /> 6917 6918 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 6919 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 6920 checkable+checked+pressed. --> 6921 <attr name="keyBackground" format="reference" /> 6922 6923 <!-- Size of the text for character keys. --> 6924 <attr name="keyTextSize" format="dimension" /> 6925 6926 <!-- Size of the text for custom keys with some text and no icon. --> 6927 <attr name="labelTextSize" format="dimension" /> 6928 6929 <!-- Color to use for the label in a key. --> 6930 <attr name="keyTextColor" format="color" /> 6931 6932 <!-- Layout resource for key press feedback.--> 6933 <attr name="keyPreviewLayout" format="reference" /> 6934 6935 <!-- Vertical offset of the key press feedback from the key. --> 6936 <attr name="keyPreviewOffset" format="dimension" /> 6937 6938 <!-- Height of the key press feedback popup. --> 6939 <attr name="keyPreviewHeight" format="dimension" /> 6940 6941 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 6942 <attr name="verticalCorrection" format="dimension" /> 6943 6944 <!-- Layout resource for popup keyboards. --> 6945 <attr name="popupLayout" format="reference" /> 6946 6947 <attr name="shadowColor" /> 6948 <attr name="shadowRadius" /> 6949 </declare-styleable> 6950 6951 <declare-styleable name="KeyboardViewPreviewState"> 6952 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 6953 key preview background. --> 6954 <attr name="state_long_pressable" format="boolean" /> 6955 </declare-styleable> 6956 6957 <declare-styleable name="Keyboard"> 6958 <!-- Default width of a key, in pixels or percentage of display width. --> 6959 <attr name="keyWidth" format="dimension|fraction" /> 6960 <!-- Default height of a key, in pixels or percentage of display width. --> 6961 <attr name="keyHeight" format="dimension|fraction" /> 6962 <!-- Default horizontal gap between keys. --> 6963 <attr name="horizontalGap" format="dimension|fraction" /> 6964 <!-- Default vertical gap between rows of keys. --> 6965 <attr name="verticalGap" format="dimension|fraction" /> 6966 </declare-styleable> 6967 6968 <declare-styleable name="Keyboard_Row"> 6969 <!-- Row edge flags. --> 6970 <attr name="rowEdgeFlags"> 6971 <!-- Row is anchored to the top of the keyboard. --> 6972 <flag name="top" value="4" /> 6973 <!-- Row is anchored to the bottom of the keyboard. --> 6974 <flag name="bottom" value="8" /> 6975 </attr> 6976 <!-- Mode of the keyboard. If the mode doesn't match the 6977 requested keyboard mode, the row will be skipped. --> 6978 <attr name="keyboardMode" format="reference" /> 6979 </declare-styleable> 6980 6981 <declare-styleable name="Keyboard_Key"> 6982 <!-- The unicode value or comma-separated values that this key outputs. --> 6983 <attr name="codes" format="integer|string" /> 6984 <!-- The XML keyboard layout of any popup keyboard. --> 6985 <attr name="popupKeyboard" format="reference" /> 6986 <!-- The characters to display in the popup keyboard. --> 6987 <attr name="popupCharacters" format="string" /> 6988 <!-- Key edge flags. --> 6989 <attr name="keyEdgeFlags"> 6990 <!-- Key is anchored to the left of the keyboard. --> 6991 <flag name="left" value="1" /> 6992 <!-- Key is anchored to the right of the keyboard. --> 6993 <flag name="right" value="2" /> 6994 </attr> 6995 <!-- Whether this is a modifier key such as Alt or Shift. --> 6996 <attr name="isModifier" format="boolean" /> 6997 <!-- Whether this is a toggle key. --> 6998 <attr name="isSticky" format="boolean" /> 6999 <!-- Whether long-pressing on this key will make it repeat. --> 7000 <attr name="isRepeatable" format="boolean" /> 7001 <!-- The icon to show in the popup preview. --> 7002 <attr name="iconPreview" format="reference" /> 7003 <!-- The string of characters to output when this key is pressed. --> 7004 <attr name="keyOutputText" format="string" /> 7005 <!-- The label to display on the key. --> 7006 <attr name="keyLabel" format="string" /> 7007 <!-- The icon to display on the key instead of the label. --> 7008 <attr name="keyIcon" format="reference" /> 7009 <!-- Mode of the keyboard. If the mode doesn't match the 7010 requested keyboard mode, the key will be skipped. --> 7011 <attr name="keyboardMode" /> 7012 </declare-styleable> 7013 7014 <!-- =============================== --> 7015 <!-- AppWidget package class attributes --> 7016 <!-- =============================== --> 7017 <eat-comment /> 7018 7019 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 7020 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 7021 package for more info. 7022 --> 7023 <declare-styleable name="AppWidgetProviderInfo"> 7024 <!-- Minimum width of the AppWidget. --> 7025 <attr name="minWidth"/> 7026 <!-- Minimum height of the AppWidget. --> 7027 <attr name="minHeight"/> 7028 <!-- Minimum width that the AppWidget can be resized to. --> 7029 <attr name="minResizeWidth" format="dimension"/> 7030 <!-- Minimum height that the AppWidget can be resized to. --> 7031 <attr name="minResizeHeight" format="dimension"/> 7032 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 7033 <attr name="updatePeriodMillis" format="integer" /> 7034 <!-- A resource id of a layout. --> 7035 <attr name="initialLayout" format="reference" /> 7036 <!-- A resource id of a layout. --> 7037 <attr name="initialKeyguardLayout" format="reference" /> 7038 <!-- A class name in the AppWidget's package to be launched to configure. 7039 If not supplied, then no activity will be launched. --> 7040 <attr name="configure" format="string" /> 7041 <!-- A preview of what the AppWidget will look like after it's configured. 7042 If not supplied, the AppWidget's icon will be used. --> 7043 <attr name="previewImage" format="reference" /> 7044 <!-- The view id of the AppWidget subview which should be auto-advanced. 7045 by the widget's host. --> 7046 <attr name="autoAdvanceViewId" format="reference" /> 7047 <!-- Optional parameter which indicates if and how this widget can be 7048 resized. Supports combined values using | operator. --> 7049 <attr name="resizeMode" format="integer"> 7050 <flag name="none" value="0x0" /> 7051 <flag name="horizontal" value="0x1" /> 7052 <flag name="vertical" value="0x2" /> 7053 </attr> 7054 <!-- Optional parameter which indicates where this widget can be shown, 7055 ie. home screen, keyguard, search bar or any combination thereof. 7056 Supports combined values using | operator. --> 7057 <attr name="widgetCategory" format="integer"> 7058 <flag name="home_screen" value="0x1" /> 7059 <flag name="keyguard" value="0x2" /> 7060 <flag name="searchbox" value="0x4" /> 7061 </attr> 7062 </declare-styleable> 7063 7064 <!-- =============================== --> 7065 <!-- Wallpaper preview attributes --> 7066 <!-- =============================== --> 7067 <eat-comment /> 7068 7069 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 7070 describes a wallpaper preview. --> 7071 <declare-styleable name="WallpaperPreviewInfo"> 7072 <!-- A resource id of a static drawable. --> 7073 <attr name="staticWallpaperPreview" format="reference" /> 7074 </declare-styleable> 7075 7076 <!-- =============================== --> 7077 <!-- App package class attributes --> 7078 <!-- =============================== --> 7079 <eat-comment /> 7080 7081 <!-- ============================= --> 7082 <!-- View package class attributes --> 7083 <!-- ============================= --> 7084 <eat-comment /> 7085 7086 <!-- Attributes that can be used with <code><fragment></code> 7087 tags inside of the layout of an Activity. This instantiates 7088 the given {@link android.app.Fragment} and inserts its content 7089 view into the current location in the layout. --> 7090 <declare-styleable name="Fragment"> 7091 <!-- Supply the name of the fragment class to instantiate. --> 7092 <attr name="name" /> 7093 7094 <!-- Supply an identifier name for the top-level view, to later retrieve it 7095 with {@link android.view.View#findViewById View.findViewById()} or 7096 {@link android.app.Activity#findViewById Activity.findViewById()}. 7097 This must be a 7098 resource reference; typically you set this using the 7099 <code>@+</code> syntax to create a new ID resources. 7100 For example: <code>android:id="@+id/my_id"</code> which 7101 allows you to later retrieve the view 7102 with <code>findViewById(R.id.my_id)</code>. --> 7103 <attr name="id" /> 7104 7105 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7106 later with {@link android.view.View#getTag View.getTag()} or 7107 searched for with {@link android.view.View#findViewWithTag 7108 View.findViewWithTag()}. It is generally preferable to use 7109 IDs (through the android:id attribute) instead of tags because 7110 they are faster and allow for compile-time type checking. --> 7111 <attr name="tag" /> 7112 7113 <!-- The Transition that will be used to move Views out of the scene when the 7114 fragment is removed, hidden, or detached when not popping the back stack. 7115 Corresponds to {@link android.app.Fragment#setExitTransition( 7116 android.transition.Transition)} --> 7117 <attr name="fragmentExitTransition" format="reference"/> 7118 7119 <!-- The Transition that will be used to move Views into the initial scene. 7120 Corresponds to {@link android.app.Fragment#setEnterTransition( 7121 android.transition.Transition)} --> 7122 <attr name="fragmentEnterTransition" format="reference"/> 7123 7124 <!-- The Transition that will be used for shared elements transferred into the content 7125 Scene. 7126 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7127 android.transition.Transition)} --> 7128 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7129 7130 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7131 preparing to be removed, hidden, or detached because of popping the back stack. 7132 Corresponds to {@link android.app.Fragment#setReturnTransition( 7133 android.transition.Transition)} --> 7134 <attr name="fragmentReturnTransition" format="reference"/> 7135 7136 <!-- The Transition that will be used for shared elements transferred back during a 7137 pop of the back stack. This Transition acts in the leaving Fragment. 7138 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7139 android.transition.Transition)} --> 7140 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7141 7142 <!-- The Transition that will be used to move Views in to the scene when returning due 7143 to popping a back stack. 7144 Corresponds to {@link android.app.Fragment#setReenterTransition( 7145 android.transition.Transition)} --> 7146 <attr name="fragmentReenterTransition" format="reference"/> 7147 7148 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7149 forward. 7150 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7151 boolean)} --> 7152 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7153 7154 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7155 because of popping the back stack. 7156 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7157 boolean)} --> 7158 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7159 </declare-styleable> 7160 7161 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7162 describes a 7163 {@link android.app.admin.DeviceAdminReceiver}, which is 7164 referenced from its 7165 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7166 meta-data entry. Described here are the attributes that can be 7167 included in that tag. --> 7168 <declare-styleable name="DeviceAdmin"> 7169 <!-- Control whether the admin is visible to the user, even when it 7170 is not enabled. This is true by default. You may want to make 7171 it false if your admin does not make sense to be turned on 7172 unless some explicit action happens in your app. --> 7173 <attr name="visible" /> 7174 </declare-styleable> 7175 7176 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7177 describes an 7178 {@link android.service.wallpaper.WallpaperService}, which is 7179 referenced from its 7180 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7181 meta-data entry. Described here are the attributes that can be 7182 included in that tag. --> 7183 <declare-styleable name="Wallpaper"> 7184 <attr name="settingsActivity" /> 7185 7186 <!-- Reference to a the wallpaper's thumbnail bitmap. --> 7187 <attr name="thumbnail" format="reference" /> 7188 7189 <!-- Name of the author of this component, e.g. Google. --> 7190 <attr name="author" format="reference" /> 7191 7192 <!-- Short description of the component's purpose or behavior. --> 7193 <attr name="description" /> 7194 </declare-styleable> 7195 7196 <!-- Use <code>dream</code> as the root tag of the XML resource that 7197 describes an 7198 {@link android.service.dreams.DreamService}, which is 7199 referenced from its 7200 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7201 meta-data entry. Described here are the attributes that can be 7202 included in that tag. --> 7203 <declare-styleable name="Dream"> 7204 <!-- Component name of an activity that allows the user to modify 7205 the settings for this dream. --> 7206 <attr name="settingsActivity" /> 7207 </declare-styleable> 7208 7209 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 7210 describes an {@link android.service.trust.TrustAgentService}, which is 7211 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7212 meta-data entry. Described here are the attributes that can be included in that tag. 7213 @hide --> 7214 <declare-styleable name="TrustAgent"> 7215 <!-- @SystemApi Component name of an activity that allows the user to modify 7216 the settings for this trust agent. @hide --> 7217 <attr name="settingsActivity" /> 7218 <!-- @SystemApi Title for a preference that allows that user to launch the 7219 activity to modify trust agent settings. @hide --> 7220 <attr name="title" /> 7221 <!-- @SystemApi Summary for the same preference as the title. @hide --> 7222 <attr name="summary" /> 7223 </declare-styleable> 7224 7225 <!-- =============================== --> 7226 <!-- Accounts package class attributes --> 7227 <!-- =============================== --> 7228 <eat-comment /> 7229 7230 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7231 describes an account authenticator. 7232 --> 7233 <declare-styleable name="AccountAuthenticator"> 7234 <!-- The account type this authenticator handles. --> 7235 <attr name="accountType" format="string"/> 7236 <!-- The user-visible name of the authenticator. --> 7237 <attr name="label"/> 7238 <!-- The icon of the authenticator. --> 7239 <attr name="icon"/> 7240 <!-- Smaller icon of the authenticator. --> 7241 <attr name="smallIcon" format="reference"/> 7242 <!-- A preferences.xml file for authenticator-specific settings. --> 7243 <attr name="accountPreferences" format="reference"/> 7244 <!-- Account handles its own token storage and permissions. 7245 Default to false 7246 --> 7247 <attr name="customTokens" format="boolean"/> 7248 </declare-styleable> 7249 7250 <!-- =============================== --> 7251 <!-- Accounts package class attributes --> 7252 <!-- =============================== --> 7253 <eat-comment /> 7254 7255 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7256 describes an account authenticator. 7257 --> 7258 <declare-styleable name="SyncAdapter"> 7259 <!-- the authority of a content provider. --> 7260 <attr name="contentAuthority" format="string"/> 7261 <attr name="accountType"/> 7262 <attr name="userVisible" format="boolean"/> 7263 <attr name="supportsUploading" format="boolean"/> 7264 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7265 multiple simultaneous syncs for the same account type and authority. 7266 Otherwise the SyncManager will be sure not to issue a start sync request 7267 to this SyncAdapter if the SyncAdapter is already syncing another account. 7268 Defaults to false. 7269 --> 7270 <attr name="allowParallelSyncs" format="boolean"/> 7271 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7272 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7273 Defaults to false. 7274 --> 7275 <attr name="isAlwaysSyncable" format="boolean"/> 7276 <!-- If provided, specifies the action of the settings 7277 activity for this SyncAdapter. 7278 --> 7279 <attr name="settingsActivity"/> 7280 </declare-styleable> 7281 7282 <!-- =============================== --> 7283 <!-- Contacts meta-data attributes --> 7284 <!-- =============================== --> 7285 <eat-comment /> 7286 7287 <!-- TODO: remove this deprecated styleable. --> 7288 <eat-comment /> 7289 <declare-styleable name="Icon"> 7290 <attr name="icon" /> 7291 <attr name="mimeType" /> 7292 </declare-styleable> 7293 7294 <!-- TODO: remove this deprecated styleable --> 7295 <eat-comment /> 7296 <declare-styleable name="IconDefault"> 7297 <attr name="icon" /> 7298 </declare-styleable> 7299 7300 <!-- Maps a specific contact data MIME-type to styling information. --> 7301 <declare-styleable name="ContactsDataKind"> 7302 <!-- Mime-type handled by this mapping. --> 7303 <attr name="mimeType" /> 7304 <!-- Icon used to represent data of this kind. --> 7305 <attr name="icon" /> 7306 <!-- Column in data table that summarizes this data. --> 7307 <attr name="summaryColumn" format="string" /> 7308 <!-- Column in data table that contains details for this data. --> 7309 <attr name="detailColumn" format="string" /> 7310 <!-- Flag indicating that detail should be built from SocialProvider. --> 7311 <attr name="detailSocialSummary" format="boolean" /> 7312 <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or 7313 "All connections"). Optional (Default is "All Contacts"). --> 7314 <attr name="allContactsName" format="string" /> 7315 </declare-styleable> 7316 7317 <!-- =============================== --> 7318 <!-- TabSelector class attributes --> 7319 <!-- =============================== --> 7320 <eat-comment /> 7321 7322 <declare-styleable name="SlidingTab"> 7323 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 7324 <attr name="orientation" /> 7325 </declare-styleable> 7326 7327 <!-- =============================== --> 7328 <!-- GlowPadView class attributes --> 7329 <!-- =============================== --> 7330 <eat-comment /> 7331 <declare-styleable name="GlowPadView"> 7332 <!-- Reference to an array resource that be used as description for the targets around the circle. 7333 {@deprecated Removed.} --> 7334 <attr name="targetDescriptions" format="reference" /> 7335 7336 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 7337 {@deprecated Removed.}--> 7338 <attr name="directionDescriptions" format="reference" /> 7339 </declare-styleable> 7340 7341 <!-- =============================== --> 7342 <!-- Location package class attributes --> 7343 <!-- =============================== --> 7344 <eat-comment /> 7345 7346 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 7347 describes an injected "Location services" setting. Note that the status value (subtitle) 7348 for the setting is specified dynamically by a subclass of SettingInjectorService. 7349 --> 7350 <declare-styleable name="SettingInjectorService"> 7351 <!-- The title for the preference. --> 7352 <attr name="title"/> 7353 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 7354 a generic icon for the developer. --> 7355 <attr name="icon"/> 7356 <!-- The activity to launch when the setting is clicked on. --> 7357 <attr name="settingsActivity"/> 7358 </declare-styleable> 7359 7360 <!-- =============================== --> 7361 <!-- LockPatternView class attributes --> 7362 <!-- =============================== --> 7363 <eat-comment /> 7364 7365 <declare-styleable name="LockPatternView"> 7366 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 7367 or "lock_height" --> 7368 <attr name="aspect" format="string" /> 7369 <!-- Color to use when drawing LockPatternView paths. --> 7370 <attr name="pathColor" format="color|reference" /> 7371 <!-- The regular pattern color --> 7372 <attr name="regularColor" format="color|reference" /> 7373 <!-- The error color --> 7374 <attr name="errorColor" format="color|reference" /> 7375 <!-- The success color --> 7376 <attr name="successColor" format="color|reference"/> 7377 </declare-styleable> 7378 7379 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 7380 describes a {@link android.speech.RecognitionService}, which is referenced from 7381 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 7382 Described here are the attributes that can be included in that tag. --> 7383 <declare-styleable name="RecognitionService"> 7384 <attr name="settingsActivity" /> 7385 </declare-styleable> 7386 7387 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 7388 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 7389 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 7390 Described here are the attributes that can be included in that tag. --> 7391 <declare-styleable name="VoiceInteractionService"> 7392 <!-- The service that hosts active voice interaction sessions. This is required. --> 7393 <attr name="sessionService" format="string" /> 7394 <!-- The service that provides voice recognition. This is required. When the user 7395 selects this voice interaction service, they will also be implicitly selecting 7396 the component here for their recognition service. --> 7397 <attr name="recognitionService" format="string" /> 7398 <attr name="settingsActivity" /> 7399 <!-- Flag indicating whether this voice interaction service is capable of handling the 7400 assist action. --> 7401 <attr name="supportsAssist" format="boolean" /> 7402 <!-- Flag indicating whether this voice interaction service is capable of being launched 7403 from the keyguard. --> 7404 <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" /> 7405 </declare-styleable> 7406 7407 <!-- Use <code>voice-enrollment-application</code> 7408 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 7409 by the enrollment application. 7410 Described here are the attributes that can be included in that tag. 7411 @hide 7412 @SystemApi --> 7413 <declare-styleable name="VoiceEnrollmentApplication"> 7414 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 7415 <attr name="searchKeyphraseId" format="integer" /> 7416 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 7417 <attr name="searchKeyphrase" format="string" /> 7418 <!-- A comma separated list of BCP-47 language tag for locales that are supported 7419 for this keyphrase, or empty if not locale dependent. @hide @SystemApi --> 7420 <attr name="searchKeyphraseSupportedLocales" format="string" /> 7421 <!-- Flags for supported recognition modes. @hide @SystemApi --> 7422 <attr name="searchKeyphraseRecognitionFlags"> 7423 <flag name="none" value="0" /> 7424 <flag name="voiceTrigger" value="0x1" /> 7425 <flag name="userIdentification" value="0x2" /> 7426 </attr> 7427 </declare-styleable> 7428 7429 <!-- Attributes used to style the Action Bar. --> 7430 <declare-styleable name="ActionBar"> 7431 <!-- The type of navigation to use. --> 7432 <attr name="navigationMode"> 7433 <!-- Normal static title text --> 7434 <enum name="normal" value="0" /> 7435 <!-- The action bar will use a selection list for navigation. --> 7436 <enum name="listMode" value="1" /> 7437 <!-- The action bar will use a series of horizontal tabs for navigation. --> 7438 <enum name="tabMode" value="2" /> 7439 </attr> 7440 <!-- Options affecting how the action bar is displayed. --> 7441 <attr name="displayOptions"> 7442 <flag name="none" value="0" /> 7443 <flag name="useLogo" value="0x1" /> 7444 <flag name="showHome" value="0x2" /> 7445 <flag name="homeAsUp" value="0x4" /> 7446 <flag name="showTitle" value="0x8" /> 7447 <flag name="showCustom" value="0x10" /> 7448 <flag name="disableHome" value="0x20" /> 7449 </attr> 7450 <!-- Specifies title text used for navigationMode="normal" --> 7451 <attr name="title" /> 7452 <!-- Specifies subtitle text used for navigationMode="normal" --> 7453 <attr name="subtitle" format="string" /> 7454 <!-- Specifies a style to use for title text. --> 7455 <attr name="titleTextStyle" format="reference" /> 7456 <!-- Specifies a style to use for subtitle text. --> 7457 <attr name="subtitleTextStyle" format="reference" /> 7458 <!-- Specifies the drawable used for the application icon. --> 7459 <attr name="icon" /> 7460 <!-- Specifies the drawable used for the application logo. --> 7461 <attr name="logo" /> 7462 <!-- Specifies the drawable used for item dividers. --> 7463 <attr name="divider" /> 7464 <!-- Specifies a background drawable for the action bar. --> 7465 <attr name="background" /> 7466 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 7467 <attr name="backgroundStacked" format="reference|color" /> 7468 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 7469 <attr name="backgroundSplit" format="reference|color" /> 7470 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 7471 <attr name="customNavigationLayout" format="reference" /> 7472 <!-- Specifies a fixed height. --> 7473 <attr name="height" /> 7474 <!-- Specifies a layout to use for the "home" section of the action bar. --> 7475 <attr name="homeLayout" format="reference" /> 7476 <!-- Specifies a style resource to use for an embedded progress bar. --> 7477 <attr name="progressBarStyle" /> 7478 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 7479 <attr name="indeterminateProgressStyle" format="reference" /> 7480 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 7481 <attr name="progressBarPadding" format="dimension" /> 7482 <!-- Up navigation glyph --> 7483 <attr name="homeAsUpIndicator" /> 7484 <!-- Specifies padding that should be applied to the left and right sides of 7485 system-provided items in the bar. --> 7486 <attr name="itemPadding" format="dimension" /> 7487 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 7488 <attr name="hideOnContentScroll" format="boolean" /> 7489 <!-- Minimum inset for content views within a bar. Navigation buttons and 7490 menu views are excepted. Only valid for some themes and configurations. --> 7491 <attr name="contentInsetStart" format="dimension" /> 7492 <!-- Minimum inset for content views within a bar. Navigation buttons and 7493 menu views are excepted. Only valid for some themes and configurations. --> 7494 <attr name="contentInsetEnd" format="dimension" /> 7495 <!-- Minimum inset for content views within a bar. Navigation buttons and 7496 menu views are excepted. Only valid for some themes and configurations. --> 7497 <attr name="contentInsetLeft" format="dimension" /> 7498 <!-- Minimum inset for content views within a bar. Navigation buttons and 7499 menu views are excepted. Only valid for some themes and configurations. --> 7500 <attr name="contentInsetRight" format="dimension" /> 7501 <!-- Elevation for the action bar itself --> 7502 <attr name="elevation" /> 7503 <!-- Reference to a theme that should be used to inflate popups 7504 shown by widgets in the action bar. --> 7505 <attr name="popupTheme" /> 7506 </declare-styleable> 7507 7508 <declare-styleable name="ActionMode"> 7509 <!-- Specifies a style to use for title text. --> 7510 <attr name="titleTextStyle" /> 7511 <!-- Specifies a style to use for subtitle text. --> 7512 <attr name="subtitleTextStyle" /> 7513 <!-- Specifies a background for the action mode bar. --> 7514 <attr name="background" /> 7515 <!-- Specifies a background for the split action mode bar. --> 7516 <attr name="backgroundSplit" /> 7517 <!-- Specifies a fixed height for the action mode bar. --> 7518 <attr name="height" /> 7519 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 7520 <attr name="closeItemLayout" format="reference" /> 7521 </declare-styleable> 7522 7523 <declare-styleable name="SearchView"> 7524 <!-- The layout to use for the search view. --> 7525 <attr name="layout" /> 7526 <!-- The default state of the SearchView. If true, it will be iconified when not in 7527 use and expanded when clicked. --> 7528 <attr name="iconifiedByDefault" format="boolean" /> 7529 <!-- An optional maximum width of the SearchView. --> 7530 <attr name="maxWidth" /> 7531 <!-- An optional query hint string to be displayed in the empty query field. --> 7532 <attr name="queryHint" format="string" /> 7533 <!-- Default query hint used when {@code queryHint} is undefined and 7534 the search view's {@code SearchableInfo} does not provide a hint. 7535 @hide --> 7536 <attr name="defaultQueryHint" format="string" /> 7537 <!-- The IME options to set on the query text field. --> 7538 <attr name="imeOptions" /> 7539 <!-- The input type to set on the query text field. --> 7540 <attr name="inputType" /> 7541 <!-- Close button icon --> 7542 <attr name="closeIcon" format="reference" /> 7543 <!-- Go button icon --> 7544 <attr name="goIcon" format="reference" /> 7545 <!-- Search icon --> 7546 <attr name="searchIcon" format="reference" /> 7547 <!-- Search icon displayed as a text field hint --> 7548 <attr name="searchHintIcon" format="reference" /> 7549 <!-- Voice button icon --> 7550 <attr name="voiceIcon" format="reference" /> 7551 <!-- Commit icon shown in the query suggestion row --> 7552 <attr name="commitIcon" format="reference" /> 7553 <!-- Layout for query suggestion rows --> 7554 <attr name="suggestionRowLayout" format="reference" /> 7555 <!-- Background for the section containing the search query --> 7556 <attr name="queryBackground" format="reference" /> 7557 <!-- Background for the section containing the action (e.g. voice search) --> 7558 <attr name="submitBackground" format="reference" /> 7559 <attr name="focusable" /> 7560 </declare-styleable> 7561 7562 <declare-styleable name="Switch"> 7563 <!-- Drawable to use as the "thumb" that switches back and forth. --> 7564 <attr name="thumb" /> 7565 <!-- Tint to apply to the thumb. --> 7566 <attr name="thumbTint" /> 7567 <!-- Blending mode used to apply the thumb tint. --> 7568 <attr name="thumbTintMode" /> 7569 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 7570 <attr name="track" format="reference" /> 7571 <!-- Tint to apply to the track. --> 7572 <attr name="trackTint" format="color" /> 7573 <!-- Blending mode used to apply the track tint. --> 7574 <attr name="trackTintMode"> 7575 <!-- The tint is drawn on top of the drawable. 7576 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7577 <enum name="src_over" value="3" /> 7578 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 7579 color channels are thrown out. [Sa * Da, Sc * Da] --> 7580 <enum name="src_in" value="5" /> 7581 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 7582 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7583 <enum name="src_atop" value="9" /> 7584 <!-- Multiplies the color and alpha channels of the drawable with those of 7585 the tint. [Sa * Da, Sc * Dc] --> 7586 <enum name="multiply" value="14" /> 7587 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7588 <enum name="screen" value="15" /> 7589 <!-- Combines the tint and drawable color and alpha channels, clamping the 7590 result to valid color values. Saturate(S + D) --> 7591 <enum name="add" value="16" /> 7592 </attr> 7593 <!-- Text to use when the switch is in the checked/"on" state. --> 7594 <attr name="textOn" /> 7595 <!-- Text to use when the switch is in the unchecked/"off" state. --> 7596 <attr name="textOff" /> 7597 <!-- Amount of padding on either side of text within the switch thumb. --> 7598 <attr name="thumbTextPadding" format="dimension" /> 7599 <!-- TextAppearance style for text displayed on the switch thumb. --> 7600 <attr name="switchTextAppearance" format="reference" /> 7601 <!-- Minimum width for the switch component --> 7602 <attr name="switchMinWidth" format="dimension" /> 7603 <!-- Minimum space between the switch and caption text --> 7604 <attr name="switchPadding" format="dimension" /> 7605 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 7606 <attr name="splitTrack" /> 7607 <!-- Whether to draw on/off text. --> 7608 <attr name="showText" format="boolean" /> 7609 </declare-styleable> 7610 7611 <declare-styleable name="Pointer"> 7612 <!-- Reference to a pointer icon drawable with STYLE_ARROW --> 7613 <attr name="pointerIconArrow" format="reference" /> 7614 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER --> 7615 <attr name="pointerIconSpotHover" format="reference" /> 7616 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH --> 7617 <attr name="pointerIconSpotTouch" format="reference" /> 7618 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR --> 7619 <attr name="pointerIconSpotAnchor" format="reference" /> 7620 <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU --> 7621 <attr name="pointerIconContextMenu" format="reference"/> 7622 <!-- Reference to a pointer drawable with STYLE_HAND --> 7623 <attr name="pointerIconHand" format="reference"/> 7624 <!-- Reference to a pointer drawable with STYLE_HELP --> 7625 <attr name="pointerIconHelp" format="reference"/> 7626 <!-- Reference to a pointer drawable with STYLE_CELL --> 7627 <attr name="pointerIconCell" format="reference"/> 7628 <!-- Reference to a pointer drawable with STYLE_CROSSHAIR --> 7629 <attr name="pointerIconCrosshair" format="reference"/> 7630 <!-- Reference to a pointer drawable with STYLE_TEXT --> 7631 <attr name="pointerIconText" format="reference"/> 7632 <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT --> 7633 <attr name="pointerIconVerticalText" format="reference"/> 7634 <!-- Reference to a pointer drawable with STYLE_ALIAS --> 7635 <attr name="pointerIconAlias" format="reference"/> 7636 <!-- Reference to a pointer drawable with STYLE_COPY --> 7637 <attr name="pointerIconCopy" format="reference"/> 7638 <!-- Reference to a pointer drawable with STYLE_NODROP --> 7639 <attr name="pointerIconNodrop" format="reference"/> 7640 <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL --> 7641 <attr name="pointerIconAllScroll" format="reference"/> 7642 <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW --> 7643 <attr name="pointerIconHorizontalDoubleArrow" format="reference"/> 7644 <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW --> 7645 <attr name="pointerIconVerticalDoubleArrow" format="reference"/> 7646 <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW --> 7647 <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/> 7648 <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW --> 7649 <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/> 7650 <!-- Reference to a pointer drawable with STYLE_ZOOM_IN --> 7651 <attr name="pointerIconZoomIn" format="reference"/> 7652 <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT --> 7653 <attr name="pointerIconZoomOut" format="reference"/> 7654 <!-- Reference to a pointer drawable with STYLE_GRAB --> 7655 <attr name="pointerIconGrab" format="reference"/> 7656 <!-- Reference to a pointer drawable with STYLE_GRABBING --> 7657 <attr name="pointerIconGrabbing" format="reference"/> 7658 </declare-styleable> 7659 7660 <declare-styleable name="PointerIcon"> 7661 <!-- Drawable to use as the icon bitmap. --> 7662 <attr name="bitmap" format="reference" /> 7663 <!-- X coordinate of the icon hot spot. --> 7664 <attr name="hotSpotX" format="dimension" /> 7665 <!-- Y coordinate of the icon hot spot. --> 7666 <attr name="hotSpotY" format="dimension" /> 7667 </declare-styleable> 7668 7669 <declare-styleable name="Storage"> 7670 <!-- path to mount point for the storage --> 7671 <attr name="mountPoint" format="string" /> 7672 <!-- user visible description of the storage --> 7673 <attr name="storageDescription" format="string" /> 7674 <!-- true if the storage is the primary external storage --> 7675 <attr name="primary" format="boolean" /> 7676 <!-- true if the storage is removable --> 7677 <attr name="removable" format="boolean" /> 7678 <!-- true if the storage is emulated via the FUSE sdcard daemon --> 7679 <attr name="emulated" format="boolean" /> 7680 <!-- number of megabytes of storage MTP should reserve for free storage 7681 (used for emulated storage that is shared with system's data partition) --> 7682 <attr name="mtpReserve" format="integer" /> 7683 <!-- true if the storage can be shared via USB mass storage --> 7684 <attr name="allowMassStorage" format="boolean" /> 7685 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded --> 7686 <attr name="maxFileSize" format="integer" /> 7687 </declare-styleable> 7688 7689 <declare-styleable name="SwitchPreference"> 7690 <!-- The summary for the Preference in a PreferenceActivity screen when the 7691 SwitchPreference is checked. If separate on/off summaries are not 7692 needed, the summary attribute can be used instead. --> 7693 <attr name="summaryOn" /> 7694 <!-- The summary for the Preference in a PreferenceActivity screen when the 7695 SwitchPreference is unchecked. If separate on/off summaries are not 7696 needed, the summary attribute can be used instead. --> 7697 <attr name="summaryOff" /> 7698 <!-- The text used on the switch itself when in the "on" state. 7699 This should be a very SHORT string, as it appears in a small space. --> 7700 <attr name="switchTextOn" format="string" /> 7701 <!-- The text used on the switch itself when in the "off" state. 7702 This should be a very SHORT string, as it appears in a small space. --> 7703 <attr name="switchTextOff" format="string" /> 7704 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7705 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7706 <attr name="disableDependentsState" /> 7707 </declare-styleable> 7708 7709 <declare-styleable name="SeekBarPreference"> 7710 <attr name="layout" /> 7711 </declare-styleable> 7712 7713 <!-- Base attributes available to PreferenceFragment. --> 7714 <declare-styleable name="PreferenceFragment"> 7715 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 7716 <attr name="layout" /> 7717 </declare-styleable> 7718 7719 <!-- Base attributes available to PreferenceActivity. --> 7720 <declare-styleable name="PreferenceActivity"> 7721 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 7722 <attr name="layout" /> 7723 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 7724 <attr name="headerLayout" format="reference" /> 7725 <!-- true if the Icon view will be removed when there is none and thus not showing 7726 the fixed margins. --> 7727 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 7728 </declare-styleable> 7729 7730 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 7731 describes a text to speech engine implemented as a subclass of 7732 {@link android.speech.tts.TextToSpeechService}. 7733 7734 The XML resource must be referenced from its 7735 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 7736 entry. --> 7737 <declare-styleable name="TextToSpeechEngine"> 7738 <attr name="settingsActivity" /> 7739 </declare-styleable> 7740 7741 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 7742 describes a collection of keyboard layouts provided by an application. 7743 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 7744 with these attributes. 7745 7746 The XML resource that contains the keyboard layouts must be referenced from its 7747 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 7748 meta-data entry used with broadcast receivers for 7749 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 7750 <declare-styleable name="KeyboardLayout"> 7751 <!-- The name of the keyboard layout, must be unique in the receiver. --> 7752 <attr name="name" /> 7753 <!-- The display label of the keyboard layout. --> 7754 <attr name="label" /> 7755 <!-- The key character map file resource. --> 7756 <attr name="keyboardLayout" format="reference" /> 7757 </declare-styleable> 7758 7759 <declare-styleable name="MediaRouteButton"> 7760 <!-- This drawable is a state list where the "activated" state 7761 indicates active media routing. Non-activated indicates 7762 that media is playing to the local device only. 7763 @hide --> 7764 <attr name="externalRouteEnabledDrawable" format="reference" /> 7765 7766 <!-- The types of media routes the button and its resulting 7767 chooser will filter by. --> 7768 <attr name="mediaRouteTypes" format="integer"> 7769 <!-- Allow selection of live audio routes. --> 7770 <enum name="liveAudio" value="0x1" /> 7771 <!-- Allow selection of user (app-specified) routes. --> 7772 <enum name="user" value="0x800000" /> 7773 </attr> 7774 7775 <attr name="minWidth" /> 7776 <attr name="minHeight" /> 7777 </declare-styleable> 7778 7779 <!-- PagedView specific attributes. These attributes are used to customize 7780 a PagedView view in XML files. --> 7781 <declare-styleable name="PagedView"> 7782 <!-- The space between adjacent pages of the PagedView. --> 7783 <attr name="pageSpacing" format="dimension" /> 7784 <!-- The padding for the scroll indicator area --> 7785 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 7786 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 7787 </declare-styleable> 7788 7789 <declare-styleable name="KeyguardGlowStripView"> 7790 <attr name="dotSize" format="dimension" /> 7791 <attr name="numDots" format="integer" /> 7792 <attr name="glowDot" format="reference" /> 7793 <attr name="leftToRight" format="boolean" /> 7794 </declare-styleable> 7795 7796 <!-- Some child types have special behavior. --> 7797 <attr name="layout_childType"> 7798 <!-- No special behavior. Layout will proceed as normal. --> 7799 <enum name="none" value="0" /> 7800 <!-- Widget container. 7801 This will be resized in response to certain events. --> 7802 <enum name="widget" value="1" /> 7803 <!-- Security challenge container. 7804 This will be dismissed/shown in response to certain events, 7805 possibly obscuring widget elements. --> 7806 <enum name="challenge" value="2" /> 7807 <!-- User switcher. 7808 This will consume space from the total layout area. --> 7809 <enum name="userSwitcher" value="3" /> 7810 <!-- Scrim. This will block access to child views that 7811 come before it in the child list in bouncer mode. --> 7812 <enum name="scrim" value="4" /> 7813 <!-- The home for widgets. All widgets will be descendents of this. --> 7814 <enum name="widgets" value="5" /> 7815 <!-- This is a handle that is used for expanding the 7816 security challenge container when it is collapsed. --> 7817 <enum name="expandChallengeHandle" value="6" /> 7818 <!-- Delete drop target. This will be the drop target to delete pages. --> 7819 <enum name="pageDeleteDropTarget" value="7" /> 7820 </attr> 7821 7822 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 7823 tags. --> 7824 <declare-styleable name="FragmentBreadCrumbs"> 7825 <attr name="gravity" /> 7826 <attr name="itemLayout" format="reference" /> 7827 <attr name="itemColor" format="color|reference" /> 7828 </declare-styleable> 7829 7830 <declare-styleable name="Toolbar"> 7831 <attr name="titleTextAppearance" format="reference" /> 7832 <attr name="subtitleTextAppearance" format="reference" /> 7833 <attr name="title" /> 7834 <attr name="subtitle" /> 7835 <attr name="gravity" /> 7836 <!-- Specifies extra space on the left, start, right and end sides 7837 of the toolbar's title. Margin values should be positive. --> 7838 <attr name="titleMargin" format="dimension" /> 7839 <!-- Specifies extra space on the start side of the toolbar's title. 7840 If both this attribute and titleMargin are specified, then this 7841 attribute takes precedence. Margin values should be positive. --> 7842 <attr name="titleMarginStart" format="dimension" /> 7843 <!-- Specifies extra space on the end side of the toolbar's title. 7844 If both this attribute and titleMargin are specified, then this 7845 attribute takes precedence. Margin values should be positive. --> 7846 <attr name="titleMarginEnd" format="dimension" /> 7847 <!-- Specifies extra space on the top side of the toolbar's title. 7848 If both this attribute and titleMargin are specified, then this 7849 attribute takes precedence. Margin values should be positive. --> 7850 <attr name="titleMarginTop" format="dimension" /> 7851 <!-- Specifies extra space on the bottom side of the toolbar's title. 7852 If both this attribute and titleMargin are specified, then this 7853 attribute takes precedence. Margin values should be positive. --> 7854 <attr name="titleMarginBottom" format="dimension" /> 7855 <attr name="contentInsetStart" /> 7856 <attr name="contentInsetEnd" /> 7857 <attr name="contentInsetLeft" /> 7858 <attr name="contentInsetRight" /> 7859 <attr name="maxButtonHeight" format="dimension" /> 7860 <attr name="navigationButtonStyle" format="reference" /> 7861 <attr name="buttonGravity"> 7862 <!-- Push object to the top of its container, not changing its size. --> 7863 <flag name="top" value="0x30" /> 7864 <!-- Push object to the bottom of its container, not changing its size. --> 7865 <flag name="bottom" value="0x50" /> 7866 </attr> 7867 <!-- Icon drawable to use for the collapse button. --> 7868 <attr name="collapseIcon" format="reference" /> 7869 <!-- Text to set as the content description for the collapse button. --> 7870 <attr name="collapseContentDescription" format="string" /> 7871 <!-- Reference to a theme that should be used to inflate popups 7872 shown by widgets in the toolbar. --> 7873 <attr name="popupTheme" format="reference" /> 7874 <!-- Icon drawable to use for the navigation button located at 7875 the start of the toolbar. --> 7876 <attr name="navigationIcon" format="reference" /> 7877 <!-- Text to set as the content description for the navigation button 7878 located at the start of the toolbar. --> 7879 <attr name="navigationContentDescription" format="string" /> 7880 <!-- Drawable to set as the logo that appears at the starting side of 7881 the Toolbar, just after the navigation button. --> 7882 <attr name="logo" /> 7883 <!-- A content description string to describe the appearance of the 7884 associated logo image. --> 7885 <attr name="logoDescription" format="string" /> 7886 <!-- A color to apply to the title string. --> 7887 <attr name="titleTextColor" format="color" /> 7888 <!-- A color to apply to the subtitle string. --> 7889 <attr name="subtitleTextColor" format="color" /> 7890 </declare-styleable> 7891 7892 <declare-styleable name="Toolbar_LayoutParams"> 7893 <attr name="layout_gravity" /> 7894 </declare-styleable> 7895 7896 <declare-styleable name="ActionBar_LayoutParams"> 7897 <attr name="layout_gravity" /> 7898 </declare-styleable> 7899 7900 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 7901 <declare-styleable name="EdgeEffect"> 7902 <attr name="colorEdgeEffect" /> 7903 </declare-styleable> 7904 7905 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 7906 {@link android.media.tv.TvInputService}, which is referenced from its 7907 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 7908 Described here are the attributes that can be included in that tag. --> 7909 <declare-styleable name="TvInputService"> 7910 <!-- Component name of an activity for setup of this service. 7911 The setup includes scanning channels and registering EPG data. --> 7912 <attr name="setupActivity" format="string" /> 7913 <!-- Component name of an activity that allows the user to modify 7914 the settings for this service. --> 7915 <attr name="settingsActivity" /> 7916 </declare-styleable> 7917 7918 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 7919 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 7920 which is referenced from its 7921 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 7922 <declare-styleable name="RatingSystemDefinition"> 7923 <!-- The unique name of the content rating system. --> 7924 <attr name="name" /> 7925 <!-- The title of the content rating system which is shown to the user. --> 7926 <attr name="title" /> 7927 <!-- The short description of the content rating system. --> 7928 <attr name="description" /> 7929 <!-- The country code associated with the content rating system, which consists of two 7930 uppercase letters that conform to the ISO 3166 standard. --> 7931 <attr name="country" format="string" /> 7932 </declare-styleable> 7933 7934 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 7935 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 7936 which is referenced from its 7937 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 7938 <declare-styleable name="RatingDefinition"> 7939 <!-- The unique name of the content rating. --> 7940 <attr name="name" /> 7941 <!-- The title of the content rating which is shown to the user. --> 7942 <attr name="title" /> 7943 <!-- The short description of the content rating. --> 7944 <attr name="description" /> 7945 <!-- The age associated with the content rating. The content of this rating is suitable for 7946 people of this age or above. --> 7947 <attr name="contentAgeHint" format="integer" /> 7948 </declare-styleable> 7949 7950 <declare-styleable name="ResolverDrawerLayout"> 7951 <attr name="maxWidth" /> 7952 <attr name="maxCollapsedHeight" format="dimension" /> 7953 <attr name="maxCollapsedHeightSmall" format="dimension" /> 7954 </declare-styleable> 7955 7956 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 7957 <attr name="layout_alwaysShow" format="boolean" /> 7958 <attr name="layout_ignoreOffset" format="boolean" /> 7959 <attr name="layout_gravity" /> 7960 </declare-styleable> 7961 7962 <!-- @hide --> 7963 <declare-styleable name="Lighting"> 7964 <attr name="lightY" /> 7965 <attr name="lightZ" /> 7966 <attr name="lightRadius" /> 7967 <attr name="ambientShadowAlpha" /> 7968 <attr name="spotShadowAlpha" /> 7969 </declare-styleable> 7970 7971 <declare-styleable name="RestrictionEntry"> 7972 <attr name="key" /> 7973 <attr name="restrictionType"> 7974 <enum name="hidden" value="0" /> 7975 <enum name="bool" value="1" /> 7976 <enum name="choice" value="2" /> 7977 <enum name="multi-select" value="4" /> 7978 <enum name="integer" value="5" /> 7979 <enum name="string" value="6" /> 7980 <enum name="bundle" value="7" /> 7981 <enum name="bundle_array" value="8" /> 7982 </attr> 7983 <attr name="title" /> 7984 <attr name="description" /> 7985 <attr name="defaultValue" /> 7986 <attr name="entries" /> 7987 <attr name="entryValues" /> 7988 </declare-styleable> 7989</resources> 7990