attrs.xml revision b89d5cc2c64112a0ff7e66e4dd3bb2114caed935
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 <!-- Default color of foreground imagery. --> 31 <attr name="colorForeground" format="color" /> 32 <!-- Default color of foreground imagery on an inverted background. --> 33 <attr name="colorForegroundInverse" format="color" /> 34 <!-- Color that matches (as closely as possible) the window background. --> 35 <attr name="colorBackground" format="color" /> 36 <!-- This is a hint for a solid color that can be used for caching 37 rendered views. This should be the color of the background when 38 there is a solid background color; it should be null when the 39 background is a texture or translucent. When a device is able 40 to use accelerated drawing (thus setting state_accelerated), the 41 cache hint is ignored and always assumed to be transparent. --> 42 <attr name="colorBackgroundCacheHint" format="color" /> 43 44 <!-- Default highlight color for items that are pressed. --> 45 <attr name="colorPressedHighlight" format="color" /> 46 <!-- Default highlight color for items that are long-pressed. --> 47 <attr name="colorLongPressedHighlight" format="color" /> 48 <!-- Default highlight color for items that are 49 focused. (Focused meaning cursor-based selection.) --> 50 <attr name="colorFocusedHighlight" format="color" /> 51 <!-- Default highlight color for items that are 52 activated. (Activated meaning persistent selection.) --> 53 <attr name="colorActivatedHighlight" format="color" /> 54 <!-- Default highlight color for items in multiple selection 55 mode. --> 56 <attr name="colorMultiSelectHighlight" format="color" /> 57 58 <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> 59 <attr name="disabledAlpha" format="float" /> 60 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 61 <attr name="backgroundDimAmount" format="float" /> 62 <!-- Control whether dimming behind the window is enabled. The default 63 theme does not set this value, meaning it is based on whether the 64 window is floating. --> 65 <attr name="backgroundDimEnabled" format="boolean" /> 66 67 <!-- =========== --> 68 <!-- Text styles --> 69 <!-- =========== --> 70 <eat-comment /> 71 72 <!-- Default appearance of text: color, typeface, size, and style. --> 73 <attr name="textAppearance" format="reference" /> 74 <!-- Default appearance of text against an inverted background: 75 color, typeface, size, and style. --> 76 <attr name="textAppearanceInverse" format="reference" /> 77 78 <!-- The most prominent text color. --> 79 <attr name="textColorPrimary" format="reference|color" /> 80 <!-- Secondary text color. --> 81 <attr name="textColorSecondary" format="reference|color" /> 82 <!-- Tertiary text color. --> 83 <attr name="textColorTertiary" format="reference|color" /> 84 85 <!-- Primary inverse text color, useful for inverted backgrounds. --> 86 <attr name="textColorPrimaryInverse" format="reference|color" /> 87 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 88 <attr name="textColorSecondaryInverse" format="reference|color" /> 89 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 90 <attr name="textColorTertiaryInverse" format="reference|color" /> 91 92 <!-- Inverse hint text color. --> 93 <attr name="textColorHintInverse" format="reference|color" /> 94 95 <!-- Bright text color. Only differentiates based on the disabled state. --> 96 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 97 98 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 99 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 100 101 <!-- Bright text color. This does not differentiate the disabled state. As an example, 102 buttons use this since they display the disabled state via the background and not the 103 foreground text color. --> 104 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 105 <!-- Dim text color. This does not differentiate the disabled state. --> 106 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 107 108 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 109 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 110 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 111 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 112 113 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 114 <attr name="textColorSearchUrl" format="reference|color" /> 115 116 <!-- Color of highlighted text, when used in a light theme. --> 117 <attr name="textColorHighlightInverse" format="reference|color" /> 118 <!-- Color of link text (URLs), when used in a light theme. --> 119 <attr name="textColorLinkInverse" format="reference|color" /> 120 121 <!-- Color of list item text in alert dialogs. --> 122 <attr name="textColorAlertDialogListItem" format="reference|color" /> 123 124 <!-- Search widget more corpus result item background. --> 125 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 126 127 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 128 <attr name="textAppearanceLarge" format="reference" /> 129 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 130 <attr name="textAppearanceMedium" format="reference" /> 131 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 132 <attr name="textAppearanceSmall" format="reference" /> 133 134 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 135 <attr name="textAppearanceLargeInverse" format="reference" /> 136 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 137 <attr name="textAppearanceMediumInverse" format="reference" /> 138 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 139 <attr name="textAppearanceSmallInverse" format="reference" /> 140 141 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 142 <attr name="textAppearanceSearchResultTitle" format="reference" /> 143 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 144 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 145 146 <!-- Text color, typeface, size, and style for the text inside of a button. --> 147 <attr name="textAppearanceButton" format="reference" /> 148 149 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 150 <attr name="textAppearanceLargePopupMenu" format="reference" /> 151 152 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 153 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 154 155 <!-- The underline color and thickness for easy correct suggestion --> 156 <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> 157 158 <!-- The underline color and thickness for misspelled suggestion --> 159 <attr name="textAppearanceMisspelledSuggestion" format="reference" /> 160 161 <!-- The underline color and thickness for auto correction suggestion --> 162 <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> 163 164 <!-- The underline color --> 165 <attr name="textUnderlineColor" format="reference|color" /> 166 <!-- The underline thickness --> 167 <attr name="textUnderlineThickness" format="reference|dimension" /> 168 169 <!-- EditText text foreground color. --> 170 <attr name="editTextColor" format="reference|color" /> 171 <!-- EditText background drawable. --> 172 <attr name="editTextBackground" format="reference" /> 173 174 <!-- Popup text displayed in TextView when setError is used. --> 175 <attr name="errorMessageBackground" format="reference" /> 176 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 177 <attr name="errorMessageAboveBackground" format="reference" /> 178 179 <!-- A styled string, specifying the style to be used for showing 180 inline candidate text when composing with an input method. The 181 text itself will be ignored, but the style spans will be applied 182 to the candidate text as it is edited. --> 183 <attr name="candidatesTextStyleSpans" format="reference|string" /> 184 185 <!-- Drawable to use for check marks. --> 186 <attr name="textCheckMark" format="reference" /> 187 <attr name="textCheckMarkInverse" format="reference" /> 188 189 <!-- Drawable to use for multiple choice indicators. --> 190 <attr name="listChoiceIndicatorMultiple" format="reference" /> 191 192 <!-- Drawable to use for single choice indicators. --> 193 <attr name="listChoiceIndicatorSingle" format="reference" /> 194 195 <!-- Drawable used as a background for selected list items. --> 196 <attr name="listChoiceBackgroundIndicator" format="reference" /> 197 198 <!-- Drawable used as a background for activated items. --> 199 <attr name="activatedBackgroundIndicator" format="reference" /> 200 201 <!-- ============= --> 202 <!-- Button styles --> 203 <!-- ============= --> 204 <eat-comment /> 205 206 <!-- Normal Button style. --> 207 <attr name="buttonStyle" format="reference" /> 208 209 <!-- Small Button style. --> 210 <attr name="buttonStyleSmall" format="reference" /> 211 212 <!-- Button style to inset into an EditText. --> 213 <attr name="buttonStyleInset" format="reference" /> 214 215 <!-- ToggleButton style. --> 216 <attr name="buttonStyleToggle" format="reference" /> 217 218 <!-- ============== --> 219 <!-- Gallery styles --> 220 <!-- ============== --> 221 <eat-comment /> 222 223 <!-- The preferred background for gallery items. This should be set 224 as the background of any Views you provide from the Adapter. --> 225 <attr name="galleryItemBackground" format="reference" /> 226 227 <!-- =========== --> 228 <!-- List styles --> 229 <!-- =========== --> 230 <eat-comment /> 231 232 <!-- The preferred list item height. --> 233 <attr name="listPreferredItemHeight" format="dimension" /> 234 <!-- A smaller, sleeker list item height. --> 235 <attr name="listPreferredItemHeightSmall" format="dimension" /> 236 <!-- A larger, more robust list item height. --> 237 <attr name="listPreferredItemHeightLarge" format="dimension" /> 238 <!-- The list item height for search results. @hide --> 239 <attr name="searchResultListItemHeight" format="dimension" /> 240 241 <!-- The preferred padding along the left edge of list items. --> 242 <attr name="listPreferredItemPaddingLeft" format="dimension" /> 243 <!-- The preferred padding along the right edge of list items. --> 244 <attr name="listPreferredItemPaddingRight" format="dimension" /> 245 246 <!-- The preferred TextAppearance for the primary text of list items. --> 247 <attr name="textAppearanceListItem" format="reference" /> 248 <!-- The preferred TextAppearance for the secondary text of list items. --> 249 <attr name="textAppearanceListItemSecondary" format="reference" /> 250 <!-- The preferred TextAppearance for the primary text of small list items. --> 251 <attr name="textAppearanceListItemSmall" format="reference" /> 252 253 <!-- The drawable for the list divider. --> 254 <attr name="listDivider" format="reference" /> 255 <!-- The list divider used in alert dialogs. --> 256 <attr name="listDividerAlertDialog" format="reference" /> 257 <!-- TextView style for list separators. --> 258 <attr name="listSeparatorTextViewStyle" format="reference" /> 259 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 260 use expandableListPreferredChildPaddingLeft). This takes into account 261 the indicator that will be shown to next to the item. --> 262 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 263 <!-- The preferred left padding for an expandable list item that is a child. 264 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 265 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 266 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 267 indicator, use expandableListPreferredChildIndicatorLeft. --> 268 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 269 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 270 indicator, use expandableListPreferredChildIndicatorRight. --> 271 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 272 <!-- The preferred left bound for an expandable list child's indicator. --> 273 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 274 <!-- The preferred right bound for an expandable list child's indicator. --> 275 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 276 277 <!-- The preferred item height for dropdown lists. --> 278 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 279 280 <!-- The preferred padding along the start edge of list items. --> 281 <attr name="listPreferredItemPaddingStart" format="dimension" /> 282 <!-- The preferred padding along the end edge of list items. --> 283 <attr name="listPreferredItemPaddingEnd" format="dimension" /> 284 285 <!-- ============= --> 286 <!-- Window styles --> 287 <!-- ============= --> 288 <eat-comment /> 289 290 <!-- Drawable to use as the overall window background. As of 291 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 292 be a selector that uses state_accelerated to pick a non-solid 293 color when running on devices that can draw such a bitmap 294 with complex compositing on top at 60fps. 295 296 <p>There are a few special considerations to use when setting this 297 drawable: 298 <ul> 299 <li> This information will be used to infer the pixel format 300 for your window's surface. If the drawable has any 301 non-opaque pixels, your window will be translucent 302 (32 bpp). 303 <li> If you want to draw the entire background 304 yourself, you should set this drawable to some solid 305 color that closely matches that background (so the 306 system's preview of your window will match), and 307 then in code manually set your window's background to 308 null so it will not be drawn. 309 </ul> --> 310 <attr name="windowBackground" format="reference" /> 311 <!-- Drawable to use as a frame around the window. --> 312 <attr name="windowFrame" format="reference" /> 313 <!-- Flag indicating whether there should be no title on this window. --> 314 <attr name="windowNoTitle" format="boolean" /> 315 <!-- Flag indicating whether this window should fill the entire screen. Corresponds 316 to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> 317 <attr name="windowFullscreen" format="boolean" /> 318 <!-- Flag indicating whether this window should extend into overscan region. Corresponds 319 to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. --> 320 <attr name="windowOverscan" format="boolean" /> 321 <!-- Flag indicating whether this is a floating window. --> 322 <attr name="windowIsFloating" format="boolean" /> 323 <!-- Flag indicating whether this is a translucent window. --> 324 <attr name="windowIsTranslucent" format="boolean" /> 325 <!-- Flag indicating that this window's background should be the 326 user's current wallpaper. Corresponds 327 to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> 328 <attr name="windowShowWallpaper" format="boolean" /> 329 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 330 to place a shadow below the title. --> 331 <attr name="windowContentOverlay" format="reference" /> 332 <!-- The style resource to use for a window's title bar height. --> 333 <attr name="windowTitleSize" format="dimension" /> 334 <!-- The style resource to use for a window's title text. --> 335 <attr name="windowTitleStyle" format="reference" /> 336 <!-- The style resource to use for a window's title area. --> 337 <attr name="windowTitleBackgroundStyle" format="reference" /> 338 339 <!-- Reference to a style resource holding 340 the set of window animations to use, which can be 341 any of the attributes defined by 342 {@link android.R.styleable#WindowAnimation}. --> 343 <attr name="windowAnimationStyle" format="reference" /> 344 345 <!-- Flag indicating whether this window should have an Action Bar 346 in place of the usual title bar. --> 347 <attr name="windowActionBar" format="boolean" /> 348 349 <!-- Flag indicating whether this window's Action Bar should overlay 350 application content. Does nothing if the window would not 351 have an Action Bar. --> 352 <attr name="windowActionBarOverlay" format="boolean" /> 353 354 <!-- Flag indicating whether action modes should overlay window content 355 when there is not reserved space for their UI (such as an Action Bar). --> 356 <attr name="windowActionModeOverlay" format="boolean" /> 357 358 <!-- Defines the default soft input state that this window would 359 like when it is displayed. Corresponds 360 to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> 361 <attr name="windowSoftInputMode"> 362 <!-- Not specified, use what the system thinks is best. This 363 is the default. --> 364 <flag name="stateUnspecified" value="0" /> 365 <!-- Leave the soft input window as-is, in whatever state it 366 last was. --> 367 <flag name="stateUnchanged" value="1" /> 368 <!-- Make the soft input area hidden when normally appropriate 369 (when the user is navigating forward to your window). --> 370 <flag name="stateHidden" value="2" /> 371 <!-- Always make the soft input area hidden when this window 372 has input focus. --> 373 <flag name="stateAlwaysHidden" value="3" /> 374 <!-- Make the soft input area visible when normally appropriate 375 (when the user is navigating forward to your window). --> 376 <flag name="stateVisible" value="4" /> 377 <!-- Always make the soft input area visible when this window 378 has input focus. --> 379 <flag name="stateAlwaysVisible" value="5" /> 380 381 <!-- The window resize/pan adjustment has not been specified, 382 the system will automatically select between resize and pan 383 modes, depending 384 on whether the content of the window has any layout views 385 that can scroll their contents. If there is such a view, 386 then the window will be resized, with the assumption being 387 that the resizeable area can be reduced to make room for 388 the input UI. --> 389 <flag name="adjustUnspecified" value="0x00" /> 390 <!-- Always resize the window: the content area of the window is 391 reduced to make room for the soft input area. --> 392 <flag name="adjustResize" value="0x10" /> 393 <!-- Don't resize the window to make room for the soft input area; 394 instead pan the contents of the window as focus moves inside 395 of it so that the user can see what they are typing. This is 396 generally less desireable than panning because the user may 397 need to close the input area to get at and interact with 398 parts of the window. --> 399 <flag name="adjustPan" value="0x20" /> 400 <!-- Don't resize <em>or</em> pan the window to make room for the 401 soft input area; the window is never adjusted for it. --> 402 <flag name="adjustNothing" value="0x30" /> 403 </attr> 404 405 <!-- Flag allowing you to disable the preview animation for a window. 406 The default value is false; if set to true, the system can never 407 use the window's theme to show a preview of it before your 408 actual instance is shown to the user. --> 409 <attr name="windowDisablePreview" format="boolean" /> 410 411 <!-- Flag indicating that this window should not be displayed at all. 412 The default value is false; if set to true, and this window is 413 the main window of an Activity, then it will never actually 414 be added to the window manager. This means that your activity 415 must immediately quit without waiting for user interaction, 416 because there will be no such interaction coming. --> 417 <attr name="windowNoDisplay" format="boolean" /> 418 419 <!-- Flag indicating that this window should allow touches to be split 420 across other windows that also support split touch. 421 The default value is true for applications with a targetSdkVersion 422 of Honeycomb or newer; false otherwise. 423 When this flag is false, the first pointer that goes down determines 424 the window to which all subsequent touches go until all pointers go up. 425 When this flag is true, each pointer (not necessarily the first) that 426 goes down determines the window to which all subsequent touches of that 427 pointer will go until that pointers go up thereby enabling touches 428 with multiple pointers to be split across multiple windows. --> 429 <attr name="windowEnableSplitTouch" format="boolean" /> 430 431 <!-- Control whether a container should automatically close itself if 432 the user touches outside of it. This only applies to activities 433 and dialogs. 434 435 <p>Note: this attribute will only be respected for applications 436 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 437 or later. --> 438 <attr name="windowCloseOnTouchOutside" format="boolean" /> 439 440 <!-- Flag indicating whether this window requests a translucent status bar. Corresponds 441 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> 442 <attr name="windowTranslucentStatus" format="boolean" /> 443 444 <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds 445 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> 446 <attr name="windowTranslucentNavigation" format="boolean" /> 447 448 <!-- Flag to indicate that a window can be swiped away to be dismissed. 449 Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS} --> 450 <attr name="windowSwipeToDismiss" format="boolean" /> 451 452 <!-- Flag indicating whether this window requests that content changes be performed 453 as scene changes with transitions. Corresponds to 454 {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> 455 <attr name="windowContentTransitions" format="boolean" /> 456 457 <!-- Reference to a TransitionManager XML resource defining the desired 458 transitions between different window content. --> 459 <attr name="windowContentTransitionManager" format="reference" /> 460 461 <!-- Reference to a Transition XML resource defining the desired Transition 462 used to move Views into the initial Window's content Scene. Corresponds to 463 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 464 <attr name="windowEnterTransition" format="reference"/> 465 466 <!-- Reference to a Transition XML resource defining the desired Transition 467 used to move Views out of the scene when the Window is 468 preparing to close. Corresponds to 469 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 470 <attr name="windowReturnTransition" format="reference"/> 471 472 <!-- Reference to a Transition XML resource defining the desired Transition 473 used to move Views out of the Window's content Scene when launching a new Activity. 474 Corresponds to 475 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 476 <attr name="windowExitTransition" format="reference"/> 477 478 <!-- Reference to a Transition XML resource defining the desired Transition 479 used to move Views in to the scene when returning from a previously-started Activity. 480 Corresponds to 481 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 482 <attr name="windowReenterTransition" format="reference"/> 483 484 <!-- Reference to a Transition XML resource defining the desired Transition 485 used to move shared elements transferred into the Window's initial content Scene. 486 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 487 android.transition.Transition)}. --> 488 <attr name="windowSharedElementEnterTransition" format="reference"/> 489 490 <!-- Reference to a Transition XML resource defining the desired Transition 491 used to move shared elements transferred back to a calling Activity. 492 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 493 android.transition.Transition)}. --> 494 <attr name="windowSharedElementReturnTransition" format="reference"/> 495 496 <!-- Reference to a Transition XML resource defining the desired Transition 497 used when starting a new Activity to move shared elements prior to transferring 498 to the called Activity. 499 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 500 android.transition.Transition)}. --> 501 <attr name="windowSharedElementExitTransition" format="reference"/> 502 503 <!-- Reference to a Transition XML resource defining the desired Transition 504 used for shared elements transferred back to a calling Activity. 505 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 506 android.transition.Transition)}. --> 507 <attr name="windowSharedElementReenterTransition" format="reference"/> 508 509 <!-- Flag indicating whether this Window's transition should overlap with 510 the exiting transition of the calling Activity. Corresponds to 511 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 512 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 513 514 <!-- Flag indicating whether this Window's transition should overlap with 515 the exiting transition of the called Activity when the called Activity 516 finishes. Corresponds to 517 {@link android.view.Window#setAllowExitTransitionOverlap(boolean)}. --> 518 <attr name="windowAllowExitTransitionOverlap" format="boolean"/> 519 520 <!-- Indicates whether or not shared elements should use an overlay 521 during transitions. The default value is true. --> 522 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 523 524 <!-- Internal layout used internally for window decor --> 525 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 526 527 <!-- The duration, in milliseconds, of the window background fade duration 528 when transitioning into or away from an Activity when called with an 529 Activity Transition. Corresponds to 530 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 531 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 532 533 <!-- ============ --> 534 <!-- Alert Dialog styles --> 535 <!-- ============ --> 536 <eat-comment /> 537 <attr name="alertDialogStyle" format="reference" /> 538 <attr name="alertDialogButtonGroupStyle" format="reference" /> 539 <attr name="alertDialogCenterButtons" format="boolean" /> 540 541 <!-- ============== --> 542 <!-- Image elements --> 543 <!-- ============== --> 544 <eat-comment /> 545 546 <!-- Background that can be used behind parts of a UI that provide 547 details on data the user is selecting. For example, this is 548 the background element of PreferenceActivity's embedded 549 preference fragment. --> 550 <attr name="detailsElementBackground" format="reference" /> 551 552 <!-- ============ --> 553 <!-- Panel styles --> 554 <!-- ============ --> 555 <eat-comment /> 556 557 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 558 <attr name="panelBackground" format="reference|color" /> 559 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 560 <attr name="panelFullBackground" format="reference|color" /> 561 <!-- Default color of foreground panel imagery. --> 562 <attr name="panelColorForeground" format="reference|color" /> 563 <!-- Color that matches (as closely as possible) the panel background. --> 564 <attr name="panelColorBackground" format="reference|color" /> 565 <!-- Default appearance of panel text. --> 566 <attr name="panelTextAppearance" format="reference" /> 567 568 <attr name="panelMenuIsCompact" format="boolean" /> 569 <attr name="panelMenuListWidth" format="dimension" /> 570 <attr name="panelMenuListTheme" format="reference" /> 571 572 <!-- =================== --> 573 <!-- Other widget styles --> 574 <!-- =================== --> 575 <eat-comment /> 576 577 <!-- Default AbsListView style. --> 578 <attr name="absListViewStyle" format="reference" /> 579 <!-- Default AutoCompleteTextView style. --> 580 <attr name="autoCompleteTextViewStyle" format="reference" /> 581 <!-- Default Checkbox style. --> 582 <attr name="checkboxStyle" format="reference" /> 583 <!-- Default CheckedTextView style. --> 584 <attr name="checkedTextViewStyle" format="reference" /> 585 <!-- Default ListView style for drop downs. --> 586 <attr name="dropDownListViewStyle" format="reference" /> 587 <!-- Default EditText style. --> 588 <attr name="editTextStyle" format="reference" /> 589 <!-- Default ExpandableListView style. --> 590 <attr name="expandableListViewStyle" format="reference" /> 591 <!-- ExpandableListView with white background. --> 592 <attr name="expandableListViewWhiteStyle" format="reference" /> 593 <!-- Default Gallery style. --> 594 <attr name="galleryStyle" format="reference" /> 595 <!-- Default GestureOverlayView style. --> 596 <attr name="gestureOverlayViewStyle" format="reference" /> 597 <!-- Default GridView style. --> 598 <attr name="gridViewStyle" format="reference" /> 599 <!-- The style resource to use for an ImageButton. --> 600 <attr name="imageButtonStyle" format="reference" /> 601 <!-- The style resource to use for an ImageButton that is an image well. --> 602 <attr name="imageWellStyle" format="reference" /> 603 <!-- Default ListView style. --> 604 <attr name="listViewStyle" format="reference" /> 605 <!-- ListView with white background. --> 606 <attr name="listViewWhiteStyle" format="reference" /> 607 <!-- Default PopupWindow style. --> 608 <attr name="popupWindowStyle" format="reference" /> 609 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 610 <attr name="progressBarStyle" format="reference" /> 611 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 612 <attr name="progressBarStyleHorizontal" format="reference" /> 613 <!-- Small ProgressBar style. This is a small circular progress bar. --> 614 <attr name="progressBarStyleSmall" format="reference" /> 615 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 616 <attr name="progressBarStyleSmallTitle" format="reference" /> 617 <!-- Large ProgressBar style. This is a large circular progress bar. --> 618 <attr name="progressBarStyleLarge" format="reference" /> 619 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 620 <attr name="progressBarStyleInverse" format="reference" /> 621 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 622 <attr name="progressBarStyleSmallInverse" format="reference" /> 623 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 624 <attr name="progressBarStyleLargeInverse" format="reference" /> 625 <!-- Default SeekBar style. --> 626 <attr name="seekBarStyle" format="reference" /> 627 <!-- Default RatingBar style. --> 628 <attr name="ratingBarStyle" format="reference" /> 629 <!-- Indicator RatingBar style. --> 630 <attr name="ratingBarStyleIndicator" format="reference" /> 631 <!-- Small indicator RatingBar style. --> 632 <attr name="ratingBarStyleSmall" format="reference" /> 633 <!-- Default RadioButton style. --> 634 <attr name="radioButtonStyle" format="reference" /> 635 <!-- Default ScrollView style. --> 636 <attr name="scrollViewStyle" format="reference" /> 637 <!-- Default HorizontalScrollView style. --> 638 <attr name="horizontalScrollViewStyle" format="reference" /> 639 <!-- Default Spinner style. --> 640 <attr name="spinnerStyle" format="reference" /> 641 <!-- Default dropdown Spinner style. --> 642 <attr name="dropDownSpinnerStyle" format="reference" /> 643 <!-- Default ActionBar dropdown style. --> 644 <attr name="actionDropDownStyle" format="reference" /> 645 <!-- Default action button style. --> 646 <attr name="actionButtonStyle" format="reference" /> 647 <!-- Default Star style. --> 648 <attr name="starStyle" format="reference" /> 649 <!-- Default TabWidget style. --> 650 <attr name="tabWidgetStyle" format="reference" /> 651 <!-- Default TextView style. --> 652 <attr name="textViewStyle" format="reference" /> 653 <!-- Default WebTextView style. --> 654 <attr name="webTextViewStyle" format="reference" /> 655 <!-- Default WebView style. --> 656 <attr name="webViewStyle" format="reference" /> 657 <!-- Default style for drop down items. --> 658 <attr name="dropDownItemStyle" format="reference" /> 659 <!-- Default style for spinner drop down items. --> 660 <attr name="spinnerDropDownItemStyle" format="reference" /> 661 <!-- Default style for drop down hints. --> 662 <attr name="dropDownHintAppearance" format="reference" /> 663 <!-- Default spinner item style. --> 664 <attr name="spinnerItemStyle" format="reference" /> 665 <!-- Default MapView style. --> 666 <attr name="mapViewStyle" format="reference" /> 667 <!-- Drawable used as an overlay on top of quickcontact photos. --> 668 <attr name="quickContactBadgeOverlay" format="reference" /> 669 <!-- Default quickcontact badge style with small quickcontact window. --> 670 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 671 <!-- Default quickcontact badge style with medium quickcontact window. --> 672 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 673 <!-- Default quickcontact badge style with large quickcontact window. --> 674 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 675 <!-- Default quickcontact badge style with small quickcontact window. --> 676 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 677 <!-- Default quickcontact badge style with medium quickcontact window. --> 678 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 679 <!-- Default quickcontact badge style with large quickcontact window. --> 680 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 681 <!-- Reference to a style that will be used for the window containing a text 682 selection anchor. --> 683 <attr name="textSelectHandleWindowStyle" format="reference" /> 684 <!-- Reference to a style that will be used for the window containing a list of possible 685 text suggestions in an EditText. --> 686 <attr name="textSuggestionsWindowStyle" format="reference" /> 687 <!-- Default ListPopupWindow style. --> 688 <attr name="listPopupWindowStyle" format="reference" /> 689 <!-- Default PopupMenu style. --> 690 <attr name="popupMenuStyle" format="reference" /> 691 <!-- Default StackView style. --> 692 <attr name="stackViewStyle" format="reference" /> 693 694 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 695 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 696 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 697 698 <!-- NumberPicker style. --> 699 <attr name="numberPickerStyle" format="reference" /> 700 701 <!-- The CalendarView style. --> 702 <attr name="calendarViewStyle" format="reference" /> 703 704 <!-- The TimePicker style. --> 705 <attr name="timePickerStyle" format="reference" /> 706 707 <!-- The TimePicker dialog theme. --> 708 <attr name="timePickerDialogTheme" format="reference" /> 709 710 <!-- The DatePicker style. --> 711 <attr name="datePickerStyle" format="reference" /> 712 713 <!-- The DatePicker dialog theme. --> 714 <attr name="datePickerDialogTheme" format="reference" /> 715 716 <!-- Default ActivityChooserView style. --> 717 <attr name="activityChooserViewStyle" format="reference" /> 718 719 <!-- Default Toolbar style. --> 720 <attr name="toolbarStyle" format="reference" /> 721 722 <!-- Fast scroller styles --> 723 <eat-comment /> 724 725 <!-- Drawable to use as the fast scroll thumb. --> 726 <attr name="fastScrollThumbDrawable" format="reference" /> 727 <!-- Drawable to use as the fast scroll index preview window background 728 when shown on the right. --> 729 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 730 <!-- Drawable to use as the fast scroll index preview window background 731 when shown on the left. --> 732 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 733 <!-- Drawable to use as the track for the fast scroll thumb. 734 This may be null. --> 735 <attr name="fastScrollTrackDrawable" format="reference" /> 736 <!-- Position of the fast scroll index overlay window. --> 737 <attr name="fastScrollOverlayPosition"> 738 <enum name="floating" value="0" /> 739 <enum name="atThumb" value="1" /> 740 <enum name="aboveThumb" value="2" /> 741 </attr> 742 <!-- Text color for the fast scroll index overlay. Make sure it 743 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 744 <attr name="fastScrollTextColor" format="color" /> 745 746 <!-- =================== --> 747 <!-- Action bar styles --> 748 <!-- =================== --> 749 <eat-comment /> 750 <!-- Default style for tabs within an action bar --> 751 <attr name="actionBarTabStyle" format="reference" /> 752 <attr name="actionBarTabBarStyle" format="reference" /> 753 <attr name="actionBarTabTextStyle" format="reference" /> 754 <attr name="actionOverflowButtonStyle" format="reference" /> 755 <attr name="actionOverflowMenuStyle" format="reference" /> 756 <!-- Reference to a theme that should be used to inflate popups 757 shown by widgets in the action bar. --> 758 <attr name="actionBarPopupTheme" format="reference" /> 759 <!-- Reference to a style for the Action Bar --> 760 <attr name="actionBarStyle" format="reference" /> 761 <!-- Reference to a style for the split Action Bar. This style 762 controls the split component that holds the menu/action 763 buttons. actionBarStyle is still used for the primary 764 bar. --> 765 <attr name="actionBarSplitStyle" format="reference" /> 766 <!-- Reference to a theme that should be used to inflate the 767 action bar. This will be inherited by any widget inflated 768 into the action bar. --> 769 <attr name="actionBarTheme" format="reference" /> 770 <!-- Reference to a theme that should be used to inflate widgets 771 and layouts destined for the action bar. Most of the time 772 this will be a reference to the current theme, but when 773 the action bar has a significantly different contrast 774 profile than the rest of the activity the difference 775 can become important. If this is set to @null the current 776 theme will be used.--> 777 <attr name="actionBarWidgetTheme" format="reference" /> 778 <!-- Size of the Action Bar, including the contextual 779 bar used to present Action Modes. --> 780 <attr name="actionBarSize" format="dimension" > 781 <enum name="wrap_content" value="0" /> 782 </attr> 783 <!-- Custom divider drawable to use for elements in the action bar. --> 784 <attr name="actionBarDivider" format="reference" /> 785 <!-- Custom item state list drawable background for action bar items. --> 786 <attr name="actionBarItemBackground" format="reference" /> 787 <!-- TextAppearance style that will be applied to text that 788 appears within action menu items. --> 789 <attr name="actionMenuTextAppearance" format="reference" /> 790 <!-- Color for text that appears within action menu items. --> 791 <attr name="actionMenuTextColor" format="color|reference" /> 792 793 <!-- =================== --> 794 <!-- Action mode styles --> 795 <!-- =================== --> 796 <eat-comment /> 797 <attr name="actionModeStyle" format="reference" /> 798 <attr name="actionModeCloseButtonStyle" format="reference" /> 799 <!-- Background drawable to use for action mode UI --> 800 <attr name="actionModeBackground" format="reference" /> 801 <!-- Background drawable to use for action mode UI in the lower split bar --> 802 <attr name="actionModeSplitBackground" format="reference" /> 803 <!-- Drawable to use for the close action mode button --> 804 <attr name="actionModeCloseDrawable" format="reference" /> 805 806 <!-- Drawable to use for the Cut action button in Contextual Action Bar --> 807 <attr name="actionModeCutDrawable" format="reference" /> 808 <!-- Drawable to use for the Copy action button in Contextual Action Bar --> 809 <attr name="actionModeCopyDrawable" format="reference" /> 810 <!-- Drawable to use for the Paste action button in Contextual Action Bar --> 811 <attr name="actionModePasteDrawable" format="reference" /> 812 <!-- Drawable to use for the Select all action button in Contextual Action Bar --> 813 <attr name="actionModeSelectAllDrawable" format="reference" /> 814 <!-- Drawable to use for the Share action button in WebView selection action modes --> 815 <attr name="actionModeShareDrawable" format="reference" /> 816 <!-- Drawable to use for the Find action button in WebView selection action modes --> 817 <attr name="actionModeFindDrawable" format="reference" /> 818 <!-- Drawable to use for the Web Search action button in WebView selection action modes --> 819 <attr name="actionModeWebSearchDrawable" format="reference" /> 820 821 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 822 <attr name="actionModePopupWindowStyle" format="reference" /> 823 824 <!-- =================== --> 825 <!-- Preference styles --> 826 <!-- =================== --> 827 <eat-comment /> 828 829 <!-- Default style for PreferenceScreen. --> 830 <attr name="preferenceScreenStyle" format="reference" /> 831 <!-- Default style for Headers pane in PreferenceActivity. --> 832 <attr name="preferenceFragmentStyle" format="reference" /> 833 <!-- Default style for PreferenceCategory. --> 834 <attr name="preferenceCategoryStyle" format="reference" /> 835 <!-- Default style for Preference. --> 836 <attr name="preferenceStyle" format="reference" /> 837 <!-- Default style for informational Preference. --> 838 <attr name="preferenceInformationStyle" format="reference" /> 839 <!-- Default style for CheckBoxPreference. --> 840 <attr name="checkBoxPreferenceStyle" format="reference" /> 841 <!-- Default style for YesNoPreference. --> 842 <attr name="yesNoPreferenceStyle" format="reference" /> 843 <!-- Default style for DialogPreference. --> 844 <attr name="dialogPreferenceStyle" format="reference" /> 845 <!-- Default style for EditTextPreference. --> 846 <attr name="editTextPreferenceStyle" format="reference" /> 847 <!-- Default style for RingtonePreference. --> 848 <attr name="ringtonePreferenceStyle" format="reference" /> 849 <!-- The preference layout that has the child/tabbed effect. --> 850 <attr name="preferenceLayoutChild" format="reference" /> 851 <!-- Preference panel style --> 852 <attr name="preferencePanelStyle" format="reference" /> 853 <!-- Preference headers panel style --> 854 <attr name="preferenceHeaderPanelStyle" format="reference" /> 855 <!-- Preference list style --> 856 <attr name="preferenceListStyle" format="reference" /> 857 <!-- Preference fragment list style --> 858 <attr name="preferenceFragmentListStyle" format="reference" /> 859 <!-- Preference fragment padding side --> 860 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 861 <!-- Default style for switch preferences. --> 862 <attr name="switchPreferenceStyle" format="reference" /> 863 <!-- Default style for seekbar preferences. --> 864 <attr name="seekBarPreferenceStyle" format="reference" /> 865 866 <!-- ============================ --> 867 <!-- Text selection handle styles --> 868 <!-- ============================ --> 869 <eat-comment /> 870 871 <!-- Reference to a drawable that will be used to display a text selection 872 anchor on the left side of a selection region. --> 873 <attr name="textSelectHandleLeft" format="reference" /> 874 <!-- Reference to a drawable that will be used to display a text selection 875 anchor on the right side of a selection region. --> 876 <attr name="textSelectHandleRight" format="reference" /> 877 <!-- Reference to a drawable that will be used to display a text selection 878 anchor for positioning the cursor within text. --> 879 <attr name="textSelectHandle" format="reference" /> 880 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 881 TextEdit field. --> 882 <attr name="textEditPasteWindowLayout" format="reference" /> 883 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 884 <attr name="textEditNoPasteWindowLayout" format="reference" /> 885 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 886 insertion cursor because it would be clipped if it were positioned on top. --> 887 <attr name="textEditSidePasteWindowLayout" format="reference" /> 888 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 889 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 890 891 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 892 <attr name="textEditSuggestionItemLayout" format="reference" /> 893 894 <!-- Theme to use for dialogs spawned from this theme. --> 895 <attr name="dialogTheme" format="reference" /> 896 <!-- Window decor layout to use in dialog mode with icons --> 897 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 898 <!-- Window decor layout to use in dialog mode with custom titles --> 899 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 900 <!-- Window decor layout to use in dialog mode with title only --> 901 <attr name="dialogTitleDecorLayout" format="reference" /> 902 903 <!-- Theme to use for alert dialogs spawned from this theme. --> 904 <attr name="alertDialogTheme" format="reference" /> 905 <!-- Icon drawable to use for alerts --> 906 <attr name="alertDialogIcon" format="reference" /> 907 908 <!-- Theme to use for presentations spawned from this theme. --> 909 <attr name="presentationTheme" format="reference" /> 910 911 <!-- Drawable to use for generic vertical dividers. --> 912 <attr name="dividerVertical" format="reference" /> 913 914 <!-- Drawable to use for generic horizontal dividers. --> 915 <attr name="dividerHorizontal" format="reference" /> 916 917 <!-- Style for button bars --> 918 <attr name="buttonBarStyle" format="reference" /> 919 920 <!-- Style for buttons within button bars --> 921 <attr name="buttonBarButtonStyle" format="reference" /> 922 923 <!-- Style for the "positive" buttons within button bars --> 924 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 925 926 <!-- Style for the "negative" buttons within button bars --> 927 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 928 929 <!-- Style for the "neutral" buttons within button bars --> 930 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 931 932 <!-- Style for the search query widget. --> 933 <attr name="searchViewStyle" format="reference" /> 934 935 <!-- Style for segmented buttons - a container that houses several buttons 936 with the appearance of a singel button broken into segments. --> 937 <attr name="segmentedButtonStyle" format="reference" /> 938 939 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 940 <attr name="selectableItemBackground" format="reference" /> 941 942 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 943 <attr name="selectableItemBackgroundBorderless" format="reference" /> 944 945 <!-- Style for buttons without an explicit border, often used in groups. --> 946 <attr name="borderlessButtonStyle" format="reference" /> 947 948 <!-- Background to use for toasts --> 949 <attr name="toastFrameBackground" format="reference" /> 950 951 <!-- Theme to use for Search Dialogs --> 952 <attr name="searchDialogTheme" format="reference" /> 953 954 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 955 <attr name="homeAsUpIndicator" format="reference" /> 956 957 <!-- Preference frame layout styles. --> 958 <attr name="preferenceFrameLayoutStyle" format="reference" /> 959 960 <!-- Default style for the Switch widget. --> 961 <attr name="switchStyle" format="reference" /> 962 963 <!-- Default style for the MediaRouteButton widget. --> 964 <attr name="mediaRouteButtonStyle" format="reference" /> 965 966 <!-- ============== --> 967 <!-- Pointer styles --> 968 <!-- ============== --> 969 <eat-comment /> 970 971 <!-- Reference to the Pointer style --> 972 <attr name="pointerStyle" format="reference" /> 973 974 <!-- The drawable for accessibility focused views. --> 975 <attr name="accessibilityFocusedDrawable" format="reference" /> 976 977 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 978 <attr name="findOnPageNextDrawable" format="reference" /> 979 980 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 981 <attr name="findOnPagePreviousDrawable" format="reference" /> 982 983 <!-- ============= --> 984 <!-- Color palette --> 985 <!-- ============= --> 986 <eat-comment /> 987 988 <!-- The primary branding color for the app. By default, this is the color applied to the 989 action bar background. --> 990 <attr name="colorPrimary" format="color" /> 991 992 <!-- Dark variant of the primary branding color. By default, this is the color applied to 993 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 994 <attr name="colorPrimaryDark" format="color" /> 995 996 <!-- Bright complement to the primary branding color. By default, this is the color applied 997 to framework controls (via colorControlActivated). --> 998 <attr name="colorAccent" format="color" /> 999 1000 <!-- The color applied to framework controls in their normal state. --> 1001 <attr name="colorControlNormal" format="color" /> 1002 1003 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1004 <attr name="colorControlActivated" format="color" /> 1005 1006 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1007 <attr name="colorControlHighlight" format="color" /> 1008 1009 <!-- The color applied to framework buttons in their normal state. --> 1010 <attr name="colorButtonNormal" format="color" /> 1011 1012 <!-- ================== --> 1013 <!-- Hardware rendering --> 1014 <!-- ================== --> 1015 <eat-comment /> 1016 1017 <!-- Reference to the Lighting style. --> 1018 <attr name="lightingStyle" format="reference" /> 1019 </declare-styleable> 1020 1021 <!-- **************************************************************** --> 1022 <!-- Other non-theme attributes. --> 1023 <!-- **************************************************************** --> 1024 <eat-comment /> 1025 1026 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1027 Supported values include the following:<p/> 1028 <ul> 1029 <li><b>px</b> Pixels</li> 1030 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1031 <li><b>pt</b> Points</li> 1032 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1033 </ul> 1034 --> 1035 <attr name="textSize" format="dimension" /> 1036 1037 <!-- Default font family. --> 1038 <attr name="fontFamily" format="string" /> 1039 1040 <!-- Default text typeface. --> 1041 <attr name="typeface"> 1042 <enum name="normal" value="0" /> 1043 <enum name="sans" value="1" /> 1044 <enum name="serif" value="2" /> 1045 <enum name="monospace" value="3" /> 1046 </attr> 1047 1048 <!-- Default text typeface style. --> 1049 <attr name="textStyle"> 1050 <flag name="normal" value="0" /> 1051 <flag name="bold" value="1" /> 1052 <flag name="italic" value="2" /> 1053 </attr> 1054 1055 <!-- Color of text (usually same as colorForeground). --> 1056 <attr name="textColor" format="reference|color" /> 1057 1058 <!-- Color of highlighted text. --> 1059 <attr name="textColorHighlight" format="reference|color" /> 1060 1061 <!-- Color of hint text (displayed when the field is empty). --> 1062 <attr name="textColorHint" format="reference|color" /> 1063 1064 <!-- Color of link text (URLs). --> 1065 <attr name="textColorLink" format="reference|color" /> 1066 1067 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1068 <attr name="textCursorDrawable" format="reference" /> 1069 1070 <!-- Indicates that the content of a non-editable TextView can be selected. 1071 Default value is false. EditText content is always selectable. --> 1072 <attr name="textIsSelectable" format="boolean" /> 1073 1074 <!-- Where to ellipsize text. --> 1075 <attr name="ellipsize"> 1076 <enum name="none" value="0" /> 1077 <enum name="start" value="1" /> 1078 <enum name="middle" value="2" /> 1079 <enum name="end" value="3" /> 1080 <enum name="marquee" value="4" /> 1081 </attr> 1082 1083 <!-- The type of data being placed in a text field, used to help an 1084 input method decide how to let the user enter text. The constants 1085 here correspond to those defined by 1086 {@link android.text.InputType}. Generally you can select 1087 a single value, though some can be combined together as 1088 indicated. Setting this attribute to anything besides 1089 <var>none</var> also implies that the text is editable. --> 1090 <attr name="inputType"> 1091 <!-- There is no content type. The text is not editable. --> 1092 <flag name="none" value="0x00000000" /> 1093 <!-- Just plain old text. Corresponds to 1094 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1095 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1096 <flag name="text" value="0x00000001" /> 1097 <!-- Can be combined with <var>text</var> and its variations to 1098 request capitalization of all characters. Corresponds to 1099 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1100 <flag name="textCapCharacters" value="0x00001001" /> 1101 <!-- Can be combined with <var>text</var> and its variations to 1102 request capitalization of the first character of every word. Corresponds to 1103 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1104 <flag name="textCapWords" value="0x00002001" /> 1105 <!-- Can be combined with <var>text</var> and its variations to 1106 request capitalization of the first character of every sentence. Corresponds to 1107 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1108 <flag name="textCapSentences" value="0x00004001" /> 1109 <!-- Can be combined with <var>text</var> and its variations to 1110 request auto-correction of text being input. Corresponds to 1111 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1112 <flag name="textAutoCorrect" value="0x00008001" /> 1113 <!-- Can be combined with <var>text</var> and its variations to 1114 specify that this field will be doing its own auto-completion and 1115 talking with the input method appropriately. Corresponds to 1116 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1117 <flag name="textAutoComplete" value="0x00010001" /> 1118 <!-- Can be combined with <var>text</var> and its variations to 1119 allow multiple lines of text in the field. If this flag is not set, 1120 the text field will be constrained to a single line. Corresponds to 1121 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1122 <flag name="textMultiLine" value="0x00020001" /> 1123 <!-- Can be combined with <var>text</var> and its variations to 1124 indicate that though the regular text view should not be multiple 1125 lines, the IME should provide multiple lines if it can. Corresponds to 1126 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1127 <flag name="textImeMultiLine" value="0x00040001" /> 1128 <!-- Can be combined with <var>text</var> and its variations to 1129 indicate that the IME should not show any 1130 dictionary-based word suggestions. Corresponds to 1131 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1132 <flag name="textNoSuggestions" value="0x00080001" /> 1133 <!-- Text that will be used as a URI. Corresponds to 1134 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1135 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1136 <flag name="textUri" value="0x00000011" /> 1137 <!-- Text that will be used as an e-mail address. Corresponds to 1138 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1139 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1140 <flag name="textEmailAddress" value="0x00000021" /> 1141 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1142 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1143 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1144 <flag name="textEmailSubject" value="0x00000031" /> 1145 <!-- Text that is the content of a short message. Corresponds to 1146 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1147 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1148 <flag name="textShortMessage" value="0x00000041" /> 1149 <!-- Text that is the content of a long message. Corresponds to 1150 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1151 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1152 <flag name="textLongMessage" value="0x00000051" /> 1153 <!-- Text that is the name of a person. Corresponds to 1154 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1155 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1156 <flag name="textPersonName" value="0x00000061" /> 1157 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1158 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1159 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1160 <flag name="textPostalAddress" value="0x00000071" /> 1161 <!-- Text that is a password. Corresponds to 1162 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1163 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1164 <flag name="textPassword" value="0x00000081" /> 1165 <!-- Text that is a password that should be visible. Corresponds to 1166 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1167 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1168 <flag name="textVisiblePassword" value="0x00000091" /> 1169 <!-- Text that is being supplied as text in a web form. Corresponds to 1170 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1171 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1172 <flag name="textWebEditText" value="0x000000a1" /> 1173 <!-- Text that is filtering some other data. Corresponds to 1174 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1175 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1176 <flag name="textFilter" value="0x000000b1" /> 1177 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1178 field in a contact entry. Corresponds to 1179 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1180 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1181 <flag name="textPhonetic" value="0x000000c1" /> 1182 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1183 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1184 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1185 <flag name="textWebEmailAddress" value="0x000000d1" /> 1186 <!-- Text that will be used as a password on a web form. Corresponds to 1187 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1188 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1189 <flag name="textWebPassword" value="0x000000e1" /> 1190 <!-- A numeric only field. Corresponds to 1191 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1192 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1193 <flag name="number" value="0x00000002" /> 1194 <!-- Can be combined with <var>number</var> and its other options to 1195 allow a signed number. Corresponds to 1196 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1197 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1198 <flag name="numberSigned" value="0x00001002" /> 1199 <!-- Can be combined with <var>number</var> and its other options to 1200 allow a decimal (fractional) number. Corresponds to 1201 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1202 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1203 <flag name="numberDecimal" value="0x00002002" /> 1204 <!-- A numeric password field. Corresponds to 1205 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1206 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1207 <flag name="numberPassword" value="0x00000012" /> 1208 <!-- For entering a phone number. Corresponds to 1209 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1210 <flag name="phone" value="0x00000003" /> 1211 <!-- For entering a date and time. Corresponds to 1212 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1213 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1214 <flag name="datetime" value="0x00000004" /> 1215 <!-- For entering a date. Corresponds to 1216 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1217 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1218 <flag name="date" value="0x00000014" /> 1219 <!-- For entering a time. Corresponds to 1220 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1221 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1222 <flag name="time" value="0x00000024" /> 1223 </attr> 1224 1225 <!-- Additional features you can enable in an IME associated with an editor 1226 to improve the integration with your application. The constants 1227 here correspond to those defined by 1228 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1229 <attr name="imeOptions"> 1230 <!-- There are no special semantics associated with this editor. --> 1231 <flag name="normal" value="0x00000000" /> 1232 <!-- There is no specific action associated with this editor, let the 1233 editor come up with its own if it can. 1234 Corresponds to 1235 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1236 <flag name="actionUnspecified" value="0x00000000" /> 1237 <!-- This editor has no action associated with it. 1238 Corresponds to 1239 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1240 <flag name="actionNone" value="0x00000001" /> 1241 <!-- The action key performs a "go" 1242 operation to take the user to the target of the text they typed. 1243 Typically used, for example, when entering a URL. 1244 Corresponds to 1245 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1246 <flag name="actionGo" value="0x00000002" /> 1247 <!-- The action key performs a "search" 1248 operation, taking the user to the results of searching for the text 1249 the have typed (in whatever context is appropriate). 1250 Corresponds to 1251 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1252 <flag name="actionSearch" value="0x00000003" /> 1253 <!-- The action key performs a "send" 1254 operation, delivering the text to its target. This is typically used 1255 when composing a message. 1256 Corresponds to 1257 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1258 <flag name="actionSend" value="0x00000004" /> 1259 <!-- The action key performs a "next" 1260 operation, taking the user to the next field that will accept text. 1261 Corresponds to 1262 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1263 <flag name="actionNext" value="0x00000005" /> 1264 <!-- The action key performs a "done" 1265 operation, closing the soft input method. 1266 Corresponds to 1267 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1268 <flag name="actionDone" value="0x00000006" /> 1269 <!-- The action key performs a "previous" 1270 operation, taking the user to the previous field that will accept text. 1271 Corresponds to 1272 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1273 <flag name="actionPrevious" value="0x00000007" /> 1274 <!-- Used to request that the IME never go 1275 into fullscreen mode. Applications need to be aware that the flag is not 1276 a guarantee, and not all IMEs will respect it. 1277 <p>Corresponds to 1278 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1279 <flag name="flagNoFullscreen" value="0x2000000" /> 1280 <!-- Like flagNavigateNext, but 1281 specifies there is something interesting that a backward navigation 1282 can focus on. If the user selects the IME's facility to backward 1283 navigate, this will show up in the application as an actionPrevious 1284 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1285 InputConnection.performEditorAction(int)}. 1286 <p>Corresponds to 1287 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1288 <flag name="flagNavigatePrevious" value="0x4000000" /> 1289 <!-- Used to specify that there is something 1290 interesting that a forward navigation can focus on. This is like using 1291 actionNext, except allows the IME to be multiline (with 1292 an enter key) as well as provide forward navigation. Note that some 1293 IMEs may not be able to do this, especially when running on a small 1294 screen where there is little space. In that case it does not need to 1295 present a UI for this option. Like actionNext, if the 1296 user selects the IME's facility to forward navigate, this will show up 1297 in the application at 1298 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1299 InputConnection.performEditorAction(int)}. 1300 <p>Corresponds to 1301 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1302 <flag name="flagNavigateNext" value="0x8000000" /> 1303 <!-- Used to specify that the IME does not need 1304 to show its extracted text UI. For input methods that may be fullscreen, 1305 often when in landscape mode, this allows them to be smaller and let part 1306 of the application be shown behind. Though there will likely be limited 1307 access to the application available from the user, it can make the 1308 experience of a (mostly) fullscreen IME less jarring. Note that when 1309 this flag is specified the IME may <em>not</em> be set up to be able 1310 to display text, so it should only be used in situations where this is 1311 not needed. 1312 <p>Corresponds to 1313 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1314 <flag name="flagNoExtractUi" value="0x10000000" /> 1315 <!-- Used in conjunction with a custom action, this indicates that the 1316 action should not be available as an accessory button when the 1317 input method is full-screen. 1318 Note that by setting this flag, there can be cases where the action 1319 is simply never available to the user. Setting this generally means 1320 that you think showing text being edited is more important than the 1321 action you have supplied. 1322 <p>Corresponds to 1323 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1324 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1325 <!-- Used in conjunction with a custom action, 1326 this indicates that the action should not be available in-line as 1327 a replacement for the "enter" key. Typically this is 1328 because the action has such a significant impact or is not recoverable 1329 enough that accidentally hitting it should be avoided, such as sending 1330 a message. Note that {@link android.widget.TextView} will 1331 automatically set this flag for you on multi-line text views. 1332 <p>Corresponds to 1333 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1334 <flag name="flagNoEnterAction" value="0x40000000" /> 1335 <!-- Used to request that the IME should be capable of inputting ASCII 1336 characters. The intention of this flag is to ensure that the user 1337 can type Roman alphabet characters in a {@link android.widget.TextView} 1338 used for, typically, account ID or password input. It is expected that IMEs 1339 normally are able to input ASCII even without being told so (such IMEs 1340 already respect this flag in a sense), but there could be some cases they 1341 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1342 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1343 aware that the flag is not a guarantee, and not all IMEs will respect it. 1344 However, it is strongly recommended for IME authors to respect this flag 1345 especially when their IME could end up with a state that has only non-ASCII 1346 input languages enabled. 1347 <p>Corresponds to 1348 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1349 <flag name="flagForceAscii" value="0x80000000" /> 1350 </attr> 1351 1352 <!-- A coordinate in the X dimension. --> 1353 <attr name="x" format="dimension" /> 1354 <!-- A coordinate in the Y dimension. --> 1355 <attr name="y" format="dimension" /> 1356 1357 <!-- Specifies how an object should position its content, on both the X and Y axes, 1358 within its own bounds. --> 1359 <attr name="gravity"> 1360 <!-- Push object to the top of its container, not changing its size. --> 1361 <flag name="top" value="0x30" /> 1362 <!-- Push object to the bottom of its container, not changing its size. --> 1363 <flag name="bottom" value="0x50" /> 1364 <!-- Push object to the left of its container, not changing its size. --> 1365 <flag name="left" value="0x03" /> 1366 <!-- Push object to the right of its container, not changing its size. --> 1367 <flag name="right" value="0x05" /> 1368 <!-- Place object in the vertical center of its container, not changing its size. --> 1369 <flag name="center_vertical" value="0x10" /> 1370 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1371 <flag name="fill_vertical" value="0x70" /> 1372 <!-- Place object in the horizontal center of its container, not changing its size. --> 1373 <flag name="center_horizontal" value="0x01" /> 1374 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1375 <flag name="fill_horizontal" value="0x07" /> 1376 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1377 <flag name="center" value="0x11" /> 1378 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1379 <flag name="fill" value="0x77" /> 1380 <!-- Additional option that can be set to have the top and/or bottom edges of 1381 the child clipped to its container's bounds. 1382 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1383 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1384 <flag name="clip_vertical" value="0x80" /> 1385 <!-- Additional option that can be set to have the left and/or right edges of 1386 the child clipped to its container's bounds. 1387 The clip will be based on the horizontal gravity: a left gravity will clip the right 1388 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1389 <flag name="clip_horizontal" value="0x08" /> 1390 <!-- Push object to the beginning of its container, not changing its size. --> 1391 <flag name="start" value="0x00800003" /> 1392 <!-- Push object to the end of its container, not changing its size. --> 1393 <flag name="end" value="0x00800005" /> 1394 </attr> 1395 1396 <!-- Controls whether links such as urls and email addresses are 1397 automatically found and converted to clickable links. The default 1398 value is "none", disabling this feature. --> 1399 <attr name="autoLink"> 1400 <!-- Match no patterns (default). --> 1401 <flag name="none" value="0x00" /> 1402 <!-- Match Web URLs. --> 1403 <flag name="web" value="0x01" /> 1404 <!-- Match email addresses. --> 1405 <flag name="email" value="0x02" /> 1406 <!-- Match phone numbers. --> 1407 <flag name="phone" value="0x04" /> 1408 <!-- Match map addresses. --> 1409 <flag name="map" value="0x08" /> 1410 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1411 <flag name="all" value="0x0f" /> 1412 </attr> 1413 1414 <!-- Reference to an array resource that will populate a list/adapter. --> 1415 <attr name="entries" format="reference" /> 1416 1417 <!-- Standard gravity constant that a child supplies to its parent. 1418 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1419 <attr name="layout_gravity"> 1420 <!-- Push object to the top of its container, not changing its size. --> 1421 <flag name="top" value="0x30" /> 1422 <!-- Push object to the bottom of its container, not changing its size. --> 1423 <flag name="bottom" value="0x50" /> 1424 <!-- Push object to the left of its container, not changing its size. --> 1425 <flag name="left" value="0x03" /> 1426 <!-- Push object to the right of its container, not changing its size. --> 1427 <flag name="right" value="0x05" /> 1428 <!-- Place object in the vertical center of its container, not changing its size. --> 1429 <flag name="center_vertical" value="0x10" /> 1430 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1431 <flag name="fill_vertical" value="0x70" /> 1432 <!-- Place object in the horizontal center of its container, not changing its size. --> 1433 <flag name="center_horizontal" value="0x01" /> 1434 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1435 <flag name="fill_horizontal" value="0x07" /> 1436 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1437 <flag name="center" value="0x11" /> 1438 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1439 <flag name="fill" value="0x77" /> 1440 <!-- Additional option that can be set to have the top and/or bottom edges of 1441 the child clipped to its container's bounds. 1442 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1443 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1444 <flag name="clip_vertical" value="0x80" /> 1445 <!-- Additional option that can be set to have the left and/or right edges of 1446 the child clipped to its container's bounds. 1447 The clip will be based on the horizontal gravity: a left gravity will clip the right 1448 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1449 <flag name="clip_horizontal" value="0x08" /> 1450 <!-- Push object to the beginning of its container, not changing its size. --> 1451 <flag name="start" value="0x00800003" /> 1452 <!-- Push object to the end of its container, not changing its size. --> 1453 <flag name="end" value="0x00800005" /> 1454 </attr> 1455 1456 <!-- Standard orientation constant. --> 1457 <attr name="orientation"> 1458 <!-- Defines an horizontal widget. --> 1459 <enum name="horizontal" value="0" /> 1460 <!-- Defines a vertical widget. --> 1461 <enum name="vertical" value="1" /> 1462 </attr> 1463 1464 <!-- Alignment constants. --> 1465 <attr name="alignmentMode"> 1466 <!-- Align the bounds of the children. 1467 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1468 <enum name="alignBounds" value="0" /> 1469 <!-- Align the margins of the children. 1470 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1471 <enum name="alignMargins" value="1" /> 1472 </attr> 1473 1474 <!-- ========================== --> 1475 <!-- Key Codes --> 1476 <!-- ========================== --> 1477 <eat-comment /> 1478 1479 <!-- This enum provides the same keycode values as can be found in 1480 {@link android.view.KeyEvent}. --> 1481 <attr name="keycode"> 1482 <enum name="KEYCODE_UNKNOWN" value="0" /> 1483 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1484 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1485 <enum name="KEYCODE_HOME" value="3" /> 1486 <enum name="KEYCODE_BACK" value="4" /> 1487 <enum name="KEYCODE_CALL" value="5" /> 1488 <enum name="KEYCODE_ENDCALL" value="6" /> 1489 <enum name="KEYCODE_0" value="7" /> 1490 <enum name="KEYCODE_1" value="8" /> 1491 <enum name="KEYCODE_2" value="9" /> 1492 <enum name="KEYCODE_3" value="10" /> 1493 <enum name="KEYCODE_4" value="11" /> 1494 <enum name="KEYCODE_5" value="12" /> 1495 <enum name="KEYCODE_6" value="13" /> 1496 <enum name="KEYCODE_7" value="14" /> 1497 <enum name="KEYCODE_8" value="15" /> 1498 <enum name="KEYCODE_9" value="16" /> 1499 <enum name="KEYCODE_STAR" value="17" /> 1500 <enum name="KEYCODE_POUND" value="18" /> 1501 <enum name="KEYCODE_DPAD_UP" value="19" /> 1502 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1503 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1504 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1505 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1506 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1507 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1508 <enum name="KEYCODE_POWER" value="26" /> 1509 <enum name="KEYCODE_CAMERA" value="27" /> 1510 <enum name="KEYCODE_CLEAR" value="28" /> 1511 <enum name="KEYCODE_A" value="29" /> 1512 <enum name="KEYCODE_B" value="30" /> 1513 <enum name="KEYCODE_C" value="31" /> 1514 <enum name="KEYCODE_D" value="32" /> 1515 <enum name="KEYCODE_E" value="33" /> 1516 <enum name="KEYCODE_F" value="34" /> 1517 <enum name="KEYCODE_G" value="35" /> 1518 <enum name="KEYCODE_H" value="36" /> 1519 <enum name="KEYCODE_I" value="37" /> 1520 <enum name="KEYCODE_J" value="38" /> 1521 <enum name="KEYCODE_K" value="39" /> 1522 <enum name="KEYCODE_L" value="40" /> 1523 <enum name="KEYCODE_M" value="41" /> 1524 <enum name="KEYCODE_N" value="42" /> 1525 <enum name="KEYCODE_O" value="43" /> 1526 <enum name="KEYCODE_P" value="44" /> 1527 <enum name="KEYCODE_Q" value="45" /> 1528 <enum name="KEYCODE_R" value="46" /> 1529 <enum name="KEYCODE_S" value="47" /> 1530 <enum name="KEYCODE_T" value="48" /> 1531 <enum name="KEYCODE_U" value="49" /> 1532 <enum name="KEYCODE_V" value="50" /> 1533 <enum name="KEYCODE_W" value="51" /> 1534 <enum name="KEYCODE_X" value="52" /> 1535 <enum name="KEYCODE_Y" value="53" /> 1536 <enum name="KEYCODE_Z" value="54" /> 1537 <enum name="KEYCODE_COMMA" value="55" /> 1538 <enum name="KEYCODE_PERIOD" value="56" /> 1539 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1540 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1541 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1542 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1543 <enum name="KEYCODE_TAB" value="61" /> 1544 <enum name="KEYCODE_SPACE" value="62" /> 1545 <enum name="KEYCODE_SYM" value="63" /> 1546 <enum name="KEYCODE_EXPLORER" value="64" /> 1547 <enum name="KEYCODE_ENVELOPE" value="65" /> 1548 <enum name="KEYCODE_ENTER" value="66" /> 1549 <enum name="KEYCODE_DEL" value="67" /> 1550 <enum name="KEYCODE_GRAVE" value="68" /> 1551 <enum name="KEYCODE_MINUS" value="69" /> 1552 <enum name="KEYCODE_EQUALS" value="70" /> 1553 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1554 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1555 <enum name="KEYCODE_BACKSLASH" value="73" /> 1556 <enum name="KEYCODE_SEMICOLON" value="74" /> 1557 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1558 <enum name="KEYCODE_SLASH" value="76" /> 1559 <enum name="KEYCODE_AT" value="77" /> 1560 <enum name="KEYCODE_NUM" value="78" /> 1561 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1562 <enum name="KEYCODE_FOCUS" value="80" /> 1563 <enum name="KEYCODE_PLUS" value="81" /> 1564 <enum name="KEYCODE_MENU" value="82" /> 1565 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1566 <enum name="KEYCODE_SEARCH" value="84" /> 1567 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1568 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1569 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1570 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1571 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1572 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1573 <enum name="KEYCODE_MUTE" value="91" /> 1574 <enum name="KEYCODE_PAGE_UP" value="92" /> 1575 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1576 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1577 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1578 <enum name="KEYCODE_BUTTON_A" value="96" /> 1579 <enum name="KEYCODE_BUTTON_B" value="97" /> 1580 <enum name="KEYCODE_BUTTON_C" value="98" /> 1581 <enum name="KEYCODE_BUTTON_X" value="99" /> 1582 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1583 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1584 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1585 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1586 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1587 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1588 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1589 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1590 <enum name="KEYCODE_BUTTON_START" value="108" /> 1591 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1592 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1593 <enum name="KEYCODE_ESCAPE" value="111" /> 1594 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1595 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1596 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1597 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1598 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1599 <enum name="KEYCODE_META_LEFT" value="117" /> 1600 <enum name="KEYCODE_META_RIGHT" value="118" /> 1601 <enum name="KEYCODE_FUNCTION" value="119" /> 1602 <enum name="KEYCODE_SYSRQ" value="120" /> 1603 <enum name="KEYCODE_BREAK" value="121" /> 1604 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1605 <enum name="KEYCODE_MOVE_END" value="123" /> 1606 <enum name="KEYCODE_INSERT" value="124" /> 1607 <enum name="KEYCODE_FORWARD" value="125" /> 1608 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1609 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1610 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1611 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1612 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1613 <enum name="KEYCODE_F1" value="131" /> 1614 <enum name="KEYCODE_F2" value="132" /> 1615 <enum name="KEYCODE_F3" value="133" /> 1616 <enum name="KEYCODE_F4" value="134" /> 1617 <enum name="KEYCODE_F5" value="135" /> 1618 <enum name="KEYCODE_F6" value="136" /> 1619 <enum name="KEYCODE_F7" value="137" /> 1620 <enum name="KEYCODE_F8" value="138" /> 1621 <enum name="KEYCODE_F9" value="139" /> 1622 <enum name="KEYCODE_F10" value="140" /> 1623 <enum name="KEYCODE_F11" value="141" /> 1624 <enum name="KEYCODE_F12" value="142" /> 1625 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1626 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1627 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1628 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1629 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1630 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1631 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1632 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1633 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1634 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1635 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1636 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1637 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1638 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1639 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1640 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1641 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1642 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1643 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1644 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1645 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1646 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1647 <enum name="KEYCODE_INFO" value="165" /> 1648 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1649 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1650 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1651 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1652 <enum name="KEYCODE_TV" value="170" /> 1653 <enum name="KEYCODE_WINDOW" value="171" /> 1654 <enum name="KEYCODE_GUIDE" value="172" /> 1655 <enum name="KEYCODE_DVR" value="173" /> 1656 <enum name="KEYCODE_BOOKMARK" value="174" /> 1657 <enum name="KEYCODE_CAPTIONS" value="175" /> 1658 <enum name="KEYCODE_SETTINGS" value="176" /> 1659 <enum name="KEYCODE_TV_POWER" value="177" /> 1660 <enum name="KEYCODE_TV_INPUT" value="178" /> 1661 <enum name="KEYCODE_STB_POWER" value="179" /> 1662 <enum name="KEYCODE_STB_INPUT" value="180" /> 1663 <enum name="KEYCODE_AVR_POWER" value="181" /> 1664 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1665 <enum name="KEYCODE_PROG_GRED" value="183" /> 1666 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1667 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1668 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1669 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1670 <enum name="KEYCODE_BUTTON_1" value="188" /> 1671 <enum name="KEYCODE_BUTTON_2" value="189" /> 1672 <enum name="KEYCODE_BUTTON_3" value="190" /> 1673 <enum name="KEYCODE_BUTTON_4" value="191" /> 1674 <enum name="KEYCODE_BUTTON_5" value="192" /> 1675 <enum name="KEYCODE_BUTTON_6" value="193" /> 1676 <enum name="KEYCODE_BUTTON_7" value="194" /> 1677 <enum name="KEYCODE_BUTTON_8" value="195" /> 1678 <enum name="KEYCODE_BUTTON_9" value="196" /> 1679 <enum name="KEYCODE_BUTTON_10" value="197" /> 1680 <enum name="KEYCODE_BUTTON_11" value="198" /> 1681 <enum name="KEYCODE_BUTTON_12" value="199" /> 1682 <enum name="KEYCODE_BUTTON_13" value="200" /> 1683 <enum name="KEYCODE_BUTTON_14" value="201" /> 1684 <enum name="KEYCODE_BUTTON_15" value="202" /> 1685 <enum name="KEYCODE_BUTTON_16" value="203" /> 1686 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1687 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1688 <enum name="KEYCODE_3D_MODE" value="206" /> 1689 <enum name="KEYCODE_CONTACTS" value="207" /> 1690 <enum name="KEYCODE_CALENDAR" value="208" /> 1691 <enum name="KEYCODE_MUSIC" value="209" /> 1692 <enum name="KEYCODE_CALCULATOR" value="210" /> 1693 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1694 <enum name="KEYCODE_EISU" value="212" /> 1695 <enum name="KEYCODE_MUHENKAN" value="213" /> 1696 <enum name="KEYCODE_HENKAN" value="214" /> 1697 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1698 <enum name="KEYCODE_YEN" value="216" /> 1699 <enum name="KEYCODE_RO" value="217" /> 1700 <enum name="KEYCODE_KANA" value="218" /> 1701 <enum name="KEYCODE_ASSIST" value="219" /> 1702 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1703 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1704 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1705 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1706 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1707 <enum name="KEYCODE_PAIRING" value="225" /> 1708 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1709 <enum name="KEYCODE_11" value="227" /> 1710 <enum name="KEYCODE_12" value="228" /> 1711 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1712 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1713 </attr> 1714 1715 <!-- ***************************************************************** --> 1716 <!-- These define collections of attributes that can are with classes. --> 1717 <!-- ***************************************************************** --> 1718 1719 <!-- ========================== --> 1720 <!-- Special attribute classes. --> 1721 <!-- ========================== --> 1722 <eat-comment /> 1723 1724 <!-- The set of attributes that describe a Windows's theme. --> 1725 <declare-styleable name="Window"> 1726 <attr name="windowBackground" /> 1727 <attr name="windowContentOverlay" /> 1728 <attr name="windowFrame" /> 1729 <attr name="windowNoTitle" /> 1730 <attr name="windowFullscreen" /> 1731 <attr name="windowOverscan" /> 1732 <attr name="windowIsFloating" /> 1733 <attr name="windowIsTranslucent" /> 1734 <attr name="windowShowWallpaper" /> 1735 <attr name="windowAnimationStyle" /> 1736 <attr name="windowSoftInputMode" /> 1737 <attr name="windowDisablePreview" /> 1738 <attr name="windowNoDisplay" /> 1739 <attr name="textColor" /> 1740 <attr name="backgroundDimEnabled" /> 1741 <attr name="backgroundDimAmount" /> 1742 <attr name="windowActionBar" /> 1743 <attr name="windowActionModeOverlay" /> 1744 <attr name="windowActionBarOverlay" /> 1745 <attr name="windowEnableSplitTouch" /> 1746 <attr name="windowCloseOnTouchOutside" /> 1747 <attr name="windowTranslucentStatus" /> 1748 <attr name="windowTranslucentNavigation" /> 1749 <attr name="windowSwipeToDismiss" /> 1750 <attr name="windowContentTransitions" /> 1751 <attr name="windowContentTransitionManager" /> 1752 <attr name="windowActionBarFullscreenDecorLayout" /> 1753 1754 <!-- The minimum width the window is allowed to be, along the major 1755 axis of the screen. That is, when in landscape. Can be either 1756 an absolute dimension or a fraction of the screen size in that 1757 dimension. --> 1758 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1759 <!-- The minimum width the window is allowed to be, along the minor 1760 axis of the screen. That is, when in portrait. Can be either 1761 an absolute dimension or a fraction of the screen size in that 1762 dimension. --> 1763 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1764 1765 <!-- A fixed width for the window along the major axis of the screen, 1766 that is, when in landscape. Can be either an absolute dimension 1767 or a fraction of the screen size in that dimension. --> 1768 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1769 <!-- A fixed height for the window along the minor axis of the screen, 1770 that is, when in landscape. Can be either an absolute dimension 1771 or a fraction of the screen size in that dimension. --> 1772 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1773 1774 <!-- A fixed width for the window along the minor axis of the screen, 1775 that is, when in portrait. Can be either an absolute dimension 1776 or a fraction of the screen size in that dimension. --> 1777 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1778 <!-- A fixed height for the window along the major axis of the screen, 1779 that is, when in portrait. Can be either an absolute dimension 1780 or a fraction of the screen size in that dimension. --> 1781 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1782 <attr name="windowOutsetBottom" format="dimension" /> 1783 <!-- Reference to a Transition XML resource defining the desired Transition 1784 used to move Views into the initial Window's content Scene. Corresponds to 1785 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1786 <attr name="windowEnterTransition"/> 1787 1788 <!-- Reference to a Transition XML resource defining the desired Transition 1789 used to move Views out of the scene when the Window is 1790 preparing to close. Corresponds to 1791 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1792 <attr name="windowReturnTransition"/> 1793 1794 <!-- Reference to a Transition XML resource defining the desired Transition 1795 used to move Views out of the Window's content Scene when launching a new Activity. 1796 Corresponds to 1797 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1798 <attr name="windowExitTransition"/> 1799 1800 <!-- Reference to a Transition XML resource defining the desired Transition 1801 used to move Views in to the scene when returning from a previously-started Activity. 1802 Corresponds to 1803 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1804 <attr name="windowReenterTransition"/> 1805 1806 <!-- Reference to a Transition XML resource defining the desired Transition 1807 used to move shared elements transferred into the Window's initial content Scene. 1808 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1809 android.transition.Transition)}. --> 1810 <attr name="windowSharedElementEnterTransition"/> 1811 1812 <!-- Reference to a Transition XML resource defining the desired Transition 1813 used to move shared elements transferred back to a calling Activity. 1814 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 1815 android.transition.Transition)}. --> 1816 <attr name="windowSharedElementReturnTransition"/> 1817 1818 <!-- Reference to a Transition XML resource defining the desired Transition 1819 used when starting a new Activity to move shared elements prior to transferring 1820 to the called Activity. 1821 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 1822 android.transition.Transition)}. --> 1823 <attr name="windowSharedElementExitTransition"/> 1824 1825 <!-- Reference to a Transition XML resource defining the desired Transition 1826 used for shared elements transferred back to a calling Activity. 1827 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 1828 android.transition.Transition)}. --> 1829 <attr name="windowSharedElementReenterTransition"/> 1830 1831 1832 <!-- Flag indicating whether this Window's transition should overlap with 1833 the exiting transition of the calling Activity. Corresponds to 1834 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 1835 <attr name="windowAllowEnterTransitionOverlap"/> 1836 1837 <!-- Flag indicating whether this Window's transition should overlap with 1838 the exiting transition of the called Activity when the called Activity 1839 finishes. Corresponds to 1840 {@link android.view.Window#setAllowExitTransitionOverlap(boolean)}. --> 1841 <attr name="windowAllowExitTransitionOverlap"/> 1842 1843 <!-- Indicates whether or not shared elements should use an overlay 1844 during transitions. The default value is true. --> 1845 <attr name="windowSharedElementsUseOverlay"/> 1846 1847 <!-- Flag indicating whether this Window is responsible for drawing the background for the 1848 system bars. If true and the window is not floating, the system bars are drawn with a 1849 transparent background and the corresponding areas in this window are filled with the 1850 colors specified in {@link android.R.attr#statusBarColor} and 1851 {@link android.R.attr#navigationBarColor}. Corresponds to 1852 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 1853 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 1854 1855 <!-- The color for the status bar. If the color is not opaque, consider setting 1856 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1857 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 1858 For this to take effect, the window must be drawing the system bar backgrounds with 1859 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 1860 have been requested to be translucent with 1861 {@link android.R.attr#windowTranslucentStatus}. 1862 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 1863 <attr name="statusBarColor" format="color" /> 1864 1865 <!-- The color for the navigation bar. If the color is not opaque, consider setting 1866 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1867 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 1868 For this to take effect, the window must be drawing the system bar backgrounds with 1869 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 1870 have been requested to be translucent with 1871 {@link android.R.attr#windowTranslucentNavigation}. 1872 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 1873 <attr name="navigationBarColor" format="color" /> 1874 1875 <!-- The duration, in milliseconds, of the window background fade duration 1876 when transitioning into or away from an Activity when called with an 1877 Activity Transition. Corresponds to 1878 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 1879 <attr name="windowTransitionBackgroundFadeDuration" /> 1880 1881 <!-- Elevation to use for the window. --> 1882 <attr name="windowElevation" format="dimension" /> 1883 1884 <!-- Whether to clip window content to the outline of the window background. --> 1885 <attr name="windowClipToOutline" format="boolean" /> 1886 </declare-styleable> 1887 1888 <!-- The set of attributes that describe a AlertDialog's theme. --> 1889 <declare-styleable name="AlertDialog"> 1890 <attr name="fullDark" format="reference|color" /> 1891 <attr name="topDark" format="reference|color" /> 1892 <attr name="centerDark" format="reference|color" /> 1893 <attr name="bottomDark" format="reference|color" /> 1894 <attr name="fullBright" format="reference|color" /> 1895 <attr name="topBright" format="reference|color" /> 1896 <attr name="centerBright" format="reference|color" /> 1897 <attr name="bottomBright" format="reference|color" /> 1898 <attr name="bottomMedium" format="reference|color" /> 1899 <attr name="centerMedium" format="reference|color" /> 1900 <attr name="layout" /> 1901 <attr name="buttonPanelSideLayout" format="reference" /> 1902 <attr name="listLayout" format="reference" /> 1903 <attr name="multiChoiceItemLayout" format="reference" /> 1904 <attr name="singleChoiceItemLayout" format="reference" /> 1905 <attr name="listItemLayout" format="reference" /> 1906 <attr name="progressLayout" format="reference" /> 1907 <attr name="horizontalProgressLayout" format="reference" /> 1908 </declare-styleable> 1909 1910 <!-- Fragment animation class attributes. --> 1911 <declare-styleable name="FragmentAnimation"> 1912 <attr name="fragmentOpenEnterAnimation" format="reference" /> 1913 <attr name="fragmentOpenExitAnimation" format="reference" /> 1914 <attr name="fragmentCloseEnterAnimation" format="reference" /> 1915 <attr name="fragmentCloseExitAnimation" format="reference" /> 1916 <attr name="fragmentFadeEnterAnimation" format="reference" /> 1917 <attr name="fragmentFadeExitAnimation" format="reference" /> 1918 </declare-styleable> 1919 1920 <!-- Window animation class attributes. --> 1921 <declare-styleable name="WindowAnimation"> 1922 <!-- The animation used when a window is being added. --> 1923 <attr name="windowEnterAnimation" format="reference" /> 1924 <!-- The animation used when a window is being removed. --> 1925 <attr name="windowExitAnimation" format="reference" /> 1926 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 1927 <attr name="windowShowAnimation" format="reference" /> 1928 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 1929 <attr name="windowHideAnimation" format="reference" /> 1930 1931 <!-- When opening a new activity, this is the animation that is 1932 run on the next activity (which is entering the screen). --> 1933 <attr name="activityOpenEnterAnimation" format="reference" /> 1934 <!-- When opening a new activity, this is the animation that is 1935 run on the previous activity (which is exiting the screen). --> 1936 <attr name="activityOpenExitAnimation" format="reference" /> 1937 <!-- When closing the current activity, this is the animation that is 1938 run on the next activity (which is entering the screen). --> 1939 <attr name="activityCloseEnterAnimation" format="reference" /> 1940 <!-- When closing the current activity, this is the animation that is 1941 run on the current activity (which is exiting the screen). --> 1942 <attr name="activityCloseExitAnimation" format="reference" /> 1943 <!-- When opening an activity in a new task, this is the animation that is 1944 run on the activity of the new task (which is entering the screen). --> 1945 <attr name="taskOpenEnterAnimation" format="reference" /> 1946 <!-- When opening an activity in a new task, this is the animation that is 1947 run on the activity of the old task (which is exiting the screen). --> 1948 <attr name="taskOpenExitAnimation" format="reference" /> 1949 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 1950 this is the animation that is run on the activity of the new task (which is 1951 entering the screen and then leaving). --> 1952 <attr name="launchTaskBehindBackgroundAnimation" format="reference" /> 1953 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 1954 this is the animation that is run on the activity of the old task (which is 1955 already on the screen and then stays on). --> 1956 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 1957 <!-- When closing the last activity of a task, this is the animation that is 1958 run on the activity of the next task (which is entering the screen). --> 1959 <attr name="taskCloseEnterAnimation" format="reference" /> 1960 <!-- When opening an activity in a new task, this is the animation that is 1961 run on the activity of the old task (which is exiting the screen). --> 1962 <attr name="taskCloseExitAnimation" format="reference" /> 1963 <!-- When bringing an existing task to the foreground, this is the 1964 animation that is run on the top activity of the task being brought 1965 to the foreground (which is entering the screen). --> 1966 <attr name="taskToFrontEnterAnimation" format="reference" /> 1967 <!-- When bringing an existing task to the foreground, this is the 1968 animation that is run on the current foreground activity 1969 (which is exiting the screen). --> 1970 <attr name="taskToFrontExitAnimation" format="reference" /> 1971 <!-- When sending the current task to the background, this is the 1972 animation that is run on the top activity of the task behind 1973 it (which is entering the screen). --> 1974 <attr name="taskToBackEnterAnimation" format="reference" /> 1975 <!-- When sending the current task to the background, this is the 1976 animation that is run on the top activity of the current task 1977 (which is exiting the screen). --> 1978 <attr name="taskToBackExitAnimation" format="reference" /> 1979 1980 <!-- When opening a new activity that shows the wallpaper, while 1981 currently not showing the wallpaper, this is the animation that 1982 is run on the new wallpaper activity (which is entering the screen). --> 1983 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 1984 <!-- When opening a new activity that shows the wallpaper, while 1985 currently not showing the wallpaper, this is the animation that 1986 is run on the current activity (which is exiting the screen). --> 1987 <attr name="wallpaperOpenExitAnimation" format="reference" /> 1988 <!-- When opening a new activity that hides the wallpaper, while 1989 currently showing the wallpaper, this is the animation that 1990 is run on the new activity (which is entering the screen). --> 1991 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 1992 <!-- When opening a new activity that hides the wallpaper, while 1993 currently showing the wallpaper, this is the animation that 1994 is run on the old wallpaper activity (which is exiting the screen). --> 1995 <attr name="wallpaperCloseExitAnimation" format="reference" /> 1996 1997 <!-- When opening a new activity that is on top of the wallpaper 1998 when the current activity is also on top of the wallpaper, 1999 this is the animation that is run on the new activity 2000 (which is entering the screen). The wallpaper remains 2001 static behind the animation. --> 2002 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2003 <!-- When opening a new activity that is on top of the wallpaper 2004 when the current activity is also on top of the wallpaper, 2005 this is the animation that is run on the current activity 2006 (which is exiting the screen). The wallpaper remains 2007 static behind the animation. --> 2008 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2009 <!-- When closing a foreround activity that is on top of the wallpaper 2010 when the previous activity is also on top of the wallpaper, 2011 this is the animation that is run on the previous activity 2012 (which is entering the screen). The wallpaper remains 2013 static behind the animation. --> 2014 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2015 <!-- When closing a foreround activity that is on top of the wallpaper 2016 when the previous activity is also on top of the wallpaper, 2017 this is the animation that is run on the current activity 2018 (which is exiting the screen). The wallpaper remains 2019 static behind the animation. --> 2020 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2021 </declare-styleable> 2022 2023 <!-- ============================= --> 2024 <!-- View package class attributes --> 2025 <!-- ============================= --> 2026 <eat-comment /> 2027 2028 <!-- Attributes that can be used with {@link android.view.View} or 2029 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2030 attributes that are processed by the view's parent. --> 2031 <declare-styleable name="View"> 2032 <!-- Supply an identifier name for this view, to later retrieve it 2033 with {@link android.view.View#findViewById View.findViewById()} or 2034 {@link android.app.Activity#findViewById Activity.findViewById()}. 2035 This must be a 2036 resource reference; typically you set this using the 2037 <code>@+</code> syntax to create a new ID resources. 2038 For example: <code>android:id="@+id/my_id"</code> which 2039 allows you to later retrieve the view 2040 with <code>findViewById(R.id.my_id)</code>. --> 2041 <attr name="id" format="reference" /> 2042 2043 <!-- Supply a tag for this view containing a String, to be retrieved 2044 later with {@link android.view.View#getTag View.getTag()} or 2045 searched for with {@link android.view.View#findViewWithTag 2046 View.findViewWithTag()}. It is generally preferable to use 2047 IDs (through the android:id attribute) instead of tags because 2048 they are faster and allow for compile-time type checking. --> 2049 <attr name="tag" format="string" /> 2050 2051 <!-- The initial horizontal scroll offset, in pixels.--> 2052 <attr name="scrollX" format="dimension" /> 2053 2054 <!-- The initial vertical scroll offset, in pixels. --> 2055 <attr name="scrollY" format="dimension" /> 2056 2057 <!-- A drawable to use as the background. This can be either a reference 2058 to a full drawable resource (such as a PNG image, 9-patch, 2059 XML state list description, etc), or a solid color such as "#ff000000" 2060 (black). --> 2061 <attr name="background" format="reference|color" /> 2062 2063 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2064 space between the edges of the view and the view's content. A views size 2065 will include it's padding. If a {@link android.R.attr#background} 2066 is provided, the padding will initially be set to that (0 if the 2067 drawable does not have padding). Explicitly setting a padding value 2068 will override the corresponding padding found in the background. --> 2069 <attr name="padding" format="dimension" /> 2070 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2071 <attr name="paddingLeft" format="dimension" /> 2072 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2073 <attr name="paddingTop" format="dimension" /> 2074 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2075 <attr name="paddingRight" format="dimension" /> 2076 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2077 <attr name="paddingBottom" format="dimension" /> 2078 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2079 <attr name="paddingStart" format="dimension" /> 2080 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2081 <attr name="paddingEnd" format="dimension" /> 2082 2083 <!-- Boolean that controls whether a view can take focus. By default the user can not 2084 move focus to a view; by setting this attribute to true the view is 2085 allowed to take focus. This value does not impact the behavior of 2086 directly calling {@link android.view.View#requestFocus}, which will 2087 always request focus regardless of this view. It only impacts where 2088 focus navigation will try to move focus. --> 2089 <attr name="focusable" format="boolean" /> 2090 2091 <!-- Boolean that controls whether a view can take focus while in touch mode. 2092 If this is true for a view, that view can gain focus when clicked on, and can keep 2093 focus if another view is clicked on that doesn't have this attribute set to true. --> 2094 <attr name="focusableInTouchMode" format="boolean" /> 2095 2096 <!-- Controls the initial visibility of the view. --> 2097 <attr name="visibility"> 2098 <!-- Visible on screen; the default value. --> 2099 <enum name="visible" value="0" /> 2100 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2101 <enum name="invisible" value="1" /> 2102 <!-- Completely hidden, as if the view had not been added. --> 2103 <enum name="gone" value="2" /> 2104 </attr> 2105 2106 <!-- Boolean internal attribute to adjust view layout based on 2107 system windows such as the status bar. 2108 If true, adjusts the padding of this view to leave space for the system windows. 2109 Will only take effect if this view is in a non-embedded activity. --> 2110 <attr name="fitsSystemWindows" format="boolean" /> 2111 2112 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2113 <attr name="scrollbars"> 2114 <!-- No scrollbar is displayed. --> 2115 <flag name="none" value="0x00000000" /> 2116 <!-- Displays horizontal scrollbar only. --> 2117 <flag name="horizontal" value="0x00000100" /> 2118 <!-- Displays vertical scrollbar only. --> 2119 <flag name="vertical" value="0x00000200" /> 2120 </attr> 2121 2122 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2123 inset. When inset, they add to the padding of the view. And the 2124 scrollbars can be drawn inside the padding area or on the edge of 2125 the view. For example, if a view has a background drawable and you 2126 want to draw the scrollbars inside the padding specified by the 2127 drawable, you can use insideOverlay or insideInset. If you want them 2128 to appear at the edge of the view, ignoring the padding, then you can 2129 use outsideOverlay or outsideInset.--> 2130 <attr name="scrollbarStyle"> 2131 <!-- Inside the padding and overlaid --> 2132 <enum name="insideOverlay" value="0x0" /> 2133 <!-- Inside the padding and inset --> 2134 <enum name="insideInset" value="0x01000000" /> 2135 <!-- Edge of the view and overlaid --> 2136 <enum name="outsideOverlay" value="0x02000000" /> 2137 <!-- Edge of the view and inset --> 2138 <enum name="outsideInset" value="0x03000000" /> 2139 </attr> 2140 2141 <!-- Set this if the view will serve as a scrolling container, meaing 2142 that it can be resized to shrink its overall window so that there 2143 will be space for an input method. If not set, the default 2144 value will be true if "scrollbars" has the vertical scrollbar 2145 set, else it will be false. --> 2146 <attr name="isScrollContainer" format="boolean" /> 2147 2148 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2149 <attr name="fadeScrollbars" format="boolean" /> 2150 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2151 <attr name="scrollbarFadeDuration" format="integer" /> 2152 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2153 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2154 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2155 <attr name="scrollbarSize" format="dimension" /> 2156 <!-- Defines the horizontal scrollbar thumb drawable. --> 2157 <attr name="scrollbarThumbHorizontal" format="reference" /> 2158 <!-- Defines the vertical scrollbar thumb drawable. --> 2159 <attr name="scrollbarThumbVertical" format="reference" /> 2160 <!-- Defines the horizontal scrollbar track drawable. --> 2161 <attr name="scrollbarTrackHorizontal" format="reference" /> 2162 <!-- Defines the vertical scrollbar track drawable. --> 2163 <attr name="scrollbarTrackVertical" format="reference" /> 2164 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2165 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2166 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2167 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2168 2169 <!-- This attribute is deprecated and will be ignored as of 2170 API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}). 2171 Using fading edges may introduce noticeable performance 2172 degradations and should be used only when required by the application's 2173 visual design. To request fading edges with API level 14 and above, 2174 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2175 <attr name="fadingEdge"> 2176 <!-- No edge is faded. --> 2177 <flag name="none" value="0x00000000" /> 2178 <!-- Fades horizontal edges only. --> 2179 <flag name="horizontal" value="0x00001000" /> 2180 <!-- Fades vertical edges only. --> 2181 <flag name="vertical" value="0x00002000" /> 2182 </attr> 2183 <!-- Defines which edges should be faded on scrolling. --> 2184 <attr name="requiresFadingEdge"> 2185 <!-- No edge is faded. --> 2186 <flag name="none" value="0x00000000" /> 2187 <!-- Fades horizontal edges only. --> 2188 <flag name="horizontal" value="0x00001000" /> 2189 <!-- Fades vertical edges only. --> 2190 <flag name="vertical" value="0x00002000" /> 2191 </attr> 2192 <!-- Defines the length of the fading edges. --> 2193 <attr name="fadingEdgeLength" format="dimension" /> 2194 2195 <!-- Defines the next view to give focus to when the next focus is 2196 {@link android.view.View#FOCUS_LEFT}. 2197 2198 If the reference refers to a view that does not exist or is part 2199 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2200 will result when the reference is accessed.--> 2201 <attr name="nextFocusLeft" format="reference"/> 2202 2203 <!-- Defines the next view to give focus to when the next focus is 2204 {@link android.view.View#FOCUS_RIGHT} 2205 2206 If the reference refers to a view that does not exist or is part 2207 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2208 will result when the reference is accessed.--> 2209 <attr name="nextFocusRight" format="reference"/> 2210 2211 <!-- Defines the next view to give focus to when the next focus is 2212 {@link android.view.View#FOCUS_UP} 2213 2214 If the reference refers to a view that does not exist or is part 2215 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2216 will result when the reference is accessed.--> 2217 <attr name="nextFocusUp" format="reference"/> 2218 2219 <!-- Defines the next view to give focus to when the next focus is 2220 {@link android.view.View#FOCUS_DOWN} 2221 2222 If the reference refers to a view that does not exist or is part 2223 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2224 will result when the reference is accessed.--> 2225 <attr name="nextFocusDown" format="reference"/> 2226 2227 <!-- Defines the next view to give focus to when the next focus is 2228 {@link android.view.View#FOCUS_FORWARD} 2229 2230 If the reference refers to a view that does not exist or is part 2231 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2232 will result when the reference is accessed.--> 2233 <attr name="nextFocusForward" format="reference"/> 2234 2235 <!-- Defines whether this view reacts to click events. --> 2236 <attr name="clickable" format="boolean" /> 2237 2238 <!-- Defines whether this view reacts to long click events. --> 2239 <attr name="longClickable" format="boolean" /> 2240 2241 <!-- If unset, no state will be saved for this view when it is being 2242 frozen. The default is true, allowing the view to be saved 2243 (however it also must have an ID assigned to it for its 2244 state to be saved). Setting this to false only disables the 2245 state for this view, not for its children which may still 2246 be saved. --> 2247 <attr name="saveEnabled" format="boolean" /> 2248 2249 <!-- Specifies whether to filter touches when the view's window is obscured by 2250 another visible window. When set to true, the view will not receive touches 2251 whenever a toast, dialog or other window appears above the view's window. 2252 Refer to the {@link android.view.View} security documentation for more details. --> 2253 <attr name="filterTouchesWhenObscured" format="boolean" /> 2254 2255 <!-- Defines the quality of translucent drawing caches. This property is used 2256 only when the drawing cache is enabled and translucent. The default value is auto. --> 2257 <attr name="drawingCacheQuality"> 2258 <!-- Lets the framework decide what quality level should be used 2259 for the drawing cache. --> 2260 <enum name="auto" value="0" /> 2261 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2262 depth, thus losing precision in rendering gradients, but uses less memory. --> 2263 <enum name="low" value="1" /> 2264 <!-- High quality. When set to high quality, the drawing cache uses a higher 2265 color depth but uses more memory. --> 2266 <enum name="high" value="2" /> 2267 </attr> 2268 2269 <!-- Controls whether the view's window should keep the screen on 2270 while visible. --> 2271 <attr name="keepScreenOn" format="boolean" /> 2272 2273 <!-- When this attribute is set to true, the view gets its drawable state 2274 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2275 <attr name="duplicateParentState" format="boolean" /> 2276 2277 <!-- Defines the minimum height of the view. It is not guaranteed 2278 the view will be able to achieve this minimum height (for example, 2279 if its parent layout constrains it with less available height). --> 2280 <attr name="minHeight" /> 2281 2282 <!-- Defines the minimum width of the view. It is not guaranteed 2283 the view will be able to achieve this minimum width (for example, 2284 if its parent layout constrains it with less available width). --> 2285 <attr name="minWidth" /> 2286 2287 <!-- Boolean that controls whether a view should have sound effects 2288 enabled for events such as clicking and touching. --> 2289 <attr name="soundEffectsEnabled" format="boolean" /> 2290 2291 <!-- Boolean that controls whether a view should have haptic feedback 2292 enabled for events such as long presses. --> 2293 <attr name="hapticFeedbackEnabled" format="boolean" /> 2294 2295 <!-- Defines text that briefly describes content of the view. This property is used 2296 primarily for accessibility. Since some views do not have textual 2297 representation this attribute can be used for providing such. --> 2298 <attr name="contentDescription" format="string" localization="suggested" /> 2299 2300 <!-- Name of the method in this View's context to invoke when the view is 2301 clicked. This name must correspond to a public method that takes 2302 exactly one parameter of type View. For instance, if you specify 2303 <code>android:onClick="sayHello"</code>, you must declare a 2304 <code>public void sayHello(View v)</code> method of your context 2305 (typically, your Activity). --> 2306 <attr name="onClick" format="string" /> 2307 2308 <!-- Defines over-scrolling behavior. This property is used only if the 2309 View is scrollable. Over-scrolling is the ability for the user to 2310 receive feedback when attempting to scroll beyond meaningful content. --> 2311 <attr name="overScrollMode"> 2312 <!-- Always show over-scroll effects, even if the content fits entirely 2313 within the available space. --> 2314 <enum name="always" value="0" /> 2315 <!-- Only show over-scroll effects if the content is large 2316 enough to meaningfully scroll. --> 2317 <enum name="ifContentScrolls" value="1" /> 2318 <!-- Never show over-scroll effects. --> 2319 <enum name="never" value="2" /> 2320 </attr> 2321 2322 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2323 (completely opaque). --> 2324 <attr name="alpha" format="float" /> 2325 2326 <!-- base z depth of the view --> 2327 <attr name="elevation" format="dimension" /> 2328 2329 <!-- translation in x of the view. This value is added post-layout to the left 2330 property of the view, which is set by its layout. --> 2331 <attr name="translationX" format="dimension" /> 2332 2333 <!-- translation in y of the view. This value is added post-layout to the top 2334 property of the view, which is set by its layout. --> 2335 <attr name="translationY" format="dimension" /> 2336 2337 <!-- translation in z of the view. This value is added to its elevation. --> 2338 <attr name="translationZ" format="dimension" /> 2339 2340 <!-- x location of the pivot point around which the view will rotate and scale. 2341 This xml attribute sets the pivotX property of the View. --> 2342 <attr name="transformPivotX" format="dimension" /> 2343 2344 <!-- y location of the pivot point around which the view will rotate and scale. 2345 This xml attribute sets the pivotY property of the View. --> 2346 <attr name="transformPivotY" format="dimension" /> 2347 2348 <!-- rotation of the view, in degrees. --> 2349 <attr name="rotation" format="float" /> 2350 2351 <!-- rotation of the view around the x axis, in degrees. --> 2352 <attr name="rotationX" format="float" /> 2353 2354 <!-- rotation of the view around the y axis, in degrees. --> 2355 <attr name="rotationY" format="float" /> 2356 2357 <!-- scale of the view in the x direction. --> 2358 <attr name="scaleX" format="float" /> 2359 2360 <!-- scale of the view in the y direction. --> 2361 <attr name="scaleY" format="float" /> 2362 2363 <!-- Determines which side the vertical scroll bar should be placed on. --> 2364 <attr name="verticalScrollbarPosition"> 2365 <!-- Place the scroll bar wherever the system default determines. --> 2366 <enum name="defaultPosition" value="0" /> 2367 <!-- Place the scroll bar on the left. --> 2368 <enum name="left" value="1" /> 2369 <!-- Place the scroll bar on the right. --> 2370 <enum name="right" value="2" /> 2371 </attr> 2372 2373 <!-- Specifies the type of layer backing this view. The default value is none. 2374 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2375 for more information.--> 2376 <attr name="layerType"> 2377 <!-- Don't use a layer. --> 2378 <enum name="none" value="0" /> 2379 <!-- Use a software layer. Refer to 2380 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2381 more information. --> 2382 <enum name="software" value="1" /> 2383 <!-- Use a hardware layer. Refer to 2384 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2385 more information. --> 2386 <enum name="hardware" value="2" /> 2387 </attr> 2388 2389 <!-- Defines the direction of layout drawing. This typically is associated with writing 2390 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2391 "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing 2392 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2393 used in "en-US". The default for this attribute is "inherit". --> 2394 <attr name="layoutDirection"> 2395 <!-- Left-to-Right --> 2396 <enum name="ltr" value="0" /> 2397 <!-- Right-to-Left --> 2398 <enum name="rtl" value="1" /> 2399 <!-- Inherit from parent --> 2400 <enum name="inherit" value="2" /> 2401 <!-- Locale --> 2402 <enum name="locale" value="3" /> 2403 </attr> 2404 2405 <!-- Defines the direction of the text. A heuristic is used to determine the resolved text 2406 direction of paragraphs. --> 2407 <attr name="textDirection" format="integer"> 2408 <!-- Default --> 2409 <enum name="inherit" value="0" /> 2410 <!-- Default for the root view. The first strong directional character determines the 2411 paragraph direction. If there is no strong directional character, the paragraph 2412 direction is the view’s resolved layout direction. --> 2413 <enum name="firstStrong" value="1" /> 2414 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2415 it is LTR if it contains any strong LTR characters. If there are neither, the 2416 paragraph direction is the view’s resolved layout direction. --> 2417 <enum name="anyRtl" value="2" /> 2418 <!-- The paragraph direction is left to right. --> 2419 <enum name="ltr" value="3" /> 2420 <!-- The paragraph direction is right to left. --> 2421 <enum name="rtl" value="4" /> 2422 <!-- The paragraph direction is coming from the system Locale. --> 2423 <enum name="locale" value="5" /> 2424 </attr> 2425 2426 <!-- Defines the alignment of the text. A heuristic is used to determine the resolved 2427 text alignment. --> 2428 <attr name="textAlignment" format="integer"> 2429 <!-- Default --> 2430 <enum name="inherit" value="0" /> 2431 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2432 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2433 text direction --> 2434 <enum name="gravity" value="1" /> 2435 <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. --> 2436 <enum name="textStart" value="2" /> 2437 <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. --> 2438 <enum name="textEnd" value="3" /> 2439 <!-- Center the paragraph, e.g. ALIGN_CENTER. --> 2440 <enum name="center" value="4" /> 2441 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2442 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2443 <enum name="viewStart" value="5" /> 2444 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2445 layoutDirection is LTR, and ALIGN_LEFT otherwise --> 2446 <enum name="viewEnd" value="6" /> 2447 </attr> 2448 2449 <!-- Controls how this View is important for accessibility which is if it fires 2450 accessibility events and if it is reported to accessibility services that 2451 query the screen. Note: While not recommended, an accessibility service may 2452 decide to ignore this attribute and operate on all views in the view tree. --> 2453 <attr name="importantForAccessibility" format="integer"> 2454 <!-- The system determines whether the view is important for accessibility - default 2455 (recommended). --> 2456 <enum name="auto" value="0" /> 2457 <!-- The view is important for accessibility. --> 2458 <enum name="yes" value="1" /> 2459 <!-- The view is not important for accessibility. --> 2460 <enum name="no" value="2" /> 2461 <!-- The view is not important for accessibility, nor are any of its descendant 2462 views. --> 2463 <enum name="noHideDescendants" value="4" /> 2464 </attr> 2465 2466 <!-- Indicates to accessibility services whether the user should be notified when 2467 this view changes. --> 2468 <attr name="accessibilityLiveRegion" format="integer"> 2469 <!-- Accessibility services should not announce changes to this view. --> 2470 <enum name="none" value="0" /> 2471 <!-- Accessibility services should announce changes to this view. --> 2472 <enum name="polite" value="1" /> 2473 <!-- Accessibility services should interrupt ongoing speech to immediately 2474 announce changes to this view. --> 2475 <enum name="assertive" value="2" /> 2476 </attr> 2477 2478 <!-- Specifies the id of a view for which this view serves as a label for 2479 accessibility purposes. For example, a TextView before an EditText in 2480 the UI usually specifies what infomation is contained in the EditText. 2481 Hence, the TextView is a label for the EditText. --> 2482 <attr name="labelFor" format="reference" /> 2483 2484 <!-- Specifies a theme override for a view. When a theme override is set, the 2485 view will be inflated using a {@link android.content.Context} themed with 2486 the specified resource. During XML inflation, any child views under the 2487 view with a theme override will inherit the themed context. --> 2488 <attr name="theme" /> 2489 2490 <!-- Names a View such that it can be identified for Transitions. Names should be 2491 unique in the View hierarchy. --> 2492 <attr name="transitionName" format="string" /> 2493 2494 <!-- Specifies that this view should permit nested scrolling within a compatible 2495 ancestor view. --> 2496 <attr name="nestedScrollingEnabled" format="boolean" /> 2497 2498 <!-- Sets the state-based animator for the View. --> 2499 <attr name="stateListAnimator" format="reference"/> 2500 2501 <!-- Tint to apply to the background. --> 2502 <attr name="backgroundTint" format="color" /> 2503 2504 <!-- Blending mode used to apply the background tint. --> 2505 <attr name="backgroundTintMode"> 2506 <!-- The tint is drawn on top of the drawable. 2507 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2508 <enum name="src_over" value="3" /> 2509 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2510 color channels are thrown out. [Sa * Da, Sc * Da] --> 2511 <enum name="src_in" value="5" /> 2512 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2513 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2514 <enum name="src_atop" value="9" /> 2515 <!-- Multiplies the color and alpha channels of the drawable with those of 2516 the tint. [Sa * Da, Sc * Dc] --> 2517 <enum name="multiply" value="14" /> 2518 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2519 <enum name="screen" value="15" /> 2520 <!-- Combines the tint and drawable color and alpha channels, clamping the 2521 result to valid color values. Saturate(S + D) --> 2522 <enum name="add" value="16" /> 2523 </attr> 2524 2525 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2526 <attr name="outlineProvider"> 2527 <!-- Default, background drawable-driven outline. --> 2528 <enum name="background" value="0" /> 2529 <!-- No outline provider. --> 2530 <enum name="none" value="1" /> 2531 <!-- Generates an opaque outline for the bounds of the view. --> 2532 <enum name="bounds" value="2" /> 2533 <!-- Generates an opaque outline for the padded bounds of the view. --> 2534 <enum name="paddedBounds" value="3" /> 2535 </attr> 2536 2537 </declare-styleable> 2538 2539 <!-- Attributes that can be assigned to a tag for a particular View. --> 2540 <declare-styleable name="ViewTag"> 2541 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 2542 <attr name="id" /> 2543 <!-- Specifies the value with which to tag the view. --> 2544 <attr name="value" /> 2545 </declare-styleable> 2546 2547 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 2548 of its subclasses. Also see {@link #ViewGroup_Layout} for 2549 attributes that this class processes in its children. --> 2550 <declare-styleable name="ViewGroup"> 2551 <!-- Defines whether changes in layout (caused by adding and removing items) should 2552 cause a LayoutTransition to run. When this flag is set to true, a default 2553 LayoutTransition object will be set on the ViewGroup container and default 2554 animations will run when these layout changes occur.--> 2555 <attr name="animateLayoutChanges" format="boolean" /> 2556 <!-- Defines whether a child is limited to draw inside of its bounds or not. 2557 This is useful with animations that scale the size of the children to more 2558 than 100% for instance. In such a case, this property should be set to false 2559 to allow the children to draw outside of their bounds. The default value of 2560 this property is true. --> 2561 <attr name="clipChildren" format="boolean" /> 2562 <!-- Defines whether the ViewGroup will clip its drawing surface so as to exclude 2563 the padding area. This property is set to true by default. --> 2564 <attr name="clipToPadding" format="boolean" /> 2565 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 2566 Layout animations can also be started manually after the first layout. --> 2567 <attr name="layoutAnimation" format="reference" /> 2568 <!-- Defines whether layout animations should create a drawing cache for their 2569 children. Enabling the animation cache consumes more memory and requires 2570 a longer initialization but provides better performance. The animation 2571 cache is enabled by default. --> 2572 <attr name="animationCache" format="boolean" /> 2573 <!-- Defines the persistence of the drawing cache. The drawing cache might be 2574 enabled by a ViewGroup for all its children in specific situations (for 2575 instance during a scrolling.) This property lets you persist the cache 2576 in memory after its initial usage. Persisting the cache consumes more 2577 memory but may prevent frequent garbage collection is the cache is created 2578 over and over again. By default the persistence is set to scrolling. --> 2579 <attr name="persistentDrawingCache"> 2580 <!-- The drawing cache is not persisted after use. --> 2581 <flag name="none" value="0x0" /> 2582 <!-- The drawing cache is persisted after a layout animation. --> 2583 <flag name="animation" value="0x1" /> 2584 <!-- The drawing cache is persisted after a scroll. --> 2585 <flag name="scrolling" value="0x2" /> 2586 <!-- The drawing cache is always persisted. --> 2587 <flag name="all" value="0x3" /> 2588 </attr> 2589 <!-- Defines whether the ViewGroup should always draw its children using their 2590 drawing cache or not. The default value is true. --> 2591 <attr name="alwaysDrawnWithCache" format="boolean" /> 2592 <!-- Sets whether this ViewGroup's drawable states also include 2593 its children's drawable states. This is used, for example, to 2594 make a group appear to be focused when its child EditText or button 2595 is focused. --> 2596 <attr name="addStatesFromChildren" format="boolean" /> 2597 2598 <!-- Defines the relationship between the ViewGroup and its descendants 2599 when looking for a View to take focus. --> 2600 <attr name="descendantFocusability"> 2601 <!-- The ViewGroup will get focus before any of its descendants. --> 2602 <enum name="beforeDescendants" value="0" /> 2603 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 2604 <enum name="afterDescendants" value="1" /> 2605 <!-- The ViewGroup will block its descendants from receiving focus. --> 2606 <enum name="blocksDescendants" value="2" /> 2607 </attr> 2608 2609 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 2610 <attr name="touchscreenBlocksFocus" format="boolean" /> 2611 2612 <!-- Sets whether this ViewGroup should split MotionEvents 2613 to separate child views during touch event dispatch. 2614 If false (default), touch events will be dispatched to 2615 the child view where the first pointer went down until 2616 the last pointer goes up. 2617 If true, touch events may be dispatched to multiple children. 2618 MotionEvents for each pointer will be dispatched to the child 2619 view where the initial ACTION_DOWN event happened. 2620 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 2621 for more information. --> 2622 <attr name="splitMotionEvents" format="boolean" /> 2623 2624 <!-- Defines the layout mode of this ViewGroup. --> 2625 <attr name="layoutMode"> 2626 <!-- Use the children's clip bounds when laying out this container. --> 2627 <enum name="clipBounds" value="0" /> 2628 <!-- Use the children's optical bounds when laying out this container. --> 2629 <enum name="opticalBounds" value="1" /> 2630 </attr> 2631 2632 <!-- Sets whether or not this ViewGroup should be treated as a single entity 2633 when doing an Activity transition. Typically, the elements inside a 2634 ViewGroup are each transitioned from the scene individually. The default 2635 for a ViewGroup is false unless it has a background. See 2636 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 2637 android.view.View, String)} for more information. Corresponds to 2638 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 2639 <attr name="transitionGroup" format="boolean" /> 2640 </declare-styleable> 2641 2642 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 2643 inside your application at runtime. --> 2644 <declare-styleable name="ViewStub"> 2645 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 2646 becomes visible or when forced to do so. The layout resource must be a 2647 valid reference to a layout. --> 2648 <attr name="layout" format="reference" /> 2649 <!-- Overrides the id of the inflated View with this value. --> 2650 <attr name="inflatedId" format="reference" /> 2651 </declare-styleable> 2652 2653 <!-- ===================================== --> 2654 <!-- View package parent layout attributes --> 2655 <!-- ===================================== --> 2656 <eat-comment /> 2657 2658 <!-- This is the basic set of layout attributes that are common to all 2659 layout managers. These attributes are specified with the rest of 2660 a view's normal attributes (such as {@link android.R.attr#background}, 2661 but will be parsed by the view's parent and ignored by the child. 2662 <p>The values defined here correspond to the base layout attribute 2663 class {@link android.view.ViewGroup.LayoutParams}. --> 2664 <declare-styleable name="ViewGroup_Layout"> 2665 <!-- Specifies the basic width of the view. This is a required attribute 2666 for any view inside of a containing layout manager. Its value may 2667 be a dimension (such as "12dip") for a constant width or one of 2668 the special constants. --> 2669 <attr name="layout_width" format="dimension"> 2670 <!-- The view should be as big as its parent (minus padding). 2671 This constant is deprecated starting from API Level 8 and 2672 is replaced by {@code match_parent}. --> 2673 <enum name="fill_parent" value="-1" /> 2674 <!-- The view should be as big as its parent (minus padding). 2675 Introduced in API Level 8. --> 2676 <enum name="match_parent" value="-1" /> 2677 <!-- The view should be only big enough to enclose its content (plus padding). --> 2678 <enum name="wrap_content" value="-2" /> 2679 </attr> 2680 2681 <!-- Specifies the basic height of the view. This is a required attribute 2682 for any view inside of a containing layout manager. Its value may 2683 be a dimension (such as "12dip") for a constant height or one of 2684 the special constants. --> 2685 <attr name="layout_height" format="dimension"> 2686 <!-- The view should be as big as its parent (minus padding). 2687 This constant is deprecated starting from API Level 8 and 2688 is replaced by {@code match_parent}. --> 2689 <enum name="fill_parent" value="-1" /> 2690 <!-- The view should be as big as its parent (minus padding). 2691 Introduced in API Level 8. --> 2692 <enum name="match_parent" value="-1" /> 2693 <!-- The view should be only big enough to enclose its content (plus padding). --> 2694 <enum name="wrap_content" value="-2" /> 2695 </attr> 2696 </declare-styleable> 2697 2698 <!-- This is the basic set of layout attributes for layout managers that 2699 wish to place margins around their child views. 2700 These attributes are specified with the rest of 2701 a view's normal attributes (such as {@link android.R.attr#background}, 2702 but will be parsed by the view's parent and ignored by the child. 2703 <p>The values defined here correspond to the base layout attribute 2704 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 2705 <declare-styleable name="ViewGroup_MarginLayout"> 2706 <attr name="layout_width" /> 2707 <attr name="layout_height" /> 2708 <!-- Specifies extra space on the left, top, right and bottom 2709 sides of this view. This space is outside this view's bounds. --> 2710 <attr name="layout_margin" format="dimension" /> 2711 <!-- Specifies extra space on the left side of this view. 2712 This space is outside this view's bounds. --> 2713 <attr name="layout_marginLeft" format="dimension" /> 2714 <!-- Specifies extra space on the top side of this view. 2715 This space is outside this view's bounds. --> 2716 <attr name="layout_marginTop" format="dimension" /> 2717 <!-- Specifies extra space on the right side of this view. 2718 This space is outside this view's bounds. --> 2719 <attr name="layout_marginRight" format="dimension" /> 2720 <!-- Specifies extra space on the bottom side of this view. 2721 This space is outside this view's bounds. --> 2722 <attr name="layout_marginBottom" format="dimension" /> 2723 <!-- Specifies extra space on the start side of this view. 2724 This space is outside this view's bounds. --> 2725 <attr name="layout_marginStart" format="dimension" /> 2726 <!-- Specifies extra space on the end side of this view. 2727 This space is outside this view's bounds. --> 2728 <attr name="layout_marginEnd" format="dimension" /> 2729 </declare-styleable> 2730 2731 <!-- Use <code>input-method</code> as the root tag of the XML resource that 2732 describes an 2733 {@link android.view.inputmethod.InputMethod} service, which is 2734 referenced from its 2735 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 2736 meta-data entry. Described here are the attributes that can be 2737 included in that tag. --> 2738 <declare-styleable name="InputMethod"> 2739 <!-- Component name of an activity that allows the user to modify 2740 the settings for this service. --> 2741 <attr name="settingsActivity" format="string" /> 2742 <!-- Set to true in all of the configurations for which this input 2743 method should be considered an option as the default. --> 2744 <attr name="isDefault" format="boolean" /> 2745 <!-- Set to true if this input method supports ways to switch to 2746 a next input method (e.g. a globe key.). When this is true and 2747 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 2748 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 2749 accordingly. 2750 <p> Note that the system determines the most appropriate next input method 2751 and subtype in order to provide the consistent user experience in switching 2752 between IMEs and subtypes. --> 2753 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 2754 </declare-styleable> 2755 2756 <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...) 2757 and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows 2758 the system to call the specified subtype of the IME directly. --> 2759 <declare-styleable name="InputMethod_Subtype"> 2760 <!-- The name of the subtype. --> 2761 <attr name="label" /> 2762 <!-- The icon of the subtype. --> 2763 <attr name="icon" /> 2764 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 2765 and will be passed to the IME when the framework calls the IME 2766 with the subtype. This is also used by the framework to know the supported locales 2767 of the IME. --> 2768 <attr name="imeSubtypeLocale" format="string" /> 2769 <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this 2770 string will be passed to the IME when the framework calls the IME with the 2771 subtype. --> 2772 <attr name="imeSubtypeMode" format="string" /> 2773 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 2774 input method selection list in the settings app. 2775 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 2776 chooses a target subtype. --> 2777 <attr name="isAuxiliary" format="boolean" /> 2778 <!-- Set true when this subtype should be selected by default if no other subtypes are 2779 selected explicitly. Note that a subtype with this parameter being true will 2780 not be shown in the subtypes list. --> 2781 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 2782 <!-- The extra value of the subtype. This string can be any string and will be passed to 2783 the IME when the framework calls the IME with the subtype. --> 2784 <attr name="imeSubtypeExtraValue" format="string" /> 2785 <!-- The unique id for the subtype. The input method framework keeps track of enabled 2786 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 2787 if other attributes are different. If the ID is unspecified (by calling the other 2788 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 2789 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 2790 <attr name="subtypeId" format="integer"/> 2791 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 2792 capable, it should guarantee that the user can input ASCII characters with 2793 this subtype. This is important because many password fields only allow 2794 ASCII-characters. --> 2795 <attr name="isAsciiCapable" format="boolean" /> 2796 </declare-styleable> 2797 2798 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 2799 describes an 2800 {@link android.service.textservice.SpellCheckerService} service, which is 2801 referenced from its 2802 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 2803 meta-data entry. Described here are the attributes that can be 2804 included in that tag. --> 2805 <declare-styleable name="SpellChecker"> 2806 <!-- The name of the spell checker. --> 2807 <attr name="label" /> 2808 <!-- Component name of an activity that allows the user to modify 2809 the settings for this service. --> 2810 <attr name="settingsActivity"/> 2811 </declare-styleable> 2812 2813 <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) --> 2814 <declare-styleable name="SpellChecker_Subtype"> 2815 <!-- The name of the subtype. --> 2816 <attr name="label" /> 2817 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 2818 This is also used by the framework to know the supported locales 2819 of the spell checker. --> 2820 <attr name="subtypeLocale" format="string" /> 2821 <!-- The extra value of the subtype. This string can be any string and will be passed to 2822 the SpellChecker. --> 2823 <attr name="subtypeExtraValue" format="string" /> 2824 </declare-styleable> 2825 2826 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 2827 describes an {@link android.accessibilityservice.AccessibilityService} service, 2828 which is referenced from its 2829 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 2830 meta-data entry. --> 2831 <declare-styleable name="AccessibilityService"> 2832 <!-- The event types this serivce would like to receive as specified in 2833 {@link android.view.accessibility.AccessibilityEvent}. This setting 2834 can be changed at runtime by calling 2835 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 2836 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 2837 <attr name="accessibilityEventTypes"> 2838 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 2839 <flag name="typeViewClicked" value="0x00000001" /> 2840 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 2841 <flag name="typeViewLongClicked" value="0x00000002" /> 2842 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 2843 <flag name="typeViewSelected" value="0x00000004" /> 2844 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 2845 <flag name="typeViewFocused" value="0x00000008" /> 2846 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 2847 <flag name="typeViewTextChanged" value="0x00000010" /> 2848 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 2849 <flag name="typeWindowStateChanged" value="0x00000020" /> 2850 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 2851 <flag name="typeNotificationStateChanged" value="0x00000040" /> 2852 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 2853 <flag name="typeViewHoverEnter" value="0x00000080" /> 2854 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 2855 <flag name="typeViewHoverExit" value="0x00000100" /> 2856 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 2857 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 2858 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 2859 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 2860 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 2861 <flag name="typeWindowContentChanged" value="0x00000800" /> 2862 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 2863 <flag name="typeViewScrolled" value="0x000001000" /> 2864 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 2865 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 2866 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 2867 <flag name="typeAllMask" value="0xffffffff" /> 2868 </attr> 2869 <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages). 2870 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 2871 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 2872 <attr name="packageNames" format="string" /> 2873 <!-- The feedback types this serivce provides as specified in 2874 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 2875 can be changed at runtime by calling 2876 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 2877 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 2878 <attr name="accessibilityFeedbackType"> 2879 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 2880 <flag name="feedbackSpoken" value="0x00000001" /> 2881 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 2882 <flag name="feedbackHaptic" value="0x00000002" /> 2883 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 2884 <flag name="feedbackAudible" value="0x00000004" /> 2885 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 2886 <flag name="feedbackVisual" value="0x00000008" /> 2887 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 2888 <flag name="feedbackGeneric" value="0x00000010" /> 2889 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 2890 <flag name="feedbackAllMask" value="0xffffffff" /> 2891 </attr> 2892 <!-- The minimal period in milliseconds between two accessibility events of the same type 2893 are sent to this serivce. This setting can be changed at runtime by calling 2894 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 2895 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 2896 <attr name="notificationTimeout" format="integer" /> 2897 <!-- Additional flags as specified in 2898 {@link android.accessibilityservice.AccessibilityServiceInfo}. 2899 This setting can be changed at runtime by calling 2900 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 2901 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 2902 <attr name="accessibilityFlags"> 2903 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} --> 2904 <flag name="flagDefault" value="0x00000001" /> 2905 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} --> 2906 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 2907 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} --> 2908 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 2909 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} --> 2910 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 2911 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} --> 2912 <flag name="flagReportViewIds" value="0x00000010" /> 2913 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} --> 2914 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 2915 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} --> 2916 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 2917 </attr> 2918 <!-- Component name of an activity that allows the user to modify 2919 the settings for this service. This setting cannot be changed at runtime. --> 2920 <attr name="settingsActivity" /> 2921 <!-- Attribute whether the accessibility service wants to be able to retrieve the 2922 active window content. This setting cannot be changed at runtime. --> 2923 <attr name="canRetrieveWindowContent" format="boolean" /> 2924 <!-- Attribute whether the accessibility service wants to be able to request touch 2925 exploration mode in which touched items are spoken aloud and the UI can be 2926 explored via gestures. 2927 <p> 2928 Required to allow setting the {@link android.accessibilityservice 2929 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 2930 </p> 2931 --> 2932 <attr name="canRequestTouchExplorationMode" format="boolean" /> 2933 <!-- Attribute whether the accessibility service wants to be able to request enhanced 2934 web accessibility enhancements. For example, installing scripts to make app 2935 content more accessible. 2936 <p> 2937 Required to allow setting the {@link android.accessibilityservice 2938 #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag. 2939 </p> 2940 --> 2941 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 2942 <!-- Attribute whether the accessibility service wants to be able to request to 2943 filter key events. 2944 <p> 2945 Required to allow setting the {@link android.accessibilityservice 2946 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 2947 </p> 2948 --> 2949 <attr name="canRequestFilterKeyEvents" format="boolean" /> 2950 <!-- Short description of the accessibility serivce purpose or behavior.--> 2951 <attr name="description" /> 2952 </declare-styleable> 2953 2954 <!-- Use <code>print-service</code> as the root tag of the XML resource that 2955 describes an {@link android.printservice.PrintService} service, which is 2956 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 2957 meta-data entry. --> 2958 <declare-styleable name="PrintService"> 2959 <!-- Fully qualified class name of an activity that allows the user to modify 2960 the settings for this service. --> 2961 <attr name="settingsActivity" /> 2962 <!-- Fully qualified class name of an activity that allows the user to manually 2963 add printers to this print service. --> 2964 <attr name="addPrintersActivity" format="string"/> 2965 <!-- Fully qualified class name of an activity with advanced print options 2966 specific to this print service. --> 2967 <attr name="advancedPrintOptionsActivity" format="string"/> 2968 <!-- The vendor name if this print service is vendor specific. --> 2969 <attr name="vendor" format="string"/> 2970 </declare-styleable> 2971 2972 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 2973 describes an {@link android.nfc.cardemulation.HostApduService} service, which 2974 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 2975 entry. --> 2976 <declare-styleable name="HostApduService"> 2977 <!-- Short description of the functionality the service implements. This attribute 2978 is mandatory.--> 2979 <attr name="description" /> 2980 <!-- Whether the device must be unlocked before routing data to this service. 2981 The default is false.--> 2982 <attr name="requireDeviceUnlock" format="boolean"/> 2983 <!-- A drawable that can be rendered in Android's system UI for representing 2984 the service. --> 2985 <attr name="apduServiceBanner" format="reference"/> 2986 </declare-styleable> 2987 2988 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 2989 describes an {@link android.nfc.cardemulation.OffHostApduService} 2990 service, which is referenced from its 2991 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 2992 <declare-styleable name="OffHostApduService"> 2993 <!-- Short description of the functionality the service implements. This attribute 2994 is mandatory.--> 2995 <attr name="description" /> 2996 <!-- A drawable that can be rendered in Android's system UI for representing 2997 the service. --> 2998 <attr name="apduServiceBanner"/> 2999 </declare-styleable> 3000 3001 <!-- Specify one or more <code>aid-group</code> elements inside a 3002 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3003 element to define a group of ISO7816 Application ID (AIDs) that 3004 your service can handle.--> 3005 <declare-styleable name="AidGroup"> 3006 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3007 <attr name="description" /> 3008 <!-- The category attribute will be used by the Android platform to present 3009 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3010 same category uniformly. 3011 Additionally, when a category is specified, Android will ensure that either 3012 all AIDs in this group are routed to this application, or none at all. 3013 This attribute is optional.--> 3014 <attr name="category" format="string" /> 3015 </declare-styleable> 3016 3017 <!-- Specify one or more <code>aid-filter</code> elements inside a 3018 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3019 your service can handle. --> 3020 <declare-styleable name="AidFilter"> 3021 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3022 <attr name="name" /> 3023 </declare-styleable> 3024 3025 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3026 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3027 prefix your service can handle. --> 3028 <declare-styleable name="AidPrefixFilter"> 3029 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3030 <attr name="name" /> 3031 </declare-styleable> 3032 3033 <declare-styleable name="ActionMenuItemView"> 3034 <attr name="minWidth" /> 3035 </declare-styleable> 3036 3037 <!-- =============================== --> 3038 <!-- Widget package class attributes --> 3039 <!-- =============================== --> 3040 <eat-comment /> 3041 3042 <declare-styleable name="AbsListView"> 3043 <!-- Drawable used to indicate the currently selected item in the list. --> 3044 <attr name="listSelector" format="color|reference" /> 3045 <!-- When set to true, the selector will be drawn over the selected item. 3046 Otherwise the selector is drawn behind the selected item. The default 3047 value is false. --> 3048 <attr name="drawSelectorOnTop" format="boolean" /> 3049 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3050 <attr name="stackFromBottom" format="boolean" /> 3051 <!-- When set to true, the list uses a drawing cache during scrolling. 3052 This makes the rendering faster but uses more memory. The default 3053 value is true. --> 3054 <attr name="scrollingCache" format="boolean" /> 3055 <!-- When set to true, the list will filter results as the user types. The 3056 List's adapter must support the Filterable interface for this to work. --> 3057 <attr name="textFilterEnabled" format="boolean" /> 3058 <!-- Sets the transcript mode for the list. In transcript mode, the list 3059 scrolls to the bottom to make new items visible when they are added. --> 3060 <attr name="transcriptMode"> 3061 <!-- Disables transcript mode. This is the default value. --> 3062 <enum name="disabled" value="0"/> 3063 <!-- The list will automatically scroll to the bottom when 3064 a data set change notification is received and only if the last item is 3065 already visible on screen. --> 3066 <enum name="normal" value="1" /> 3067 <!-- The list will automatically scroll to the bottom, no matter what items 3068 are currently visible. --> 3069 <enum name="alwaysScroll" value="2" /> 3070 </attr> 3071 <!-- Indicates that this list will always be drawn on top of solid, single-color 3072 opaque background. This allows the list to optimize drawing. --> 3073 <attr name="cacheColorHint" format="color" /> 3074 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3075 the list. --> 3076 <attr name="fastScrollEnabled" format="boolean" /> 3077 <!-- Specifies the style of the fast scroll decorations. --> 3078 <attr name="fastScrollStyle" format="reference" /> 3079 <!-- When set to true, the list will use a more refined calculation 3080 method based on the pixels height of the items visible on screen. This 3081 property is set to true by default but should be set to false if your adapter 3082 will display items of varying heights. When this property is set to true and 3083 your adapter displays items of varying heights, the scrollbar thumb will 3084 change size as the user scrolls through the list. When set to fale, the list 3085 will use only the number of items in the adapter and the number of items visible 3086 on screen to determine the scrollbar's properties. --> 3087 <attr name="smoothScrollbar" format="boolean" /> 3088 <!-- Defines the choice behavior for the view. By default, lists do not have 3089 any choice behavior. By setting the choiceMode to singleChoice, the list 3090 allows up to one item to be in a chosen state. By setting the choiceMode to 3091 multipleChoice, the list allows any number of items to be chosen. 3092 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3093 any number of items to be chosen in a special selection mode. 3094 The application will supply a 3095 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3096 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3097 selection mode. This uses the {@link android.view.ActionMode} API. --> 3098 <attr name="choiceMode"> 3099 <!-- Normal list that does not indicate choices. --> 3100 <enum name="none" value="0" /> 3101 <!-- The list allows up to one choice. --> 3102 <enum name="singleChoice" value="1" /> 3103 <!-- The list allows multiple choices. --> 3104 <enum name="multipleChoice" value="2" /> 3105 <!-- The list allows multiple choices in a custom selection mode. --> 3106 <enum name="multipleChoiceModal" value="3" /> 3107 </attr> 3108 3109 <!-- When set to true, the list will always show the fast scroll interface. 3110 This setting implies fastScrollEnabled. --> 3111 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3112 </declare-styleable> 3113 <declare-styleable name="AbsSpinner"> 3114 <!-- Reference to an array resource that will populate the Spinner. For static content, 3115 this is simpler than populating the Spinner programmatically. --> 3116 <attr name="entries" /> 3117 </declare-styleable> 3118 <declare-styleable name="AnalogClock"> 3119 <attr name="dial" format="reference"/> 3120 <attr name="hand_hour" format="reference"/> 3121 <attr name="hand_minute" format="reference"/> 3122 </declare-styleable> 3123 <declare-styleable name="Button"> 3124 </declare-styleable> 3125 <declare-styleable name="Chronometer"> 3126 <!-- Format string: if specified, the Chronometer will display this 3127 string, with the first "%s" replaced by the current timer value 3128 in "MM:SS" or "H:MM:SS" form. 3129 If no format string is specified, the Chronometer will simply display 3130 "MM:SS" or "H:MM:SS". --> 3131 <attr name="format" format="string" localization="suggested" /> 3132 </declare-styleable> 3133 <declare-styleable name="CompoundButton"> 3134 <!-- Indicates the initial checked state of this button. --> 3135 <attr name="checked" format="boolean" /> 3136 <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). --> 3137 <attr name="button" format="reference" /> 3138 <!-- Tint to apply to the button graphic. --> 3139 <attr name="buttonTint" format="color" /> 3140 <!-- Blending mode used to apply the button graphic tint. --> 3141 <attr name="buttonTintMode"> 3142 <!-- The tint is drawn on top of the drawable. 3143 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3144 <enum name="src_over" value="3" /> 3145 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3146 color channels are thrown out. [Sa * Da, Sc * Da] --> 3147 <enum name="src_in" value="5" /> 3148 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3149 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3150 <enum name="src_atop" value="9" /> 3151 <!-- Multiplies the color and alpha channels of the drawable with those of 3152 the tint. [Sa * Da, Sc * Dc] --> 3153 <enum name="multiply" value="14" /> 3154 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3155 <enum name="screen" value="15" /> 3156 <!-- Combines the tint and drawable color and alpha channels, clamping the 3157 result to valid color values. Saturate(S + D) --> 3158 <enum name="add" value="16" /> 3159 </attr> 3160 </declare-styleable> 3161 <declare-styleable name="CheckedTextView"> 3162 <!-- Indicates the initial checked state of this text. --> 3163 <attr name="checked" /> 3164 <!-- Drawable used for the check mark graphic. --> 3165 <attr name="checkMark" format="reference"/> 3166 <!-- Tint to apply to the check mark. --> 3167 <attr name="checkMarkTint" format="color" /> 3168 <!-- Blending mode used to apply the check mark tint. --> 3169 <attr name="checkMarkTintMode"> 3170 <!-- The tint is drawn on top of the drawable. 3171 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3172 <enum name="src_over" value="3" /> 3173 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3174 color channels are thrown out. [Sa * Da, Sc * Da] --> 3175 <enum name="src_in" value="5" /> 3176 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3177 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3178 <enum name="src_atop" value="9" /> 3179 <!-- Multiplies the color and alpha channels of the drawable with those of 3180 the tint. [Sa * Da, Sc * Dc] --> 3181 <enum name="multiply" value="14" /> 3182 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3183 <enum name="screen" value="15" /> 3184 <!-- Combines the tint and drawable color and alpha channels, clamping the 3185 result to valid color values. Saturate(S + D) --> 3186 <enum name="add" value="16" /> 3187 </attr> 3188 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3189 <attr name="checkMarkGravity"> 3190 <!-- Push object to the left of its container, not changing its size. --> 3191 <flag name="left" value="0x03" /> 3192 <!-- Push object to the right of its container, not changing its size. --> 3193 <flag name="right" value="0x05" /> 3194 <!-- Push object to the beginning of its container, not changing its size. --> 3195 <flag name="start" value="0x00800003" /> 3196 <!-- Push object to the end of its container, not changing its size. --> 3197 <flag name="end" value="0x00800005" /> 3198 </attr> 3199 </declare-styleable> 3200 <declare-styleable name="EditText"> 3201 </declare-styleable> 3202 <declare-styleable name="FastScroll"> 3203 <!-- Drawable used for the scroll bar thumb. --> 3204 <attr name="thumbDrawable" format="reference" /> 3205 <!-- Minimum width of the thumb. --> 3206 <attr name="thumbMinWidth" format="dimension" /> 3207 <!-- Minimum height of the thumb. --> 3208 <attr name="thumbMinHeight" format="dimension" /> 3209 <!-- Drawable used for the scroll bar track. --> 3210 <attr name="trackDrawable" format="reference" /> 3211 <!-- Drawable used for the section header preview when right-aligned. --> 3212 <attr name="backgroundRight" format="reference" /> 3213 <!-- Drawable used for the section header preview when left-aligned. --> 3214 <attr name="backgroundLeft" format="reference" /> 3215 <!-- Position of section header preview. --> 3216 <attr name="position"> 3217 <!-- Floating at the top of the content. --> 3218 <enum name="floating" value="0" /> 3219 <!-- Pinned alongside the thumb. --> 3220 <enum name="atThumb" value="1" /> 3221 <!-- Pinned above the thumb. --> 3222 <enum name="aboveThumb" value="2" /> 3223 </attr> 3224 <attr name="textAppearance" /> 3225 <attr name="textColor" /> 3226 <attr name="textSize" /> 3227 <!-- Minimum width of the section header preview. --> 3228 <attr name="minWidth" /> 3229 <!-- Minimum height of the section header preview. --> 3230 <attr name="minHeight" /> 3231 <!-- Padding for the section header preview. --> 3232 <attr name="padding" /> 3233 </declare-styleable> 3234 <declare-styleable name="FrameLayout"> 3235 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 3236 The foreground drawable participates in the padding of the content if the gravity 3237 is set to fill. --> 3238 <attr name="foreground" format="reference|color" /> 3239 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 3240 to fill. --> 3241 <attr name="foregroundGravity"> 3242 <!-- Push object to the top of its container, not changing its size. --> 3243 <flag name="top" value="0x30" /> 3244 <!-- Push object to the bottom of its container, not changing its size. --> 3245 <flag name="bottom" value="0x50" /> 3246 <!-- Push object to the left of its container, not changing its size. --> 3247 <flag name="left" value="0x03" /> 3248 <!-- Push object to the right of its container, not changing its size. --> 3249 <flag name="right" value="0x05" /> 3250 <!-- Place object in the vertical center of its container, not changing its size. --> 3251 <flag name="center_vertical" value="0x10" /> 3252 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 3253 <flag name="fill_vertical" value="0x70" /> 3254 <!-- Place object in the horizontal center of its container, not changing its size. --> 3255 <flag name="center_horizontal" value="0x01" /> 3256 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 3257 <flag name="fill_horizontal" value="0x07" /> 3258 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 3259 <flag name="center" value="0x11" /> 3260 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 3261 <flag name="fill" value="0x77" /> 3262 <!-- Additional option that can be set to have the top and/or bottom edges of 3263 the child clipped to its container's bounds. 3264 The clip will be based on the vertical gravity: a top gravity will clip the bottom 3265 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 3266 <flag name="clip_vertical" value="0x80" /> 3267 <!-- Additional option that can be set to have the left and/or right edges of 3268 the child clipped to its container's bounds. 3269 The clip will be based on the horizontal gravity: a left gravity will clip the right 3270 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 3271 <flag name="clip_horizontal" value="0x08" /> 3272 </attr> 3273 <!-- Defines whether the foreground drawable should be drawn inside the padding. 3274 This property is turned on by default. --> 3275 <attr name="foregroundInsidePadding" format="boolean" /> 3276 <!-- Determines whether to measure all children or just those in 3277 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3278 <attr name="measureAllChildren" format="boolean" /> 3279 <!-- Tint to apply to the foreground. --> 3280 <attr name="foregroundTint" format="color" /> 3281 <!-- Blending mode used to apply the foreground tint. --> 3282 <attr name="foregroundTintMode"> 3283 <!-- The tint is drawn on top of the drawable. 3284 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3285 <enum name="src_over" value="3" /> 3286 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3287 color channels are thrown out. [Sa * Da, Sc * Da] --> 3288 <enum name="src_in" value="5" /> 3289 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3290 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3291 <enum name="src_atop" value="9" /> 3292 <!-- Multiplies the color and alpha channels of the drawable with those of 3293 the tint. [Sa * Da, Sc * Dc] --> 3294 <enum name="multiply" value="14" /> 3295 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3296 <enum name="screen" value="15" /> 3297 <!-- Combines the tint and drawable color and alpha channels, clamping the 3298 result to valid color values. Saturate(S + D) --> 3299 <enum name="add" value="16" /> 3300 </attr> 3301 </declare-styleable> 3302 <declare-styleable name="ExpandableListView"> 3303 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3304 <attr name="groupIndicator" format="reference" /> 3305 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3306 <attr name="childIndicator" format="reference" /> 3307 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3308 use childIndicatorLeft. --> 3309 <attr name="indicatorLeft" format="dimension" /> 3310 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3311 use childIndicatorRight. --> 3312 <attr name="indicatorRight" format="dimension" /> 3313 <!-- The left bound for a child's indicator. --> 3314 <attr name="childIndicatorLeft" format="dimension" /> 3315 <!-- The right bound for a child's indicator. --> 3316 <attr name="childIndicatorRight" format="dimension" /> 3317 <!-- Drawable or color that is used as a divider for children. (It will drawn 3318 below and above child items.) The height of this will be the same as 3319 the height of the normal list item divider. --> 3320 <attr name="childDivider" format="reference|color" /> 3321 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3322 use childIndicatorStart. --> 3323 <attr name="indicatorStart" format="dimension" /> 3324 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3325 use childIndicatorEnd. --> 3326 <attr name="indicatorEnd" format="dimension" /> 3327 <!-- The start bound for a child's indicator. --> 3328 <attr name="childIndicatorStart" format="dimension" /> 3329 <!-- The end bound for a child's indicator. --> 3330 <attr name="childIndicatorEnd" format="dimension" /> 3331 </declare-styleable> 3332 <declare-styleable name="Gallery"> 3333 <attr name="gravity" /> 3334 <!-- Sets how long a transition animation should run (in milliseconds) 3335 when layout has changed. Only relevant if animation is turned on. --> 3336 <attr name="animationDuration" format="integer" min="0" /> 3337 <attr name="spacing" format="dimension" /> 3338 <!-- Sets the alpha on the items that are not selected. --> 3339 <attr name="unselectedAlpha" format="float" /> 3340 </declare-styleable> 3341 <declare-styleable name="GridView"> 3342 <!-- Defines the default horizontal spacing between columns. --> 3343 <attr name="horizontalSpacing" format="dimension" /> 3344 <!-- Defines the default vertical spacing between rows. --> 3345 <attr name="verticalSpacing" format="dimension" /> 3346 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3347 <attr name="stretchMode"> 3348 <!-- Stretching is disabled. --> 3349 <enum name="none" value="0"/> 3350 <!-- The spacing between each column is stretched. --> 3351 <enum name="spacingWidth" value="1" /> 3352 <!-- Each column is stretched equally. --> 3353 <enum name="columnWidth" value="2" /> 3354 <!-- The spacing between each column is uniformly stretched.. --> 3355 <enum name="spacingWidthUniform" value="3" /> 3356 </attr> 3357 <!-- Specifies the fixed width for each column. --> 3358 <attr name="columnWidth" format="dimension" /> 3359 <!-- Defines how many columns to show. --> 3360 <attr name="numColumns" format="integer" min="0"> 3361 <!-- Display as many columns as possible to fill the available space. --> 3362 <enum name="auto_fit" value="-1" /> 3363 </attr> 3364 <!-- Specifies the gravity within each cell. --> 3365 <attr name="gravity" /> 3366 </declare-styleable> 3367 <declare-styleable name="ImageSwitcher"> 3368 </declare-styleable> 3369 <declare-styleable name="ImageView"> 3370 <!-- Sets a drawable as the content of this ImageView. --> 3371 <attr name="src" format="reference|color" /> 3372 <!-- Controls how the image should be resized or moved to match the size 3373 of this ImageView. --> 3374 <attr name="scaleType"> 3375 <enum name="matrix" value="0" /> 3376 <enum name="fitXY" value="1" /> 3377 <enum name="fitStart" value="2" /> 3378 <enum name="fitCenter" value="3" /> 3379 <enum name="fitEnd" value="4" /> 3380 <enum name="center" value="5" /> 3381 <enum name="centerCrop" value="6" /> 3382 <enum name="centerInside" value="7" /> 3383 </attr> 3384 <!-- Set this to true if you want the ImageView to adjust its bounds 3385 to preserve the aspect ratio of its drawable. --> 3386 <attr name="adjustViewBounds" format="boolean" /> 3387 <!-- An optional argument to supply a maximum width for this view. 3388 See {see android.widget.ImageView#setMaxWidth} for details. --> 3389 <attr name="maxWidth" format="dimension" /> 3390 <!-- An optional argument to supply a maximum height for this view. 3391 See {see android.widget.ImageView#setMaxHeight} for details. --> 3392 <attr name="maxHeight" format="dimension" /> 3393 <!-- Set a tinting color for the image. --> 3394 <attr name="tint" format="color" /> 3395 <!-- If true, the image view will be baseline aligned with based on its 3396 bottom edge. --> 3397 <attr name="baselineAlignBottom" format="boolean" /> 3398 <!-- If true, the image will be cropped to fit within its padding. --> 3399 <attr name="cropToPadding" format="boolean" /> 3400 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 3401 for details --> 3402 <attr name="baseline" format="dimension" /> 3403 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 3404 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 3405 <attr name="drawableAlpha" format="integer" /> 3406 <!-- Tint to apply to the image. --> 3407 <attr name="tint" /> 3408 <!-- Blending mode used to apply the image tint. --> 3409 <attr name="tintMode" /> 3410 </declare-styleable> 3411 <declare-styleable name="ToggleButton"> 3412 <!-- The text for the button when it is checked. --> 3413 <attr name="textOn" format="string" /> 3414 <!-- The text for the button when it is not checked. --> 3415 <attr name="textOff" format="string" /> 3416 <!-- The alpha to apply to the indicator when disabled. --> 3417 <attr name="disabledAlpha" /> 3418 </declare-styleable> 3419 <declare-styleable name="RelativeLayout"> 3420 <attr name="gravity" /> 3421 <!-- Indicates what view should not be affected by gravity. --> 3422 <attr name="ignoreGravity" format="reference" /> 3423 </declare-styleable> 3424 <declare-styleable name="LinearLayout"> 3425 <!-- Should the layout be a column or a row? Use "horizontal" 3426 for a row, "vertical" for a column. The default is 3427 horizontal. --> 3428 <attr name="orientation" /> 3429 <attr name="gravity" /> 3430 <!-- When set to false, prevents the layout from aligning its children's 3431 baselines. This attribute is particularly useful when the children 3432 use different values for gravity. The default value is true. --> 3433 <attr name="baselineAligned" format="boolean" /> 3434 <!-- When a linear layout is part of another layout that is baseline 3435 aligned, it can specify which of its children to baseline align to 3436 (that is, which child TextView).--> 3437 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 3438 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 3439 by adding the layout_weight of all of the children. This can be 3440 used for instance to give a single child 50% of the total available 3441 space by giving it a layout_weight of 0.5 and setting the weightSum 3442 to 1.0. --> 3443 <attr name="weightSum" format="float" /> 3444 <!-- When set to true, all children with a weight will be considered having 3445 the minimum size of the largest child. If false, all children are 3446 measured normally. --> 3447 <attr name="measureWithLargestChild" format="boolean" /> 3448 <!-- Drawable to use as a vertical divider between buttons. --> 3449 <attr name="divider" /> 3450 <!-- Setting for which dividers to show. --> 3451 <attr name="showDividers"> 3452 <flag name="none" value="0" /> 3453 <flag name="beginning" value="1" /> 3454 <flag name="middle" value="2" /> 3455 <flag name="end" value="4" /> 3456 </attr> 3457 <!-- Size of padding on either end of a divider. --> 3458 <attr name="dividerPadding" format="dimension" /> 3459 </declare-styleable> 3460 <declare-styleable name="GridLayout"> 3461 <!-- The orientation property is not used during layout. It is only used to 3462 allocate row and column parameters when they are not specified by its children's 3463 layout paramters. GridLayout works like LinearLayout in this case; 3464 putting all the components either in a single row or in a single column - 3465 depending on the value of this flag. In the horizontal case, a columnCount 3466 property may be additionally supplied to force new rows to be created when a 3467 row is full. The rowCount attribute may be used similarly in the vertical case. 3468 The default is horizontal. --> 3469 <attr name="orientation" /> 3470 <!-- The maxmimum number of rows to create when automatically positioning children. --> 3471 <attr name="rowCount" format="integer" /> 3472 <!-- The maxmimum number of columns to create when automatically positioning children. --> 3473 <attr name="columnCount" format="integer" /> 3474 <!-- When set to true, tells GridLayout to use default margins when none are specified 3475 in a view's layout parameters. 3476 The default value is false. 3477 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 3478 <attr name="useDefaultMargins" format="boolean" /> 3479 <!-- When set to alignMargins, causes alignment to take place between the outer 3480 boundary of a view, as defined by its margins. When set to alignBounds, 3481 causes alignment to take place between the edges of the view. 3482 The default is alignMargins. 3483 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 3484 <attr name="alignmentMode" /> 3485 <!-- When set to true, forces row boundaries to appear in the same order 3486 as row indices. 3487 The default is true. 3488 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 3489 <attr name="rowOrderPreserved" format="boolean" /> 3490 <!-- When set to true, forces column boundaries to appear in the same order 3491 as column indices. 3492 The default is true. 3493 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 3494 <attr name="columnOrderPreserved" format="boolean" /> 3495 </declare-styleable> 3496 <declare-styleable name="ListView"> 3497 <!-- Reference to an array resource that will populate the ListView. For static content, 3498 this is simpler than populating the ListView programmatically. --> 3499 <attr name="entries" /> 3500 <!-- Drawable or color to draw between list items. --> 3501 <attr name="divider" format="reference|color" /> 3502 <!-- Height of the divider. Will use the intrinsic height of the divider if this 3503 is not specified. --> 3504 <attr name="dividerHeight" format="dimension" /> 3505 <!-- When set to false, the ListView will not draw the divider after each header view. 3506 The default value is true. --> 3507 <attr name="headerDividersEnabled" format="boolean" /> 3508 <!-- When set to false, the ListView will not draw the divider before each footer view. 3509 The default value is true. --> 3510 <attr name="footerDividersEnabled" format="boolean" /> 3511 <!-- Drawable to draw above list content. --> 3512 <attr name="overScrollHeader" format="reference|color" /> 3513 <!-- Drawable to draw below list content. --> 3514 <attr name="overScrollFooter" format="reference|color" /> 3515 </declare-styleable> 3516 <declare-styleable name="PreferenceFrameLayout"> 3517 <!-- Padding to use at the top of the prefs content. --> 3518 <attr name="borderTop" format="dimension" /> 3519 <!-- Padding to use at the bottom of the prefs content. --> 3520 <attr name="borderBottom" format="dimension" /> 3521 <!-- Padding to use at the left of the prefs content. --> 3522 <attr name="borderLeft" format="dimension" /> 3523 <!-- Padding to use at the right of the prefs content. --> 3524 <attr name="borderRight" format="dimension" /> 3525 </declare-styleable> 3526 <declare-styleable name="PreferenceFrameLayout_Layout"> 3527 <!-- Padding to use at the top of the prefs content. --> 3528 <attr name="layout_removeBorders" format="boolean" /> 3529 </declare-styleable> 3530 <declare-styleable name="MenuView"> 3531 <!-- Default appearance of menu item text. --> 3532 <attr name="itemTextAppearance" format="reference" /> 3533 <!-- Default horizontal divider between rows of menu items. --> 3534 <attr name="horizontalDivider" format="reference" /> 3535 <!-- Default vertical divider between menu items. --> 3536 <attr name="verticalDivider" format="reference" /> 3537 <!-- Default background for the menu header. --> 3538 <attr name="headerBackground" format="color|reference" /> 3539 <!-- Default background for each menu item. --> 3540 <attr name="itemBackground" format="color|reference" /> 3541 <!-- Default animations for the menu. --> 3542 <attr name="windowAnimationStyle" /> 3543 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 3544 <attr name="itemIconDisabledAlpha" format="float" /> 3545 <!-- Whether space should be reserved in layout when an icon is missing. --> 3546 <attr name="preserveIconSpacing" format="boolean" /> 3547 </declare-styleable> 3548 <declare-styleable name="IconMenuView"> 3549 <!-- Defines the height of each row. --> 3550 <attr name="rowHeight" format="dimension" /> 3551 <!-- Defines the maximum number of rows displayed. --> 3552 <attr name="maxRows" format="integer" /> 3553 <!-- Defines the maximum number of items per row. --> 3554 <attr name="maxItemsPerRow" format="integer" /> 3555 <!-- Defines the maximum number of items to show. --> 3556 <attr name="maxItems" format="integer" /> 3557 <!-- 'More' icon. --> 3558 <attr name="moreIcon" format="reference" /> 3559 </declare-styleable> 3560 3561 <declare-styleable name="ProgressBar"> 3562 <!-- Defines the maximum value the progress can take. --> 3563 <attr name="max" format="integer" /> 3564 <!-- Defines the default progress value, between 0 and max. --> 3565 <attr name="progress" format="integer" /> 3566 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 3567 the primary progress and the background. It can be ideal for media scenarios such as 3568 showing the buffering progress while the default progress shows the play progress. --> 3569 <attr name="secondaryProgress" format="integer" /> 3570 <!-- Allows to enable the indeterminate mode. In this mode the progress 3571 bar plays an infinite looping animation. --> 3572 <attr name="indeterminate" format="boolean" /> 3573 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 3574 <attr name="indeterminateOnly" format="boolean" /> 3575 <!-- Drawable used for the indeterminate mode. --> 3576 <attr name="indeterminateDrawable" format="reference" /> 3577 <!-- Drawable used for the progress mode. --> 3578 <attr name="progressDrawable" format="reference" /> 3579 <!-- Duration of the indeterminate animation. --> 3580 <attr name="indeterminateDuration" format="integer" min="1" /> 3581 <!-- Defines how the indeterminate mode should behave when the progress 3582 reaches max. --> 3583 <attr name="indeterminateBehavior"> 3584 <!-- Progress starts over from 0. --> 3585 <enum name="repeat" value="1" /> 3586 <!-- Progress keeps the current value and goes back to 0. --> 3587 <enum name="cycle" value="2" /> 3588 </attr> 3589 <attr name="minWidth" format="dimension" /> 3590 <attr name="maxWidth" /> 3591 <attr name="minHeight" format="dimension" /> 3592 <attr name="maxHeight" /> 3593 <attr name="interpolator" format="reference" /> 3594 <!-- Timeout between frames of animation in milliseconds 3595 {@deprecated Not used by the framework.} --> 3596 <attr name="animationResolution" format="integer" /> 3597 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 3598 Default is false --> 3599 <attr name="mirrorForRtl" format="boolean" /> 3600 <!-- Tint to apply to the progress indicator. --> 3601 <attr name="progressTint" format="color" /> 3602 <!-- Blending mode used to apply the progress indicator tint. --> 3603 <attr name="progressTintMode"> 3604 <!-- The tint is drawn on top of the drawable. 3605 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3606 <enum name="src_over" value="3" /> 3607 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3608 color channels are thrown out. [Sa * Da, Sc * Da] --> 3609 <enum name="src_in" value="5" /> 3610 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3611 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3612 <enum name="src_atop" value="9" /> 3613 <!-- Multiplies the color and alpha channels of the drawable with those of 3614 the tint. [Sa * Da, Sc * Dc] --> 3615 <enum name="multiply" value="14" /> 3616 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3617 <enum name="screen" value="15" /> 3618 <!-- Combines the tint and drawable color and alpha channels, clamping the 3619 result to valid color values. Saturate(S + D) --> 3620 <enum name="add" value="16" /> 3621 </attr> 3622 <!-- Tint to apply to the progress indicator background. --> 3623 <attr name="progressBackgroundTint" format="color" /> 3624 <!-- Blending mode used to apply the progress indicator background tint. --> 3625 <attr name="progressBackgroundTintMode"> 3626 <!-- The tint is drawn on top of the drawable. 3627 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3628 <enum name="src_over" value="3" /> 3629 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3630 color channels are thrown out. [Sa * Da, Sc * Da] --> 3631 <enum name="src_in" value="5" /> 3632 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3633 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3634 <enum name="src_atop" value="9" /> 3635 <!-- Multiplies the color and alpha channels of the drawable with those of 3636 the tint. [Sa * Da, Sc * Dc] --> 3637 <enum name="multiply" value="14" /> 3638 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3639 <enum name="screen" value="15" /> 3640 <!-- Combines the tint and drawable color and alpha channels, clamping the 3641 result to valid color values. Saturate(S + D) --> 3642 <enum name="add" value="16" /> 3643 </attr> 3644 <!-- Tint to apply to the secondary progress indicator. --> 3645 <attr name="secondaryProgressTint" format="color" /> 3646 <!-- Blending mode used to apply the secondary progress indicator tint. --> 3647 <attr name="secondaryProgressTintMode"> 3648 <!-- The tint is drawn on top of the drawable. 3649 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3650 <enum name="src_over" value="3" /> 3651 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3652 color channels are thrown out. [Sa * Da, Sc * Da] --> 3653 <enum name="src_in" value="5" /> 3654 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3655 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3656 <enum name="src_atop" value="9" /> 3657 <!-- Multiplies the color and alpha channels of the drawable with those of 3658 the tint. [Sa * Da, Sc * Dc] --> 3659 <enum name="multiply" value="14" /> 3660 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3661 <enum name="screen" value="15" /> 3662 <!-- Combines the tint and drawable color and alpha channels, clamping the 3663 result to valid color values. Saturate(S + D) --> 3664 <enum name="add" value="16" /> 3665 </attr> 3666 <!-- Tint to apply to the indeterminate progress indicator. --> 3667 <attr name="indeterminateTint" format="color" /> 3668 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 3669 <attr name="indeterminateTintMode"> 3670 <!-- The tint is drawn on top of the drawable. 3671 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3672 <enum name="src_over" value="3" /> 3673 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3674 color channels are thrown out. [Sa * Da, Sc * Da] --> 3675 <enum name="src_in" value="5" /> 3676 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3677 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3678 <enum name="src_atop" value="9" /> 3679 <!-- Multiplies the color and alpha channels of the drawable with those of 3680 the tint. [Sa * Da, Sc * Dc] --> 3681 <enum name="multiply" value="14" /> 3682 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3683 <enum name="screen" value="15" /> 3684 <!-- Combines the tint and drawable color and alpha channels, clamping the 3685 result to valid color values. Saturate(S + D) --> 3686 <enum name="add" value="16" /> 3687 </attr> 3688 <!-- Tint to apply to the background. --> 3689 <attr name="backgroundTint" /> 3690 <!-- Blending mode used to apply the background tint. --> 3691 <attr name="backgroundTintMode" /> 3692 </declare-styleable> 3693 3694 <declare-styleable name="SeekBar"> 3695 <!-- Draws the thumb on a seekbar. --> 3696 <attr name="thumb" format="reference" /> 3697 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 3698 <attr name="thumbOffset" format="dimension" /> 3699 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 3700 <attr name="splitTrack" format="boolean" /> 3701 <!-- Tint to apply to the button graphic. --> 3702 <attr name="thumbTint" format="color" /> 3703 <!-- Blending mode used to apply the button graphic tint. --> 3704 <attr name="thumbTintMode"> 3705 <!-- The tint is drawn on top of the drawable. 3706 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3707 <enum name="src_over" value="3" /> 3708 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3709 color channels are thrown out. [Sa * Da, Sc * Da] --> 3710 <enum name="src_in" value="5" /> 3711 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3712 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3713 <enum name="src_atop" value="9" /> 3714 <!-- Multiplies the color and alpha channels of the drawable with those of 3715 the tint. [Sa * Da, Sc * Dc] --> 3716 <enum name="multiply" value="14" /> 3717 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3718 <enum name="screen" value="15" /> 3719 <!-- Combines the tint and drawable color and alpha channels, clamping the 3720 result to valid color values. Saturate(S + D) --> 3721 <enum name="add" value="16" /> 3722 </attr> 3723 </declare-styleable> 3724 3725 <declare-styleable name="StackView"> 3726 <!-- Color of the res-out outline. --> 3727 <attr name="resOutColor" format="color" /> 3728 <!-- Color of the outline of click feedback. --> 3729 <attr name="clickColor" format="color" /> 3730 </declare-styleable> 3731 3732 <declare-styleable name="RatingBar"> 3733 <!-- The number of stars (or rating items) to show. --> 3734 <attr name="numStars" format="integer" /> 3735 <!-- The rating to set by default. --> 3736 <attr name="rating" format="float" /> 3737 <!-- The step size of the rating. --> 3738 <attr name="stepSize" format="float" /> 3739 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 3740 <attr name="isIndicator" format="boolean" /> 3741 </declare-styleable> 3742 3743 <declare-styleable name="RadioGroup"> 3744 <!-- The id of the child radio button that should be checked by default 3745 within this radio group. --> 3746 <attr name="checkedButton" format="integer" /> 3747 <!-- Should the radio group be a column or a row? Use "horizontal" 3748 for a row, "vertical" for a column. The default is 3749 vertical. --> 3750 <attr name="orientation" /> 3751 </declare-styleable> 3752 <declare-styleable name="TableLayout"> 3753 <!-- The zero-based index of the columns to stretch. The column indices 3754 must be separated by a comma: 1, 2, 5. Illegal and duplicate 3755 indices are ignored. You can stretch all columns by using the 3756 value "*" instead. Note that a column can be marked stretchable 3757 and shrinkable at the same time. --> 3758 <attr name="stretchColumns" format="string" /> 3759 <!-- The zero-based index of the columns to shrink. The column indices 3760 must be separated by a comma: 1, 2, 5. Illegal and duplicate 3761 indices are ignored. You can shrink all columns by using the 3762 value "*" instead. Note that a column can be marked stretchable 3763 and shrinkable at the same time. --> 3764 <attr name="shrinkColumns" format="string" /> 3765 <!-- The zero-based index of the columns to collapse. The column indices 3766 must be separated by a comma: 1, 2, 5. Illegal and duplicate 3767 indices are ignored. --> 3768 <attr name="collapseColumns" format="string" /> 3769 </declare-styleable> 3770 <declare-styleable name="TableRow"> 3771 3772 </declare-styleable> 3773 <declare-styleable name="TableRow_Cell"> 3774 <!-- The index of the column in which this child should be. --> 3775 <attr name="layout_column" format="integer" /> 3776 <!-- Defines how many columns this child should span. Must be >= 1.--> 3777 <attr name="layout_span" format="integer" /> 3778 </declare-styleable> 3779 <declare-styleable name="TabWidget"> 3780 <!-- Drawable used to draw the divider between tabs. --> 3781 <attr name="divider" /> 3782 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 3783 <attr name="tabStripEnabled" format="boolean" /> 3784 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 3785 <attr name="tabStripLeft" format="reference" /> 3786 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 3787 <attr name="tabStripRight" format="reference" /> 3788 <!-- Layout used to organize each tab's content. --> 3789 <attr name="tabLayout" format="reference" /> 3790 </declare-styleable> 3791 <declare-styleable name="TextAppearance"> 3792 <!-- Text color. --> 3793 <attr name="textColor" /> 3794 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 3795 <attr name="textSize" /> 3796 <!-- Style (bold, italic, bolditalic) for the text. --> 3797 <attr name="textStyle" /> 3798 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 3799 <attr name="typeface" /> 3800 <!-- Font family (named by string) for the text. --> 3801 <attr name="fontFamily" /> 3802 <!-- Color of the text selection highlight. --> 3803 <attr name="textColorHighlight" /> 3804 <!-- Color of the hint text. --> 3805 <attr name="textColorHint" /> 3806 <!-- Color of the links. --> 3807 <attr name="textColorLink" /> 3808 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 3809 <attr name="textAllCaps" format="boolean" /> 3810 <!-- Place a shadow of the specified color behind the text. --> 3811 <attr name="shadowColor" format="color" /> 3812 <!-- Horizontal offset of the shadow. --> 3813 <attr name="shadowDx" format="float" /> 3814 <!-- Vertical offset of the shadow. --> 3815 <attr name="shadowDy" format="float" /> 3816 <!-- Radius of the shadow. --> 3817 <attr name="shadowRadius" format="float" /> 3818 <!-- Elegant text height, especially for less compacted complex script text. --> 3819 <attr name="elegantTextHeight" format="boolean" /> 3820 <!-- Text letter-spacing. --> 3821 <attr name="letterSpacing" format="float" /> 3822 <!-- Font feature settings. --> 3823 <attr name="fontFeatureSettings" format="string" /> 3824 </declare-styleable> 3825 <declare-styleable name="TextClock"> 3826 <!-- Specifies the formatting pattern used to show the time and/or date 3827 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 3828 for a complete description of accepted formatting patterns. 3829 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 3830 <attr name="format12Hour" format="string"/> 3831 <!-- Specifies the formatting pattern used to show the time and/or date 3832 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 3833 for a complete description of accepted formatting patterns. 3834 The default pattern is a locale-appropriate equivalent of "H:mm". --> 3835 <attr name="format24Hour" format="string"/> 3836 <!-- Specifies the time zone to use. When this attribute is specified, the 3837 TextClock will ignore the time zone of the system. To use the user's 3838 time zone, do not specify this attribute. The default value is the 3839 user's time zone. Please refer to {@link java.util.TimeZone} for more 3840 information about time zone ids. --> 3841 <attr name="timeZone" format="string"/> 3842 </declare-styleable> 3843 <declare-styleable name="TextSwitcher"> 3844 </declare-styleable> 3845 <declare-styleable name="TextView"> 3846 <!-- Determines the minimum type that getText() will return. 3847 The default is "normal". 3848 Note that EditText and LogTextBox always return Editable, 3849 even if you specify something less powerful here. --> 3850 <attr name="bufferType"> 3851 <!-- Can return any CharSequence, possibly a 3852 Spanned one if the source text was Spanned. --> 3853 <enum name="normal" value="0" /> 3854 <!-- Can only return Spannable. --> 3855 <enum name="spannable" value="1" /> 3856 <!-- Can only return Spannable and Editable. --> 3857 <enum name="editable" value="2" /> 3858 </attr> 3859 <!-- Text to display. --> 3860 <attr name="text" format="string" localization="suggested" /> 3861 <!-- Hint text to display when the text is empty. --> 3862 <attr name="hint" format="string" /> 3863 <!-- Text color. --> 3864 <attr name="textColor" /> 3865 <!-- Color of the text selection highlight. --> 3866 <attr name="textColorHighlight" /> 3867 <!-- Color of the hint text. --> 3868 <attr name="textColorHint" /> 3869 <!-- Base text color, typeface, size, and style. --> 3870 <attr name="textAppearance" /> 3871 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 3872 <attr name="textSize" /> 3873 <!-- Sets the horizontal scaling factor for the text. --> 3874 <attr name="textScaleX" format="float" /> 3875 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 3876 <attr name="typeface" /> 3877 <!-- Style (bold, italic, bolditalic) for the text. --> 3878 <attr name="textStyle" /> 3879 <!-- Font family (named by string) for the text. --> 3880 <attr name="fontFamily" /> 3881 <!-- Text color for links. --> 3882 <attr name="textColorLink" /> 3883 <!-- Makes the cursor visible (the default) or invisible. --> 3884 <attr name="cursorVisible" format="boolean" /> 3885 <!-- Makes the TextView be at most this many lines tall. 3886 3887 When used on an editable text, the <code>inputType</code> attribute's value must be 3888 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 3889 <attr name="maxLines" format="integer" min="0" /> 3890 <!-- Makes the TextView be at most this many pixels tall. --> 3891 <attr name="maxHeight" /> 3892 <!-- Makes the TextView be exactly this many lines tall. --> 3893 <attr name="lines" format="integer" min="0" /> 3894 <!-- Makes the TextView be exactly this many pixels tall. 3895 You could get the same effect by specifying this number in the 3896 layout parameters. --> 3897 <attr name="height" format="dimension" /> 3898 <!-- Makes the TextView be at least this many lines tall. 3899 3900 When used on an editable text, the <code>inputType</code> attribute's value must be 3901 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 3902 <attr name="minLines" format="integer" min="0" /> 3903 <!-- Makes the TextView be at least this many pixels tall. --> 3904 <attr name="minHeight" /> 3905 <!-- Makes the TextView be at most this many ems wide. --> 3906 <attr name="maxEms" format="integer" min="0" /> 3907 <!-- Makes the TextView be at most this many pixels wide. --> 3908 <attr name="maxWidth" /> 3909 <!-- Makes the TextView be exactly this many ems wide. --> 3910 <attr name="ems" format="integer" min="0" /> 3911 <!-- Makes the TextView be exactly this many pixels wide. 3912 You could get the same effect by specifying this number in the 3913 layout parameters. --> 3914 <attr name="width" format="dimension" /> 3915 <!-- Makes the TextView be at least this many ems wide. --> 3916 <attr name="minEms" format="integer" min="0" /> 3917 <!-- Makes the TextView be at least this many pixels wide. --> 3918 <attr name="minWidth" /> 3919 <!-- Specifies how to align the text by the view's x- and/or y-axis 3920 when the text is smaller than the view. --> 3921 <attr name="gravity" /> 3922 <!-- Whether the text is allowed to be wider than the view (and 3923 therefore can be scrolled horizontally). --> 3924 <attr name="scrollHorizontally" format="boolean" /> 3925 <!-- Whether the characters of the field are displayed as 3926 password dots instead of themselves. 3927 {@deprecated Use inputType instead.} --> 3928 <attr name="password" format="boolean" /> 3929 <!-- Constrains the text to a single horizontally scrolling line 3930 instead of letting it wrap onto multiple lines, and advances 3931 focus instead of inserting a newline when you press the 3932 enter key. 3933 3934 The default value is false (multi-line wrapped text mode) for non-editable text, but if 3935 you specify any value for inputType, the default is true (single-line input field mode). 3936 3937 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 3938 the layout of a static text, and use the <code>textMultiLine</code> flag in the 3939 inputType attribute instead for editable text views (if both singleLine and inputType 3940 are supplied, the inputType flags will override the value of singleLine). } --> 3941 <attr name="singleLine" format="boolean" /> 3942 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 3943 For example, a non-enabled EditText prevents the user from editing the contained text, and 3944 a non-enabled Button prevents the user from tapping the button. 3945 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 3946 from evaluating state_enabled differ. --> 3947 <attr name="enabled" format="boolean" /> 3948 <!-- If the text is selectable, select it all when the view takes 3949 focus. --> 3950 <attr name="selectAllOnFocus" format="boolean" /> 3951 <!-- Leave enough room for ascenders and descenders instead of 3952 using the font ascent and descent strictly. (Normally true). --> 3953 <attr name="includeFontPadding" format="boolean" /> 3954 <!-- Set an input filter to constrain the text length to the 3955 specified number. --> 3956 <attr name="maxLength" format="integer" min="0" /> 3957 <!-- Place a shadow of the specified color behind the text. --> 3958 <attr name="shadowColor" /> 3959 <!-- Horizontal offset of the shadow. --> 3960 <attr name="shadowDx" /> 3961 <!-- Vertical offset of the shadow. --> 3962 <attr name="shadowDy" /> 3963 <!-- Radius of the shadow. --> 3964 <attr name="shadowRadius" /> 3965 <attr name="autoLink" /> 3966 <!-- If set to false, keeps the movement method from being set 3967 to the link movement method even if autoLink causes links 3968 to be found. --> 3969 <attr name="linksClickable" format="boolean" /> 3970 <!-- If set, specifies that this TextView has a numeric input method. 3971 The default is false. 3972 {@deprecated Use inputType instead.} --> 3973 <attr name="numeric"> 3974 <!-- Input is numeric. --> 3975 <flag name="integer" value="0x01" /> 3976 <!-- Input is numeric, with sign allowed. --> 3977 <flag name="signed" value="0x03" /> 3978 <!-- Input is numeric, with decimals allowed. --> 3979 <flag name="decimal" value="0x05" /> 3980 </attr> 3981 <!-- If set, specifies that this TextView has a numeric input method 3982 and that these specific characters are the ones that it will 3983 accept. 3984 If this is set, numeric is implied to be true. 3985 The default is false. --> 3986 <attr name="digits" format="string" /> 3987 <!-- If set, specifies that this TextView has a phone number input 3988 method. The default is false. 3989 {@deprecated Use inputType instead.} --> 3990 <attr name="phoneNumber" format="boolean" /> 3991 <!-- If set, specifies that this TextView should use the specified 3992 input method (specified by fully-qualified class name). 3993 {@deprecated Use inputType instead.} --> 3994 <attr name="inputMethod" format="string" /> 3995 <!-- If set, specifies that this TextView has a textual input method 3996 and should automatically capitalize what the user types. 3997 The default is "none". 3998 {@deprecated Use inputType instead.} --> 3999 <attr name="capitalize"> 4000 <!-- Don't automatically capitalize anything. --> 4001 <enum name="none" value="0" /> 4002 <!-- Capitalize the first word of each sentence. --> 4003 <enum name="sentences" value="1" /> 4004 <!-- Capitalize the first letter of every word. --> 4005 <enum name="words" value="2" /> 4006 <!-- Capitalize every character. --> 4007 <enum name="characters" value="3" /> 4008 </attr> 4009 <!-- If set, specifies that this TextView has a textual input method 4010 and automatically corrects some common spelling errors. 4011 The default is "false". 4012 {@deprecated Use inputType instead.} --> 4013 <attr name="autoText" format="boolean" /> 4014 <!-- If set, specifies that this TextView has an input method. 4015 It will be a textual one unless it has otherwise been specified. 4016 For TextView, this is false by default. For EditText, it is 4017 true by default. 4018 {@deprecated Use inputType instead.} --> 4019 <attr name="editable" format="boolean" /> 4020 <!-- If set, the text view will include its current complete text 4021 inside of its frozen icicle in addition to meta-data such as 4022 the current cursor position. By default this is disabled; 4023 it can be useful when the contents of a text view is not stored 4024 in a persistent place such as a content provider. --> 4025 <attr name="freezesText" format="boolean" /> 4026 <!-- If set, causes words that are longer than the view is wide 4027 to be ellipsized instead of broken in the middle. 4028 You will often also want to set scrollHorizontally or singleLine 4029 as well so that the text as a whole is also constrained to 4030 a single line instead of still allowed to be broken onto 4031 multiple lines. --> 4032 <attr name="ellipsize" /> 4033 <!-- The drawable to be drawn above the text. --> 4034 <attr name="drawableTop" format="reference|color" /> 4035 <!-- The drawable to be drawn below the text. --> 4036 <attr name="drawableBottom" format="reference|color" /> 4037 <!-- The drawable to be drawn to the left of the text. --> 4038 <attr name="drawableLeft" format="reference|color" /> 4039 <!-- The drawable to be drawn to the right of the text. --> 4040 <attr name="drawableRight" format="reference|color" /> 4041 <!-- The drawable to be drawn to the start of the text. --> 4042 <attr name="drawableStart" format="reference|color" /> 4043 <!-- The drawable to be drawn to the end of the text. --> 4044 <attr name="drawableEnd" format="reference|color" /> 4045 <!-- The padding between the drawables and the text. --> 4046 <attr name="drawablePadding" format="dimension" /> 4047 <!-- Extra spacing between lines of text. --> 4048 <attr name="lineSpacingExtra" format="dimension" /> 4049 <!-- Extra spacing between lines of text, as a multiplier. --> 4050 <attr name="lineSpacingMultiplier" format="float" /> 4051 <!-- The number of times to repeat the marquee animation. Only applied if the 4052 TextView has marquee enabled. --> 4053 <attr name="marqueeRepeatLimit" format="integer"> 4054 <!-- Indicates that marquee should repeat indefinitely. --> 4055 <enum name="marquee_forever" value="-1" /> 4056 </attr> 4057 <attr name="inputType" /> 4058 <attr name="imeOptions" /> 4059 <!-- An addition content type description to supply to the input 4060 method attached to the text view, which is private to the 4061 implementation of the input method. This simply fills in 4062 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4063 EditorInfo.privateImeOptions} field when the input 4064 method is connected. --> 4065 <attr name="privateImeOptions" format="string" /> 4066 <!-- Supply a value for 4067 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4068 used when an input method is connected to the text view. --> 4069 <attr name="imeActionLabel" format="string" /> 4070 <!-- Supply a value for 4071 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4072 used when an input method is connected to the text view. --> 4073 <attr name="imeActionId" format="integer" /> 4074 <!-- Reference to an 4075 {@link android.R.styleable#InputExtras <input-extras>} 4076 XML resource containing additional data to 4077 supply to an input method, which is private to the implementation 4078 of the input method. This simply fills in 4079 the {@link android.view.inputmethod.EditorInfo#extras 4080 EditorInfo.extras} field when the input 4081 method is connected. --> 4082 <attr name="editorExtras" format="reference" /> 4083 4084 <!-- Reference to a drawable that will be used to display a text selection 4085 anchor on the left side of a selection region. --> 4086 <attr name="textSelectHandleLeft" /> 4087 <!-- Reference to a drawable that will be used to display a text selection 4088 anchor on the right side of a selection region. --> 4089 <attr name="textSelectHandleRight" /> 4090 <!-- Reference to a drawable that will be used to display a text selection 4091 anchor for positioning the cursor within text. --> 4092 <attr name="textSelectHandle" /> 4093 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4094 TextEdit field. --> 4095 <attr name="textEditPasteWindowLayout" /> 4096 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4097 <attr name="textEditNoPasteWindowLayout" /> 4098 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4099 insertion cursor because it would be clipped if it were positioned on top. --> 4100 <attr name="textEditSidePasteWindowLayout" /> 4101 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4102 <attr name="textEditSideNoPasteWindowLayout" /> 4103 4104 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4105 <attr name="textEditSuggestionItemLayout" /> 4106 4107 4108 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4109 <attr name="textCursorDrawable" /> 4110 4111 <!-- Indicates that the content of a non-editable text can be selected. --> 4112 <attr name="textIsSelectable" /> 4113 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4114 <attr name="textAllCaps" /> 4115 <!-- Elegant text height, especially for less compacted complex script text. --> 4116 <attr name="elegantTextHeight" /> 4117 <!-- Text letter-spacing. --> 4118 <attr name="letterSpacing" /> 4119 <!-- Font feature settings. --> 4120 <attr name="fontFeatureSettings" /> 4121 </declare-styleable> 4122 <declare-styleable name="TextViewAppearance"> 4123 <!-- Base text color, typeface, size, and style. --> 4124 <attr name="textAppearance" /> 4125 </declare-styleable> 4126 <declare-styleable name="SelectionModeDrawables"> 4127 <attr name="actionModeSelectAllDrawable" /> 4128 <attr name="actionModeCutDrawable" /> 4129 <attr name="actionModeCopyDrawable" /> 4130 <attr name="actionModePasteDrawable" /> 4131 </declare-styleable> 4132 <declare-styleable name="SuggestionSpan"> 4133 <attr name="textUnderlineColor" /> 4134 <attr name="textUnderlineThickness" /> 4135 </declare-styleable> 4136 <!-- An <code>input-extras</code> is a container for extra data to supply to 4137 an input method. Contains 4138 one more more {@link #Extra <extra>} tags. --> 4139 <declare-styleable name="InputExtras"> 4140 </declare-styleable> 4141 <declare-styleable name="AutoCompleteTextView"> 4142 <!-- Defines the hint displayed in the drop down menu. --> 4143 <attr name="completionHint" format="string" /> 4144 <!-- Defines the hint view displayed in the drop down menu. --> 4145 <attr name="completionHintView" format="reference" /> 4146 <!-- Defines the number of characters that the user must type before 4147 completion suggestions are displayed in a drop down menu. --> 4148 <attr name="completionThreshold" format="integer" min="1" /> 4149 <!-- Selector in a drop down list. --> 4150 <attr name="dropDownSelector" format="reference|color" /> 4151 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4152 <attr name="dropDownVerticalOffset" format="dimension" /> 4153 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4154 <attr name="dropDownHorizontalOffset" format="dimension" /> 4155 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4156 is used. --> 4157 <attr name="dropDownAnchor" format="reference" /> 4158 <!-- Specifies the basic width of the dropdown. Its value may 4159 be a dimension (such as "12dip") for a constant width, 4160 fill_parent or match_parent to match the width of the 4161 screen, or wrap_content to match the width of 4162 the anchored view. --> 4163 <attr name="dropDownWidth" format="dimension"> 4164 <!-- The dropdown should fill the width of the screen. 4165 This constant is deprecated starting from API Level 8 and 4166 is replaced by {@code match_parent}. --> 4167 <enum name="fill_parent" value="-1" /> 4168 <!-- The dropdown should fit the width of the screen. 4169 Introduced in API Level 8. --> 4170 <enum name="match_parent" value="-1" /> 4171 <!-- The dropdown should fit the width of its anchor. --> 4172 <enum name="wrap_content" value="-2" /> 4173 </attr> 4174 <!-- Specifies the basic height of the dropdown. Its value may 4175 be a dimension (such as "12dip") for a constant height, 4176 fill_parent or match_parent to fill the height of the 4177 screen, or wrap_content to match the height of 4178 the content of the drop down. --> 4179 <attr name="dropDownHeight" format="dimension"> 4180 <!-- The dropdown should fit the height of the screen. 4181 This constant is deprecated starting from API Level 8 and 4182 is replaced by {@code match_parent}. --> 4183 <enum name="fill_parent" value="-1" /> 4184 <!-- The dropdown should fit the height of the screen. 4185 Introduced in API Level 8. --> 4186 <enum name="match_parent" value="-1" /> 4187 <!-- The dropdown should fit the height of the content. --> 4188 <enum name="wrap_content" value="-2" /> 4189 </attr> 4190 <attr name="inputType" /> 4191 </declare-styleable> 4192 <declare-styleable name="PopupWindow"> 4193 <!-- The background to use for the popup window. --> 4194 <attr name="popupBackground" format="reference|color" /> 4195 <!-- Window elevation to use for the popup window. --> 4196 <attr name="popupElevation" format="dimension" /> 4197 <!-- The animation style to use for the popup window. --> 4198 <attr name="popupAnimationStyle" format="reference" /> 4199 <!-- Whether the popup window should overlap its anchor view. --> 4200 <attr name="overlapAnchor" format="boolean" /> 4201 </declare-styleable> 4202 <declare-styleable name="ViewAnimator"> 4203 <!-- Identifier for the animation to use when a view is shown. --> 4204 <attr name="inAnimation" format="reference" /> 4205 <!-- Identifier for the animation to use when a view is hidden. --> 4206 <attr name="outAnimation" format="reference" /> 4207 <!-- Defines whether to animate the current View when the ViewAnimation 4208 is first displayed. --> 4209 <attr name="animateFirstView" format="boolean" /> 4210 </declare-styleable> 4211 <declare-styleable name="ViewFlipper"> 4212 <attr name="flipInterval" format="integer" min="0" /> 4213 <!-- When true, automatically start animating --> 4214 <attr name="autoStart" format="boolean" /> 4215 </declare-styleable> 4216 <declare-styleable name="AdapterViewAnimator"> 4217 <!-- Identifier for the animation to use when a view is shown. --> 4218 <attr name="inAnimation" /> 4219 <!-- Identifier for the animation to use when a view is hidden. --> 4220 <attr name="outAnimation" /> 4221 <!--Defines whether the animator loops to the first view once it 4222 has reached the end of the list. --> 4223 <attr name="loopViews" format="boolean" /> 4224 <!-- Defines whether to animate the current View when the ViewAnimation 4225 is first displayed. --> 4226 <attr name="animateFirstView" /> 4227 </declare-styleable> 4228 <declare-styleable name="AdapterViewFlipper"> 4229 <attr name="flipInterval" /> 4230 <!-- When true, automatically start animating --> 4231 <attr name="autoStart" /> 4232 </declare-styleable> 4233 <declare-styleable name="ViewSwitcher"> 4234 </declare-styleable> 4235 <declare-styleable name="ScrollView"> 4236 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4237 <attr name="fillViewport" format="boolean" /> 4238 </declare-styleable> 4239 <declare-styleable name="HorizontalScrollView"> 4240 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4241 <attr name="fillViewport" /> 4242 </declare-styleable> 4243 <declare-styleable name="Spinner"> 4244 <!-- The prompt to display when the spinner's dialog is shown. --> 4245 <attr name="prompt" format="reference" /> 4246 <!-- Display mode for spinner options. --> 4247 <attr name="spinnerMode" format="enum"> 4248 <!-- Spinner options will be presented to the user as a dialog window. --> 4249 <enum name="dialog" value="0" /> 4250 <!-- Spinner options will be presented to the user as an inline dropdown 4251 anchored to the spinner widget itself. --> 4252 <enum name="dropdown" value="1" /> 4253 </attr> 4254 <!-- List selector to use for spinnerMode="dropdown" display. --> 4255 <attr name="dropDownSelector" /> 4256 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 4257 <attr name="popupBackground" /> 4258 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 4259 <attr name="popupElevation" /> 4260 <!-- Vertical offset from the spinner widget for positioning the dropdown in 4261 spinnerMode="dropdown". --> 4262 <attr name="dropDownVerticalOffset" /> 4263 <!-- Horizontal offset from the spinner widget for positioning the dropdown 4264 in spinnerMode="dropdown". --> 4265 <attr name="dropDownHorizontalOffset" /> 4266 <!-- Width of the dropdown in spinnerMode="dropdown". --> 4267 <attr name="dropDownWidth" /> 4268 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 4269 spinnerMode="dropdown". This layout must contain a TextView with the id 4270 {@code @android:id/text1} to be populated with the prompt text. --> 4271 <attr name="popupPromptView" format="reference" /> 4272 <!-- Gravity setting for positioning the currently selected item. --> 4273 <attr name="gravity" /> 4274 <!-- Whether this spinner should mark child views as enabled/disabled when 4275 the spinner itself is enabled/disabled. --> 4276 <attr name="disableChildrenWhenDisabled" format="boolean" /> 4277 </declare-styleable> 4278 4279 <declare-styleable name="DatePicker"> 4280 <!-- The first year (inclusive), for example "1940". 4281 {@deprecated Use minDate instead.} --> 4282 <attr name="startYear" format="integer" /> 4283 <!-- The last year (inclusive), for example "2010". 4284 {@deprecated Use maxDate instead.} --> 4285 <attr name="endYear" format="integer" /> 4286 <!-- Whether the spinners are shown. --> 4287 <attr name="spinnersShown" format="boolean" /> 4288 <!-- Whether the calendar view is shown. --> 4289 <attr name="calendarViewShown" format="boolean" /> 4290 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4291 <attr name="minDate" format="string" /> 4292 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 4293 <attr name="maxDate" format="string" /> 4294 <!-- @hide The layout of the date picker. --> 4295 <attr name="internalLayout" format="reference" /> 4296 <!-- @hide The layout of the legacy DatePicker. --> 4297 <attr name="legacyLayout" /> 4298 <!-- The background color for the date selector 's day of week. --> 4299 <attr name="dayOfWeekBackgroundColor" format="color" /> 4300 <!-- The text color for the date selector's day of week. --> 4301 <attr name="dayOfWeekTextAppearance" format="reference" /> 4302 <!-- The month's text appearance in the date selector. --> 4303 <attr name="headerMonthTextAppearance" format="reference" /> 4304 <!-- The day of month's text appearance in the date selector. --> 4305 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 4306 <!-- The year's text appearance in the date selector. --> 4307 <attr name="headerYearTextAppearance" format="reference" /> 4308 <!-- The background color for the date selector. --> 4309 <attr name="headerBackgroundColor" /> 4310 <!-- @hide The selected text color for the date selector. Used as a 4311 backup if the text appearance does not explicitly have a color 4312 set for the selected state. --> 4313 <attr name="headerSelectedTextColor" /> 4314 <!-- The list year's text appearance in the list. --> 4315 <attr name="yearListItemTextAppearance" format="reference" /> 4316 <!-- The list year's selected circle color in the list. --> 4317 <attr name="yearListSelectorColor" format="color" /> 4318 <!-- The text color list of the calendar. --> 4319 <attr name="calendarTextColor" format="color" /> 4320 <!-- @hide The selected text color for the calendar. Used as a backup 4321 if the text color does not explicitly have a color set for the 4322 selected state. --> 4323 <attr name="calendarSelectedTextColor" format="color" /> 4324 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4325 spinner. As of L, with the Material theme selected, the default layout is calendar, 4326 but this attribute can be used to force spinner to be used instead. --> 4327 <attr name="datePickerMode"> 4328 <!-- Date picker with spinner controls to select the date. --> 4329 <enum name="spinner" value="1" /> 4330 <!-- Date picker with calendar to select the date. --> 4331 <enum name="calendar" value="2" /> 4332 </attr> 4333 </declare-styleable> 4334 4335 <declare-styleable name="TwoLineListItem"> 4336 <attr name="mode"> 4337 <!-- Always show only the first line. --> 4338 <enum name="oneLine" value="1" /> 4339 <!-- When selected show both lines, otherwise show only the first line. 4340 This is the default mode. --> 4341 <enum name="collapsing" value="2" /> 4342 <!-- Always show both lines. --> 4343 <enum name="twoLine" value="3" /> 4344 </attr> 4345 </declare-styleable> 4346 4347 <!-- SlidingDrawer specific attributes. These attributes are used to configure 4348 a SlidingDrawer from XML. --> 4349 <declare-styleable name="SlidingDrawer"> 4350 <!-- Identifier for the child that represents the drawer's handle. --> 4351 <attr name="handle" format="reference" /> 4352 <!-- Identifier for the child that represents the drawer's content. --> 4353 <attr name="content" format="reference" /> 4354 <!-- Orientation of the SlidingDrawer. --> 4355 <attr name="orientation" /> 4356 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 4357 <attr name="bottomOffset" format="dimension" /> 4358 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 4359 <attr name="topOffset" format="dimension" /> 4360 <!-- Indicates whether the drawer can be opened/closed by a single tap 4361 on the handle. (If false, the user must drag or fling, or click 4362 using the trackball, to open/close the drawer.) Default is true. --> 4363 <attr name="allowSingleTap" format="boolean" /> 4364 <!-- Indicates whether the drawer should be opened/closed with an animation 4365 when the user clicks the handle. Default is true. --> 4366 <attr name="animateOnClick" format="boolean" /> 4367 </declare-styleable> 4368 4369 <!-- GestureOverlayView specific attributes. These attributes are used to configure 4370 a GestureOverlayView from XML. --> 4371 <declare-styleable name="GestureOverlayView"> 4372 <!-- Width of the stroke used to draw the gesture. --> 4373 <attr name="gestureStrokeWidth" format="float" /> 4374 <!-- Color used to draw a gesture. --> 4375 <attr name="gestureColor" format="color" /> 4376 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 4377 <attr name="uncertainGestureColor" format="color" /> 4378 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 4379 is done drawing it. --> 4380 <attr name="fadeOffset" format="integer" /> 4381 <!-- Duration, in milliseconds, of the fade out effect after the user is done 4382 drawing a gesture. --> 4383 <attr name="fadeDuration" format="integer" /> 4384 <!-- Defines the type of strokes that define a gesture. --> 4385 <attr name="gestureStrokeType"> 4386 <!-- A gesture is made of only one stroke. --> 4387 <enum name="single" value="0" /> 4388 <!-- A gesture is made of multiple strokes. --> 4389 <enum name="multiple" value="1" /> 4390 </attr> 4391 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 4392 <attr name="gestureStrokeLengthThreshold" format="float" /> 4393 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 4394 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 4395 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 4396 <attr name="gestureStrokeAngleThreshold" format="float" /> 4397 <!-- Defines whether the overlay should intercept the motion events when a gesture 4398 is recognized. --> 4399 <attr name="eventsInterceptionEnabled" format="boolean" /> 4400 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 4401 <attr name="fadeEnabled" format="boolean" /> 4402 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 4403 (when orientation is horizontal) strokes automatically define a gesture. --> 4404 <attr name="orientation" /> 4405 </declare-styleable> 4406 4407 <declare-styleable name="QuickContactBadge"> 4408 <attr name="quickContactWindowSize"> 4409 <enum name="modeSmall" value="1" /> 4410 <enum name="modeMedium" value="2" /> 4411 <enum name="modeLarge" value="3" /> 4412 </attr> 4413 </declare-styleable> 4414 4415 <!-- ======================================= --> 4416 <!-- Widget package parent layout attributes --> 4417 <!-- ======================================= --> 4418 <eat-comment /> 4419 4420 <declare-styleable name="AbsoluteLayout_Layout"> 4421 <attr name="layout_x" format="dimension" /> 4422 <attr name="layout_y" format="dimension" /> 4423 </declare-styleable> 4424 <declare-styleable name="LinearLayout_Layout"> 4425 <attr name="layout_width" /> 4426 <attr name="layout_height" /> 4427 <attr name="layout_weight" format="float" /> 4428 <attr name="layout_gravity" /> 4429 </declare-styleable> 4430 <declare-styleable name="GridLayout_Layout"> 4431 <!-- The row boundary delimiting the top of the group of cells 4432 occupied by this view. --> 4433 <attr name="layout_row" format="integer" /> 4434 <!-- The row span: the difference between the bottom and top 4435 boundaries delimiting the group of cells occupied by this view. 4436 The default is one. 4437 See {@link android.widget.GridLayout.Spec}. --> 4438 <attr name="layout_rowSpan" format="integer" min="1" /> 4439 <!-- The relative proportion of horizontal space that should be allocated to this view 4440 during excess space distribution. --> 4441 <attr name="layout_rowWeight" format="float" /> 4442 <!-- The column boundary delimiting the left of the group of cells 4443 occupied by this view. --> 4444 <attr name="layout_column" /> 4445 <!-- The column span: the difference between the right and left 4446 boundaries delimiting the group of cells occupied by this view. 4447 The default is one. 4448 See {@link android.widget.GridLayout.Spec}. --> 4449 <attr name="layout_columnSpan" format="integer" min="1" /> 4450 <!-- The relative proportion of vertical space that should be allocated to this view 4451 during excess space distribution. --> 4452 <attr name="layout_columnWeight" format="float" /> 4453 <!-- Gravity specifies how a component should be placed in its group of cells. 4454 The default is LEFT | BASELINE. 4455 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 4456 <attr name="layout_gravity" /> 4457 </declare-styleable> 4458 <declare-styleable name="FrameLayout_Layout"> 4459 <attr name="layout_gravity" /> 4460 </declare-styleable> 4461 <declare-styleable name="RelativeLayout_Layout"> 4462 <!-- Positions the right edge of this view to the left of the given anchor view ID. 4463 Accommodates right margin of this view and left margin of anchor view. --> 4464 <attr name="layout_toLeftOf" format="reference" /> 4465 <!-- Positions the left edge of this view to the right of the given anchor view ID. 4466 Accommodates left margin of this view and right margin of anchor view. --> 4467 <attr name="layout_toRightOf" format="reference" /> 4468 <!-- Positions the bottom edge of this view above the given anchor view ID. 4469 Accommodates bottom margin of this view and top margin of anchor view. --> 4470 <attr name="layout_above" format="reference" /> 4471 <!-- Positions the top edge of this view below the given anchor view ID. 4472 Accommodates top margin of this view and bottom margin of anchor view. --> 4473 <attr name="layout_below" format="reference" /> 4474 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 4475 <attr name="layout_alignBaseline" format="reference" /> 4476 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 4477 Accommodates left margin. --> 4478 <attr name="layout_alignLeft" format="reference" /> 4479 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 4480 Accommodates top margin. --> 4481 <attr name="layout_alignTop" format="reference" /> 4482 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 4483 Accommodates right margin. --> 4484 <attr name="layout_alignRight" format="reference" /> 4485 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 4486 Accommodates bottom margin. --> 4487 <attr name="layout_alignBottom" format="reference" /> 4488 <!-- If true, makes the left edge of this view match the left edge of the parent. 4489 Accommodates left margin. --> 4490 <attr name="layout_alignParentLeft" format="boolean" /> 4491 <!-- If true, makes the top edge of this view match the top edge of the parent. 4492 Accommodates top margin. --> 4493 <attr name="layout_alignParentTop" format="boolean" /> 4494 <!-- If true, makes the right edge of this view match the right edge of the parent. 4495 Accommodates right margin. --> 4496 <attr name="layout_alignParentRight" format="boolean" /> 4497 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 4498 Accommodates bottom margin. --> 4499 <attr name="layout_alignParentBottom" format="boolean" /> 4500 <!-- If true, centers this child horizontally and vertically within its parent. --> 4501 <attr name="layout_centerInParent" format="boolean" /> 4502 <!-- If true, centers this child horizontally within its parent. --> 4503 <attr name="layout_centerHorizontal" format="boolean" /> 4504 <!-- If true, centers this child vertically within its parent. --> 4505 <attr name="layout_centerVertical" format="boolean" /> 4506 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 4507 be found for layout_toLeftOf, layout_toRightOf, etc. --> 4508 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 4509 <!-- Positions the end edge of this view to the start of the given anchor view ID. 4510 Accommodates end margin of this view and start margin of anchor view. --> 4511 <attr name="layout_toStartOf" format="reference" /> 4512 <!-- Positions the start edge of this view to the end of the given anchor view ID. 4513 Accommodates start margin of this view and end margin of anchor view. --> 4514 <attr name="layout_toEndOf" format="reference" /> 4515 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 4516 Accommodates start margin. --> 4517 <attr name="layout_alignStart" format="reference" /> 4518 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 4519 Accommodates end margin. --> 4520 <attr name="layout_alignEnd" format="reference" /> 4521 <!-- If true, makes the start edge of this view match the start edge of the parent. 4522 Accommodates start margin. --> 4523 <attr name="layout_alignParentStart" format="boolean" /> 4524 <!-- If true, makes the end edge of this view match the end edge of the parent. 4525 Accommodates end margin. --> 4526 <attr name="layout_alignParentEnd" format="boolean" /> 4527 </declare-styleable> 4528 <declare-styleable name="VerticalSlider_Layout"> 4529 <attr name="layout_scale" format="float" /> 4530 </declare-styleable> 4531 4532 <!-- attributes for internal rotary widget used in lock screen and phone app 4533 @hide --> 4534 <declare-styleable name="RotarySelector"> 4535 <!-- Use "horizontal" or "vertical". The default is horizontal. --> 4536 <attr name="orientation" /> 4537 </declare-styleable> 4538 4539 <!-- @hide --> 4540 <declare-styleable name="WeightedLinearLayout"> 4541 <attr name="majorWeightMin" format="float" /> 4542 <attr name="minorWeightMin" format="float" /> 4543 <attr name="majorWeightMax" format="float" /> 4544 <attr name="minorWeightMax" format="float" /> 4545 </declare-styleable> 4546 4547 <declare-styleable name="CalendarView"> 4548 <!-- The first day of week according to {@link java.util.Calendar}. --> 4549 <attr name="firstDayOfWeek" format="integer" /> 4550 <!-- Whether do show week numbers. --> 4551 <attr name="showWeekNumber" format="boolean" /> 4552 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4553 <attr name="minDate" /> 4554 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4555 <attr name="maxDate" /> 4556 <!-- The number of weeks to be shown. --> 4557 <attr name="shownWeekCount" format="integer"/> 4558 <!-- The background color for the selected week. --> 4559 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 4560 <!-- The color for the dates of the focused month. --> 4561 <attr name="focusedMonthDateColor" format="color|reference" /> 4562 <!-- The color for the dates of an unfocused month. --> 4563 <attr name="unfocusedMonthDateColor" format="color|reference" /> 4564 <!-- The color for the week numbers. --> 4565 <attr name="weekNumberColor" format="color|reference" /> 4566 <!-- The color for the separator line between weeks. --> 4567 <attr name="weekSeparatorLineColor" format="color|reference" /> 4568 <!-- Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 4569 <attr name="selectedDateVerticalBar" format="reference" /> 4570 <!-- The text appearance for the week day abbreviation of the calendar header. --> 4571 <attr name="weekDayTextAppearance" format="reference" /> 4572 <!-- The text appearance for the calendar dates. --> 4573 <attr name="dateTextAppearance" format="reference" /> 4574 </declare-styleable> 4575 4576 <declare-styleable name="NumberPicker"> 4577 <!-- @hide Color for the solid color background if such for optimized rendering. --> 4578 <attr name="solidColor" format="color|reference" /> 4579 <!-- @hide The divider for making the selection area. --> 4580 <attr name="selectionDivider" format="reference" /> 4581 <!-- @hide The height of the selection divider. --> 4582 <attr name="selectionDividerHeight" format="dimension" /> 4583 <!-- @hide The distance between the two selection dividers. --> 4584 <attr name="selectionDividersDistance" format="dimension" /> 4585 <!-- @hide The min height of the NumberPicker. --> 4586 <attr name="internalMinHeight" format="dimension" /> 4587 <!-- @hide The max height of the NumberPicker. --> 4588 <attr name="internalMaxHeight" format="dimension" /> 4589 <!-- @hide The min width of the NumberPicker. --> 4590 <attr name="internalMinWidth" format="dimension" /> 4591 <!-- @hide The max width of the NumberPicker. --> 4592 <attr name="internalMaxWidth" format="dimension" /> 4593 <!-- @hide The layout of the number picker. --> 4594 <attr name="internalLayout" /> 4595 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 4596 <attr name="virtualButtonPressedDrawable" format="reference"/> 4597 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 4598 <attr name="hideWheelUntilFocused" format="boolean"/> 4599 </declare-styleable> 4600 4601 <declare-styleable name="TimePicker"> 4602 <!-- @hide The layout of the legacy time picker. --> 4603 <attr name="legacyLayout" format="reference" /> 4604 <!-- @hide The layout of the time picker. --> 4605 <attr name="internalLayout" /> 4606 <!-- The text appearance for the AM/PM header of the TimePicker. --> 4607 <attr name="headerAmPmTextAppearance" format="reference" /> 4608 <!-- The text appearance for the time header of the TimePicker. --> 4609 <attr name="headerTimeTextAppearance" format="reference" /> 4610 <!-- @hide The text color for selected time header of the TimePicker. 4611 This will override the value from the text appearance if it does 4612 not explicitly have a color set for the selected state. --> 4613 <attr name="headerSelectedTextColor" format="color" /> 4614 <!-- The background color for the header of the TimePicker. --> 4615 <attr name="headerBackgroundColor" format="color" /> 4616 <!-- The color for the hours/minutes numbers of the TimePicker. --> 4617 <attr name="numbersTextColor" format="color" /> 4618 <!-- The background color for the hours/minutes numbers of the TimePicker. --> 4619 <attr name="numbersBackgroundColor" format="color" /> 4620 <!-- The color for the AM/PM selectors of the TimePicker. --> 4621 <attr name="amPmTextColor" format="color" /> 4622 <!-- The background color state list for the AM/PM selectors of the TimePicker. --> 4623 <attr name="amPmBackgroundColor" format="color" /> 4624 <!-- @hide The background color for the AM/PM selectors of the 4625 TimePicker when selected. Used if the background color does not 4626 explicitly have a color set for the selected state. --> 4627 <attr name="amPmSelectedBackgroundColor" format="color" /> 4628 <!-- The color for the hours/minutes selector of the TimePicker. --> 4629 <attr name="numbersSelectorColor" format="color" /> 4630 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4631 spinner. As of L, with the Material theme selected, the default layout is clock, 4632 but this attribute can be used to force spinner to be used instead. --> 4633 <attr name="timePickerMode"> 4634 <!-- Time picker with spinner controls to select the time. --> 4635 <enum name="spinner" value="1" /> 4636 <!-- Time picker with clock face to select the time. --> 4637 <enum name="clock" value="2" /> 4638 </attr> 4639 </declare-styleable> 4640 4641 <!-- ========================= --> 4642 <!-- Drawable class attributes --> 4643 <!-- ========================= --> 4644 <eat-comment /> 4645 4646 <!-- Base attributes that are available to all Drawable objects. --> 4647 <declare-styleable name="Drawable"> 4648 <!-- Provides initial visibility state of the drawable; the default 4649 value is false. See 4650 {@link android.graphics.drawable.Drawable#setVisible}. --> 4651 <attr name="visible" format="boolean" /> 4652 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 4653 RTL (right-to-left). See 4654 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 4655 <attr name="autoMirrored" format="boolean" /> 4656 </declare-styleable> 4657 4658 <!-- Drawable used to render several states. Each state is represented by 4659 a child drawable. --> 4660 <declare-styleable name="StateListDrawable"> 4661 <!-- Indicates whether the drawable should be initially visible. --> 4662 <attr name="visible" /> 4663 <!-- If true, allows the drawable's padding to change based on the 4664 current state that is selected. If false, the padding will 4665 stay the same (based on the maximum padding of all the states). 4666 Enabling this feature requires that the owner of the drawable 4667 deal with performing layout when the state changes, which is 4668 often not supported. --> 4669 <attr name="variablePadding" format="boolean" /> 4670 <!-- If true, the drawable's reported internal size will remain 4671 constant as the state changes; the size is the maximum of all 4672 of the states. If false, the size will vary based on the 4673 current state. --> 4674 <attr name="constantSize" format="boolean" /> 4675 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 4676 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 4677 an RGB 565 screen). --> 4678 <attr name="dither" format="boolean" /> 4679 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 4680 <attr name="enterFadeDuration" format="integer" /> 4681 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 4682 <attr name="exitFadeDuration" format="integer" /> 4683 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 4684 RTL (right-to-left). --> 4685 <attr name="autoMirrored"/> 4686 </declare-styleable> 4687 4688 <!-- Drawable used to render several states with animated transitions. Each state 4689 is represented by a child drawable with an optional keyframe ID. --> 4690 <declare-styleable name="AnimatedStateListDrawable"> 4691 <!-- Indicates whether the drawable should be initially visible. --> 4692 <attr name="visible" /> 4693 <!-- If true, allows the drawable's padding to change based on the 4694 current state that is selected. If false, the padding will 4695 stay the same (based on the maximum padding of all the states). 4696 Enabling this feature requires that the owner of the drawable 4697 deal with performing layout when the state changes, which is 4698 often not supported. --> 4699 <attr name="variablePadding" /> 4700 <!-- If true, the drawable's reported internal size will remain 4701 constant as the state changes; the size is the maximum of all 4702 of the states. If false, the size will vary based on the 4703 current state. --> 4704 <attr name="constantSize" /> 4705 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 4706 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 4707 an RGB 565 screen). --> 4708 <attr name="dither" /> 4709 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 4710 <attr name="enterFadeDuration" /> 4711 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 4712 <attr name="exitFadeDuration" /> 4713 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 4714 RTL (right-to-left). --> 4715 <attr name="autoMirrored"/> 4716 </declare-styleable> 4717 4718 <!-- Transition used to animate between states with keyframe IDs. --> 4719 <declare-styleable name="AnimatedStateListDrawableItem"> 4720 <!-- Reference to a drawable resource to use for the frame. If not 4721 given, the drawable must be defined by the first child tag. --> 4722 <attr name="drawable" /> 4723 <!-- Keyframe identifier for use in specifying transitions. --> 4724 <attr name="id" /> 4725 </declare-styleable> 4726 4727 <!-- Transition used to animate between states with keyframe IDs. --> 4728 <declare-styleable name="AnimatedStateListDrawableTransition"> 4729 <!-- Keyframe identifier for the starting state. --> 4730 <attr name="fromId" format="reference" /> 4731 <!-- Keyframe identifier for the ending state. --> 4732 <attr name="toId" format="reference" /> 4733 <!-- Reference to a animation drawable resource to use for the frame. If not 4734 given, the animation drawable must be defined by the first child tag. --> 4735 <attr name="drawable" /> 4736 <!-- Whether this transition is reversible. --> 4737 <attr name="reversible" format="boolean" /> 4738 </declare-styleable> 4739 4740 <!-- Drawable used to render several animated frames. --> 4741 <declare-styleable name="AnimationDrawable"> 4742 <attr name="visible" /> 4743 <attr name="variablePadding" /> 4744 <!-- If true, the animation will only run a single time and then 4745 stop. If false (the default), it will continually run, 4746 restarting at the first frame after the last has finished. --> 4747 <attr name="oneshot" format="boolean" /> 4748 </declare-styleable> 4749 4750 <!-- Represents a single frame inside an AnimationDrawable. --> 4751 <declare-styleable name="AnimationDrawableItem"> 4752 <!-- Amount of time (in milliseconds) to display this frame. --> 4753 <attr name="duration" format="integer" /> 4754 <!-- Reference to a drawable resource to use for the frame. If not 4755 given, the drawable must be defined by the first child tag. --> 4756 <attr name="drawable" format="reference" /> 4757 </declare-styleable> 4758 4759 <!-- Attributes that can be assigned to a StateListAnimator item. --> 4760 <declare-styleable name="StateListAnimatorItem"> 4761 <attr name="animation"/> 4762 </declare-styleable> 4763 4764 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 4765 <declare-styleable name="GradientDrawable"> 4766 <!-- Indicates whether the drawable should intially be visible. --> 4767 <attr name="visible" /> 4768 <!-- Enables or disables dithering. --> 4769 <attr name="dither" /> 4770 <!-- Indicates what shape to fill with a gradient. --> 4771 <attr name="shape"> 4772 <!-- Rectangle shape, with optional rounder corners. --> 4773 <enum name="rectangle" value="0" /> 4774 <!-- Oval shape. --> 4775 <enum name="oval" value="1" /> 4776 <!-- Line shape. --> 4777 <enum name="line" value="2" /> 4778 <!-- Ring shape. --> 4779 <enum name="ring" value="3" /> 4780 </attr> 4781 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 4782 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 4783 This value is ignored if innerRadius is defined. Default value is 9. --> 4784 <attr name="innerRadiusRatio" format="float" /> 4785 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 4786 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 4787 This value is ignored if innerRadius is defined. Default value is 3. --> 4788 <attr name="thicknessRatio" format="float" /> 4789 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 4790 <attr name="innerRadius" format="dimension" /> 4791 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 4792 <attr name="thickness" format="dimension" /> 4793 <!-- Indicates whether the drawable's level affects the way the gradient is drawn. --> 4794 <attr name="useLevel" /> 4795 </declare-styleable> 4796 4797 <!-- Used to specify the size of the shape for GradientDrawable. --> 4798 <declare-styleable name="GradientDrawableSize"> 4799 <!-- Width of the gradient shape. --> 4800 <attr name="width" /> 4801 <!-- Height of the gradient shape. --> 4802 <attr name="height" /> 4803 </declare-styleable> 4804 4805 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 4806 <declare-styleable name="GradientDrawableGradient"> 4807 <!-- Start color of the gradient. --> 4808 <attr name="startColor" format="color" /> 4809 <!-- Optional center color. For linear gradients, use centerX or centerY 4810 to place the center color. --> 4811 <attr name="centerColor" format="color" /> 4812 <!-- End color of the gradient. --> 4813 <attr name="endColor" format="color" /> 4814 <attr name="useLevel" format="boolean" /> 4815 <!-- Angle of the gradient. --> 4816 <attr name="angle" format="float" /> 4817 <!-- Type of gradient. The default type is linear. --> 4818 <attr name="type"> 4819 <!-- Linear gradient. --> 4820 <enum name="linear" value="0" /> 4821 <!-- Radial, or circular, gradient. --> 4822 <enum name="radial" value="1" /> 4823 <!-- Sweep, or angled or diamond, gradient. --> 4824 <enum name="sweep" value="2" /> 4825 </attr> 4826 <!-- X coordinate of the origin of the gradient within the shape. --> 4827 <attr name="centerX" format="float|fraction" /> 4828 <!-- Y coordinate of the origin of the gradient within the shape. --> 4829 <attr name="centerY" format="float|fraction" /> 4830 <!-- Radius of the gradient, used only with radial gradient. --> 4831 <attr name="gradientRadius" format="float|fraction" /> 4832 </declare-styleable> 4833 4834 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 4835 <declare-styleable name="GradientDrawableSolid"> 4836 <!-- Solid color for the gradient shape. --> 4837 <attr name="color" format="color" /> 4838 </declare-styleable> 4839 4840 <!-- Used to describe the optional stroke of a GradientDrawable. --> 4841 <declare-styleable name="GradientDrawableStroke"> 4842 <!-- Width of the gradient shape's stroke. --> 4843 <attr name="width" /> 4844 <!-- Color of the gradient shape's stroke. --> 4845 <attr name="color" /> 4846 <!-- Length of a dash in the stroke. --> 4847 <attr name="dashWidth" format="dimension" /> 4848 <!-- Gap between dashes in the stroke. --> 4849 <attr name="dashGap" format="dimension" /> 4850 </declare-styleable> 4851 4852 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 4853 This can be used to render rounded corners. --> 4854 <declare-styleable name="DrawableCorners"> 4855 <!-- Defines the radius of the four corners. --> 4856 <attr name="radius" format="dimension" /> 4857 <!-- Radius of the top left corner. --> 4858 <attr name="topLeftRadius" format="dimension" /> 4859 <!-- Radius of the top right corner. --> 4860 <attr name="topRightRadius" format="dimension" /> 4861 <!-- Radius of the bottom left corner. --> 4862 <attr name="bottomLeftRadius" format="dimension" /> 4863 <!-- Radius of the bottom right corner. --> 4864 <attr name="bottomRightRadius" format="dimension" /> 4865 </declare-styleable> 4866 4867 <!-- Used to specify the optional padding of a GradientDrawable. --> 4868 <declare-styleable name="GradientDrawablePadding"> 4869 <!-- Amount of left padding inside the gradient shape. --> 4870 <attr name="left" format="dimension" /> 4871 <!-- Amount of top padding inside the gradient shape. --> 4872 <attr name="top" format="dimension" /> 4873 <!-- Amount of right padding inside the gradient shape. --> 4874 <attr name="right" format="dimension" /> 4875 <!-- Amount of bottom padding inside the gradient shape. --> 4876 <attr name="bottom" format="dimension" /> 4877 </declare-styleable> 4878 4879 <!-- Drawable used to render several drawables stacked on top of each other. 4880 Each child drawable can be controlled individually. --> 4881 <declare-styleable name="LayerDrawable"> 4882 <!-- Indicates the opacity of the layer. This can be useful to allow the 4883 system to enable drawing optimizations. The default value is 4884 translucent. --> 4885 <attr name="opacity"> 4886 <!-- Indicates that the layer is opaque and contains no transparent 4887 nor translucent pixels. --> 4888 <enum name="opaque" value="-1" /> 4889 <!-- The layer is completely transparent (no pixel will be drawn.) --> 4890 <enum name="transparent" value="-2" /> 4891 <!-- The layer has translucent pixels. --> 4892 <enum name="translucent" value="-3" /> 4893 </attr> 4894 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 4895 RTL (right-to-left). --> 4896 <attr name="autoMirrored" /> 4897 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 4898 The default padding mode value is nest. --> 4899 <attr name="paddingMode"> 4900 <!-- Nest each layer inside the padding of the previous layer. --> 4901 <enum name="nest" value="0" /> 4902 <!-- Stack each layer directly atop the previous layer. --> 4903 <enum name="stack" value="1" /> 4904 </attr> 4905 </declare-styleable> 4906 4907 <!-- Describes an item (or child) of a LayerDrawable. --> 4908 <declare-styleable name="LayerDrawableItem"> 4909 <!-- Left coordinate of the layer. --> 4910 <attr name="left" /> 4911 <!-- Top coordinate of the layer. --> 4912 <attr name="top" /> 4913 <!-- Right coordinate of the layer. --> 4914 <attr name="right" /> 4915 <!-- Bottom coordinate of the layer. --> 4916 <attr name="bottom" /> 4917 <!-- Drawable used to render the layer. --> 4918 <attr name="drawable" /> 4919 <!-- Identifier of the layer. This can be used to retrieve the layer 4920 from a drawable container. --> 4921 <attr name="id" /> 4922 </declare-styleable> 4923 4924 <declare-styleable name="LevelListDrawableItem"> 4925 <!-- The minimum level allowed for this item. --> 4926 <attr name="minLevel" format="integer" /> 4927 <!-- The maximum level allowed for this item. --> 4928 <attr name="maxLevel" format="integer" /> 4929 <attr name="drawable" /> 4930 </declare-styleable> 4931 4932 <!-- Drawable used to rotate another drawable. --> 4933 <declare-styleable name="RotateDrawable"> 4934 <attr name="visible" /> 4935 <attr name="fromDegrees" format="float" /> 4936 <attr name="toDegrees" format="float" /> 4937 <attr name="pivotX" format="float|fraction" /> 4938 <attr name="pivotY" format="float|fraction" /> 4939 <attr name="drawable" /> 4940 </declare-styleable> 4941 4942 <declare-styleable name="AnimatedRotateDrawable"> 4943 <attr name="visible" /> 4944 <attr name="frameDuration" format="integer" /> 4945 <attr name="framesCount" format="integer" /> 4946 <attr name="pivotX" /> 4947 <attr name="pivotY" /> 4948 <attr name="drawable" /> 4949 </declare-styleable> 4950 4951 <!-- Drawable used to render the Material progress indicator. --> 4952 <declare-styleable name="MaterialProgressDrawable"> 4953 <attr name="visible" /> 4954 <attr name="thickness" /> 4955 <attr name="innerRadius" /> 4956 <attr name="width" /> 4957 <attr name="height" /> 4958 <attr name="color" /> 4959 </declare-styleable> 4960 4961 <declare-styleable name="InsetDrawable"> 4962 <attr name="visible" /> 4963 <attr name="drawable" /> 4964 <attr name="inset" format="dimension"/> 4965 <attr name="insetLeft" format="dimension" /> 4966 <attr name="insetRight" format="dimension" /> 4967 <attr name="insetTop" format="dimension" /> 4968 <attr name="insetBottom" format="dimension" /> 4969 </declare-styleable> 4970 4971 <!-- Drawable used to draw bitmaps. --> 4972 <declare-styleable name="BitmapDrawable"> 4973 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 4974 <attr name="src" /> 4975 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 4976 edges of a bitmap when rotated. Default value is false. --> 4977 <attr name="antialias" format="boolean" /> 4978 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 4979 shrunk or stretched to smooth its apperance. Default value is true. --> 4980 <attr name="filter" format="boolean" /> 4981 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 4982 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 4983 an RGB 565 screen). Default value is true. --> 4984 <attr name="dither" /> 4985 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 4986 the drawable in its container if the bitmap is smaller than the container. --> 4987 <attr name="gravity" /> 4988 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 4989 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 4990 <attr name="tileMode"> 4991 <!-- Do not tile the bitmap. This is the default value. --> 4992 <enum name="disabled" value="-1" /> 4993 <!-- Replicates the edge color. --> 4994 <enum name="clamp" value="0" /> 4995 <!-- Repeats the bitmap in both direction. --> 4996 <enum name="repeat" value="1" /> 4997 <!-- Repeats the shader's image horizontally and vertically, alternating 4998 mirror images so that adjacent images always seam. --> 4999 <enum name="mirror" value="2" /> 5000 </attr> 5001 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5002 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5003 <attr name="tileModeX"> 5004 <!-- Do not tile the bitmap. This is the default value. --> 5005 <enum name="disabled" value="-1" /> 5006 <!-- Replicates the edge color. --> 5007 <enum name="clamp" value="0" /> 5008 <!-- Repeats the bitmap horizontally. --> 5009 <enum name="repeat" value="1" /> 5010 <!-- Repeats the shader's image horizontally, alternating 5011 mirror images so that adjacent images always seam. --> 5012 <enum name="mirror" value="2" /> 5013 </attr> 5014 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5015 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5016 <attr name="tileModeY"> 5017 <!-- Do not tile the bitmap. This is the default value. --> 5018 <enum name="disabled" value="-1" /> 5019 <!-- Replicates the edge color. --> 5020 <enum name="clamp" value="0" /> 5021 <!-- Repeats the bitmap vertically. --> 5022 <enum name="repeat" value="1" /> 5023 <!-- Repeats the shader's image vertically, alternating 5024 mirror images so that adjacent images always seam. --> 5025 <enum name="mirror" value="2" /> 5026 </attr> 5027 <!-- Enables or disables the mipmap hint. See 5028 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5029 Default value is false. --> 5030 <attr name="mipMap" format="boolean" /> 5031 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5032 RTL (right-to-left). --> 5033 <attr name="autoMirrored" /> 5034 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5035 no tint is applied. May be a color state list. --> 5036 <attr name="tint" /> 5037 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5038 default value is src_in, which treats the drawable as an alpha mask. --> 5039 <attr name="tintMode"> 5040 <!-- The tint is drawn on top of the drawable. 5041 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5042 <enum name="src_over" value="3" /> 5043 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5044 color channels are thrown out. [Sa * Da, Sc * Da] --> 5045 <enum name="src_in" value="5" /> 5046 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5047 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5048 <enum name="src_atop" value="9" /> 5049 <!-- Multiplies the color and alpha channels of the drawable with those of 5050 the tint. [Sa * Da, Sc * Dc] --> 5051 <enum name="multiply" value="14" /> 5052 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5053 <enum name="screen" value="15" /> 5054 <!-- Combines the tint and drawable color and alpha channels, clamping the 5055 result to valid color values. Saturate(S + D) --> 5056 <enum name="add" value="16" /> 5057 </attr> 5058 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5059 <attr name="alpha" /> 5060 </declare-styleable> 5061 5062 <!-- Drawable used to draw 9-patches. --> 5063 <declare-styleable name="NinePatchDrawable"> 5064 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5065 <attr name="src" /> 5066 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5067 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5068 an RGB 565 screen). --> 5069 <attr name="dither" /> 5070 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5071 RTL (right-to-left). --> 5072 <attr name="autoMirrored" /> 5073 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5074 no tint is applied. May be a color state list. --> 5075 <attr name="tint" /> 5076 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5077 default value is src_in, which treats the drawable as an alpha mask. --> 5078 <attr name="tintMode" /> 5079 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5080 <attr name="alpha" /> 5081 </declare-styleable> 5082 5083 <!-- Drawable used to draw a single color. --> 5084 <declare-styleable name="ColorDrawable"> 5085 <!-- The color to use. --> 5086 <attr name="color" /> 5087 </declare-styleable> 5088 5089 <!-- Drawable used to show animated touch feedback. --> 5090 <declare-styleable name="RippleDrawable"> 5091 <!-- The color to use for ripple effects. This attribute is required. --> 5092 <attr name="color" /> 5093 </declare-styleable> 5094 5095 <declare-styleable name="ScaleDrawable"> 5096 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 5097 format is XX%. For instance: 100%, 12.5%, etc.--> 5098 <attr name="scaleWidth" format="string" /> 5099 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 5100 format is XX%. For instance: 100%, 12.5%, etc.--> 5101 <attr name="scaleHeight" format="string" /> 5102 <!-- Specifies where the drawable is positioned after scaling. The default value is 5103 left. --> 5104 <attr name="scaleGravity"> 5105 <!-- Push object to the top of its container, not changing its size. --> 5106 <flag name="top" value="0x30" /> 5107 <!-- Push object to the bottom of its container, not changing its size. --> 5108 <flag name="bottom" value="0x50" /> 5109 <!-- Push object to the left of its container, not changing its size. --> 5110 <flag name="left" value="0x03" /> 5111 <!-- Push object to the right of its container, not changing its size. --> 5112 <flag name="right" value="0x05" /> 5113 <!-- Place object in the vertical center of its container, not changing its size. --> 5114 <flag name="center_vertical" value="0x10" /> 5115 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 5116 <flag name="fill_vertical" value="0x70" /> 5117 <!-- Place object in the horizontal center of its container, not changing its size. --> 5118 <flag name="center_horizontal" value="0x01" /> 5119 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 5120 <flag name="fill_horizontal" value="0x07" /> 5121 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 5122 <flag name="center" value="0x11" /> 5123 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 5124 <flag name="fill" value="0x77" /> 5125 <!-- Additional option that can be set to have the top and/or bottom edges of 5126 the child clipped to its container's bounds. 5127 The clip will be based on the vertical gravity: a top gravity will clip the bottom 5128 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 5129 <flag name="clip_vertical" value="0x80" /> 5130 <!-- Additional option that can be set to have the left and/or right edges of 5131 the child clipped to its container's bounds. 5132 The clip will be based on the horizontal gravity: a left gravity will clip the right 5133 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 5134 <flag name="clip_horizontal" value="0x08" /> 5135 <!-- Push object to the beginning of its container, not changing its size. --> 5136 <flag name="start" value="0x00800003" /> 5137 <!-- Push object to the end of its container, not changing its size. --> 5138 <flag name="end" value="0x00800005" /> 5139 </attr> 5140 <!-- Reference to a drawable resource to draw with the specified scale. --> 5141 <attr name="drawable" /> 5142 <!-- Use the drawable's intrinsic width and height as minimum size values. 5143 Useful if the target drawable is a 9-patch or otherwise should not be scaled 5144 down beyond a minimum size. --> 5145 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 5146 </declare-styleable> 5147 5148 <declare-styleable name="ClipDrawable"> 5149 <!-- The orientation for the clip. --> 5150 <attr name="clipOrientation"> 5151 <!-- Clip the drawable horizontally. --> 5152 <flag name="horizontal" value="1" /> 5153 <!-- Clip the drawable vertically. --> 5154 <flag name="vertical" value="2" /> 5155 </attr> 5156 <!-- Specifies where to clip within the drawable. The default value is 5157 left. --> 5158 <attr name="gravity" /> 5159 <!-- Reference to a drawable resource to draw with the specified scale. --> 5160 <attr name="drawable" /> 5161 </declare-styleable> 5162 5163 <!-- Defines the padding of a ShapeDrawable. --> 5164 <declare-styleable name="ShapeDrawablePadding"> 5165 <!-- Left padding. --> 5166 <attr name="left" /> 5167 <!-- Top padding. --> 5168 <attr name="top" /> 5169 <!-- Right padding. --> 5170 <attr name="right" /> 5171 <!-- Bottom padding. --> 5172 <attr name="bottom" /> 5173 </declare-styleable> 5174 5175 <!-- Drawable used to draw shapes. --> 5176 <declare-styleable name="ShapeDrawable"> 5177 <!-- Defines the color of the shape. --> 5178 <attr name="color" /> 5179 <!-- Defines the width of the shape. --> 5180 <attr name="width" /> 5181 <!-- Defines the height of the shape. --> 5182 <attr name="height" /> 5183 <!-- Enables or disables dithering. --> 5184 <attr name="dither" /> 5185 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5186 no tint is applied. May be a color state list. --> 5187 <attr name="tint" /> 5188 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5189 default value is src_in, which treats the drawable as an alpha mask. --> 5190 <attr name="tintMode" /> 5191 </declare-styleable> 5192 5193 <!-- ========================== --> 5194 <!-- VectorDrawable class --> 5195 <!-- ========================== --> 5196 <eat-comment /> 5197 5198 <!-- Drawable used to draw vector paths. --> 5199 <declare-styleable name="VectorDrawable"> 5200 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5201 no tint is applied. May be a color state list. --> 5202 <attr name="tint" /> 5203 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5204 default value is src_in, which treats the drawable as an alpha mask. --> 5205 <attr name="tintMode" /> 5206 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5207 RTL (right-to-left). --> 5208 <attr name="autoMirrored" /> 5209 <!-- The intrinsic width of the Vector Drawable. --> 5210 <attr name="width" /> 5211 <!-- The intrinsic height of the Vector Drawable. --> 5212 <attr name="height" /> 5213 <!-- The width of the canvas the drawing is on. --> 5214 <attr name="viewportWidth" format="float"/> 5215 <!-- The height of the canvas the drawing is on. --> 5216 <attr name="viewportHeight" format="float"/> 5217 </declare-styleable> 5218 5219 <!-- Defines the group used in VectorDrawables. --> 5220 <declare-styleable name="VectorDrawableGroup"> 5221 <!-- The Name of this group --> 5222 <attr name="name" /> 5223 <!-- The amount to rotate the group --> 5224 <attr name="rotation" /> 5225 <!-- The X coordinate of the center of rotation of a group --> 5226 <attr name="pivotX" /> 5227 <!-- The Y coordinate of the center of rotation of a group --> 5228 <attr name="pivotY" /> 5229 <!-- The amount to translate the group on X coordinate --> 5230 <attr name="translateX" format="float"/> 5231 <!-- The amount to translate the group on Y coordinate --> 5232 <attr name="translateY" format="float"/> 5233 <!-- The amount to scale the group on X coordinate --> 5234 <attr name="scaleX" /> 5235 <!-- The amount to scale the group on X coordinate --> 5236 <attr name="scaleY" /> 5237 <!-- The alpha of the group (0 is transparent and 1 is opaque) --> 5238 <attr name="alpha" /> 5239 </declare-styleable> 5240 5241 <!-- Defines the path used in VectorDrawables. --> 5242 <declare-styleable name="VectorDrawablePath"> 5243 <!-- The Name of this path --> 5244 <attr name="name" /> 5245 <!-- The width a path stroke --> 5246 <attr name="strokeWidth" format="float" /> 5247 <!-- The color to stroke the path if not defined implies no stroke--> 5248 <attr name="strokeColor" format="color" /> 5249 <!-- The color to fill the path if not defined implies no fill--> 5250 <attr name="fillColor" format="color" /> 5251 <!-- The specification of the operations that define the path --> 5252 <attr name="pathData" format="string" /> 5253 <!-- The fraction of the path to trim from the start from 0 to 1 --> 5254 <attr name="trimPathStart" format="float" /> 5255 <!-- The fraction of the path to trim from the end from 0 to 1 --> 5256 <attr name="trimPathEnd" format="float" /> 5257 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1 --> 5258 <attr name="trimPathOffset" format="float" /> 5259 <!-- sets the linecap for a stroked path --> 5260 <attr name="strokeLineCap" format="enum"> 5261 <enum name="butt" value="0"/> 5262 <enum name="round" value="1"/> 5263 <enum name="square" value="2"/> 5264 </attr> 5265 <!-- sets the lineJoin for a stroked path --> 5266 <attr name="strokeLineJoin" format="enum"> 5267 <enum name="miter" value="0"/> 5268 <enum name="round" value="1"/> 5269 <enum name="bevel" value="2"/> 5270 </attr> 5271 <!-- sets the Miter limit for a stroked path --> 5272 <attr name="strokeMiterLimit" format="float"/> 5273 </declare-styleable> 5274 5275 <!-- Defines the clip path used in VectorDrawables. --> 5276 <declare-styleable name="VectorDrawableClipPath"> 5277 <!-- The Name of this path --> 5278 <attr name="name" /> 5279 <!-- The specification of the operations that define the path --> 5280 <attr name="pathData"/> 5281 </declare-styleable> 5282 5283 <!-- ========================== --> 5284 <!-- AnimatedVectorDrawable class --> 5285 <!-- ========================== --> 5286 <eat-comment /> 5287 5288 <!-- Define the AnimatedVectorDrawable. --> 5289 <declare-styleable name="AnimatedVectorDrawable"> 5290 <!-- The static vector drawable. --> 5291 <attr name="drawable" /> 5292 </declare-styleable> 5293 5294 <!-- Defines the target path or group used in the AnimatedVectorDrawable. --> 5295 <declare-styleable name="AnimatedVectorDrawableTarget"> 5296 <!-- The name of this target path or group --> 5297 <attr name="name" /> 5298 <!-- The animation for this target path or group --> 5299 <attr name="animation" /> 5300 </declare-styleable> 5301 5302 <!-- ========================== --> 5303 <!-- Animation class attributes --> 5304 <!-- ========================== --> 5305 <eat-comment /> 5306 5307 <declare-styleable name="Animation"> 5308 <!-- Defines the interpolator used to smooth the animation movement in time. --> 5309 <attr name="interpolator" /> 5310 <!-- When set to true, the value of fillBefore is taken into account. --> 5311 <attr name="fillEnabled" format="boolean" /> 5312 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 5313 is applied before the animation has started. The default value is true. --> 5314 <attr name="fillBefore" format="boolean" /> 5315 <!-- When set to true, the animation transformation is applied after the animation is 5316 over. The default value is false. If fillEnabled is not set to true and the 5317 animation is not set on a View, fillAfter is assumed to be true.--> 5318 <attr name="fillAfter" format="boolean" /> 5319 <!-- Amount of time (in milliseconds) for the animation to run. --> 5320 <attr name="duration" /> 5321 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 5322 <attr name="startOffset" format="integer" /> 5323 <!-- Defines how many times the animation should repeat. The default value is 0. --> 5324 <attr name="repeatCount" format="integer"> 5325 <enum name="infinite" value="-1" /> 5326 </attr> 5327 <!-- Defines the animation behavior when it reaches the end and the repeat count is 5328 greater than 0 or infinite. The default value is restart. --> 5329 <attr name="repeatMode"> 5330 <!-- The animation starts again from the beginning. --> 5331 <enum name="restart" value="1" /> 5332 <!-- The animation plays backward. --> 5333 <enum name="reverse" value="2" /> 5334 </attr> 5335 <!-- Allows for an adjustment of the Z ordering of the content being 5336 animated for the duration of the animation. The default value is normal. --> 5337 <attr name="zAdjustment"> 5338 <!-- The content being animated be kept in its current Z order. --> 5339 <enum name="normal" value="0" /> 5340 <!-- The content being animated is forced on top of all other 5341 content for the duration of the animation. --> 5342 <enum name="top" value="1" /> 5343 <!-- The content being animated is forced under all other 5344 content for the duration of the animation. --> 5345 <enum name="bottom" value="-1" /> 5346 </attr> 5347 <!-- Special background behind animation. Only for use with window 5348 animations. Can only be a color, and only black. If 0, the 5349 default, there is no background. --> 5350 <attr name="background" /> 5351 <!-- Special option for window animations: if this window is on top 5352 of a wallpaper, don't animate the wallpaper with it. --> 5353 <attr name="detachWallpaper" format="boolean" /> 5354 </declare-styleable> 5355 5356 <declare-styleable name="AnimationSet"> 5357 <attr name="shareInterpolator" format="boolean" /> 5358 <attr name="fillBefore" /> 5359 <attr name="fillAfter" /> 5360 <attr name="duration" /> 5361 <attr name="startOffset" /> 5362 <attr name="repeatMode" /> 5363 </declare-styleable> 5364 5365 <declare-styleable name="RotateAnimation"> 5366 <attr name="fromDegrees" /> 5367 <attr name="toDegrees" /> 5368 <attr name="pivotX" /> 5369 <attr name="pivotY" /> 5370 </declare-styleable> 5371 5372 <declare-styleable name="ScaleAnimation"> 5373 <attr name="fromXScale" format="float|fraction|dimension" /> 5374 <attr name="toXScale" format="float|fraction|dimension" /> 5375 <attr name="fromYScale" format="float|fraction|dimension" /> 5376 <attr name="toYScale" format="float|fraction|dimension" /> 5377 <attr name="pivotX" /> 5378 <attr name="pivotY" /> 5379 </declare-styleable> 5380 5381 <declare-styleable name="TranslateAnimation"> 5382 <attr name="fromXDelta" format="float|fraction" /> 5383 <attr name="toXDelta" format="float|fraction" /> 5384 <attr name="fromYDelta" format="float|fraction" /> 5385 <attr name="toYDelta" format="float|fraction" /> 5386 </declare-styleable> 5387 5388 <declare-styleable name="AlphaAnimation"> 5389 <attr name="fromAlpha" format="float" /> 5390 <attr name="toAlpha" format="float" /> 5391 </declare-styleable> 5392 5393 <declare-styleable name="LayoutAnimation"> 5394 <!-- Fraction of the animation duration used to delay the beginning of 5395 the animation of each child. --> 5396 <attr name="delay" format="float|fraction" /> 5397 <!-- Animation to use on each child. --> 5398 <attr name="animation" format="reference" /> 5399 <!-- The order in which the animations will be started. --> 5400 <attr name="animationOrder"> 5401 <!-- Animations are started in the natural order. --> 5402 <enum name="normal" value="0" /> 5403 <!-- Animations are started in the reverse order. --> 5404 <enum name="reverse" value="1" /> 5405 <!-- Animations are started randomly. --> 5406 <enum name="random" value="2" /> 5407 </attr> 5408 <!-- Interpolator used to interpolate the delay between the start of 5409 each animation. --> 5410 <attr name="interpolator" /> 5411 </declare-styleable> 5412 5413 <declare-styleable name="GridLayoutAnimation"> 5414 <!-- Fraction of the animation duration used to delay the beginning of 5415 the animation of each column. --> 5416 <attr name="columnDelay" format="float|fraction" /> 5417 <!-- Fraction of the animation duration used to delay the beginning of 5418 the animation of each row. --> 5419 <attr name="rowDelay" format="float|fraction" /> 5420 <!-- Direction of the animation in the grid. --> 5421 <attr name="direction"> 5422 <!-- Animates columns from left to right. --> 5423 <flag name="left_to_right" value="0x0" /> 5424 <!-- Animates columns from right to left. --> 5425 <flag name="right_to_left" value="0x1" /> 5426 <!-- Animates rows from top to bottom. --> 5427 <flag name="top_to_bottom" value="0x0" /> 5428 <!-- Animates rows from bottom to top. --> 5429 <flag name="bottom_to_top" value="0x2" /> 5430 </attr> 5431 <!-- Priority of the rows and columns. When the priority is none, 5432 both rows and columns have the same priority. When the priority is 5433 column, the animations will be applied on the columns first. The same 5434 goes for rows. --> 5435 <attr name="directionPriority"> 5436 <!-- Rows and columns are animated at the same time. --> 5437 <enum name="none" value="0" /> 5438 <!-- Columns are animated first. --> 5439 <enum name="column" value="1" /> 5440 <!-- Rows are animated first. --> 5441 <enum name="row" value="2" /> 5442 </attr> 5443 </declare-styleable> 5444 5445 <declare-styleable name="AccelerateInterpolator"> 5446 <!-- This is the amount of deceleration to add when easing in. --> 5447 <attr name="factor" format="float" /> 5448 </declare-styleable> 5449 5450 <declare-styleable name="DecelerateInterpolator"> 5451 <!-- This is the amount of acceleration to add when easing out. --> 5452 <attr name="factor" /> 5453 </declare-styleable> 5454 5455 <declare-styleable name="CycleInterpolator"> 5456 <attr name="cycles" format="float" /> 5457 </declare-styleable> 5458 5459 <declare-styleable name="AnticipateInterpolator"> 5460 <!-- This is the amount of tension. --> 5461 <attr name="tension" format="float" /> 5462 </declare-styleable> 5463 5464 <declare-styleable name="OvershootInterpolator"> 5465 <!-- This is the amount of tension. --> 5466 <attr name="tension" /> 5467 </declare-styleable> 5468 5469 <declare-styleable name="AnticipateOvershootInterpolator"> 5470 <!-- This is the amount of tension. --> 5471 <attr name="tension" /> 5472 <!-- This is the amount by which to multiply the tension. --> 5473 <attr name="extraTension" format="float" /> 5474 </declare-styleable> 5475 5476 <declare-styleable name="PathInterpolator"> 5477 <!-- The x coordinate of the first control point of the cubic Bezier --> 5478 <attr name="controlX1" format="float" /> 5479 <!-- The y coordinate of the first control point of the cubic Bezier --> 5480 <attr name="controlY1" format="float" /> 5481 <!-- The x coordinate of the second control point of the cubic Bezier --> 5482 <attr name="controlX2" format="float" /> 5483 <!-- The y coordinate of the second control point of the cubic Bezier --> 5484 <attr name="controlY2" format="float" /> 5485 <!-- The control points defined as a path. 5486 When pathData is defined, then both of the control points of the 5487 cubic Bezier will be ignored. --> 5488 <attr name="pathData"/> 5489 </declare-styleable> 5490 5491 <!-- ========================== --> 5492 <!-- Transition attributes --> 5493 <!-- ========================== --> 5494 <eat-comment /> 5495 5496 <!-- Use specific transition subclass names as the root tag of the XML resource that 5497 describes a {@link android.transition.Transition Transition}, 5498 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 5499 <declare-styleable name="Transition"> 5500 <!-- Amount of time (in milliseconds) that the transition should run. --> 5501 <attr name="duration" /> 5502 <!-- Delay in milliseconds before the transition starts. --> 5503 <attr name="startDelay" format="integer" /> 5504 <!-- Interpolator to be used in the animations spawned by this transition. --> 5505 <attr name="interpolator" /> 5506 <!-- The match order to use for the transition. This is a comma-separated 5507 list of values, containing one or more of the following: 5508 id, itemId, name, instance. These correspond to 5509 {@link android.transition.Transition#MATCH_ID}, 5510 {@link android.transition.Transition#MATCH_ITEM_ID}, 5511 {@link android.transition.Transition#MATCH_NAME}, and 5512 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 5513 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 5514 <attr name="matchOrder" format="string" /> 5515 </declare-styleable> 5516 5517 <!-- Use <code>fade</code>as the root tag of the XML resource that 5518 describes a {@link android.transition.Fade Fade} transition. 5519 The attributes of the {@link android.R.styleable#Transition Transition} 5520 resource are available in addition to the specific attributes of Fade 5521 described here. --> 5522 <declare-styleable name="Fade"> 5523 <!-- Equivalent to <code>visibilityMode</code>, fadingMode works only 5524 with the Fade transition. --> 5525 <attr name="fadingMode"> 5526 <!-- Fade will only fade appearing items in. --> 5527 <enum name="fade_in" value="1" /> 5528 <!-- Fade will only fade disappearing items out. --> 5529 <enum name="fade_out" value="2" /> 5530 <!-- Fade will fade appearing items in and disappearing items out. --> 5531 <enum name="fade_in_out" value="3" /> 5532 </attr> 5533 </declare-styleable> 5534 5535 <!-- Use <code>slide</code>as the root tag of the XML resource that 5536 describes a {@link android.transition.Slide Slide} transition. 5537 The attributes of the {@link android.R.styleable#Transition Transition} 5538 resource are available in addition to the specific attributes of Slide 5539 described here. --> 5540 <declare-styleable name="Slide"> 5541 <attr name="slideEdge"> 5542 <!-- Slide to and from the left edge of the Scene. --> 5543 <enum name="left" value="0x03" /> 5544 <!-- Slide to and from the top edge of the Scene. --> 5545 <enum name="top" value="0x30" /> 5546 <!-- Slide to and from the right edge of the Scene. --> 5547 <enum name="right" value="0x05" /> 5548 <!-- Slide to and from the bottom edge of the Scene. --> 5549 <enum name="bottom" value="0x50" /> 5550 </attr> 5551 </declare-styleable> 5552 5553 <!-- Use with {@link android.transition.Visibility} transitions, such as 5554 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 5555 views are supported. --> 5556 <declare-styleable name="VisibilityTransition"> 5557 <!-- Changes whether the transition supports appearing and/or disappearing Views. 5558 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 5559 <attr name="visibilityMode"> 5560 <!-- Only appearing Views will be supported. --> 5561 <flag name="mode_in" value="1" /> 5562 <!-- Only disappearing Views will be supported. --> 5563 <flag name="mode_out" value="2" /> 5564 </attr> 5565 </declare-styleable> 5566 <!-- Use <code>target</code> as the root tag of the XML resource that 5567 describes a {@link android.transition.Transition#addTarget(int) 5568 targetId} of a transition. There can be one or more targets inside 5569 a <code>targets</code> tag, which is itself inside an appropriate 5570 {@link android.R.styleable#Transition Transition} tag. 5571 --> 5572 <declare-styleable name="TransitionTarget"> 5573 <!-- The id of a target on which this transition will animate changes. --> 5574 <attr name="targetId" format="reference" /> 5575 <!-- The id of a target to exclude from this transition. --> 5576 <attr name="excludeId" format="reference" /> 5577 <!-- The fully-qualified name of the Class to include in this transition. --> 5578 <attr name="targetClass" /> 5579 <!-- The fully-qualified name of the Class to exclude from this transition. --> 5580 <attr name="excludeClass" format="string" /> 5581 <!-- The transitionName of the target on which this transition will animation changes. --> 5582 <attr name="targetName" format="string" /> 5583 <!-- The transitionName of the target to exclude from this transition. --> 5584 <attr name="excludeName" format="string" /> 5585 </declare-styleable> 5586 5587 <!-- Use <code>set</code> as the root tag of the XML resource that 5588 describes a {@link android.transition.TransitionSet 5589 TransitionSet} transition. --> 5590 <declare-styleable name="TransitionSet"> 5591 <attr name="transitionOrdering"> 5592 <!-- child transitions should be played together. --> 5593 <enum name="together" value="0" /> 5594 <!-- child transitions should be played sequentially, in the same order 5595 as the xml. --> 5596 <enum name="sequential" value="1" /> 5597 </attr> 5598 </declare-styleable> 5599 5600 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 5601 describes a {@link android.transition.TransitionManager 5602 TransitionManager}. --> 5603 <declare-styleable name="TransitionManager"> 5604 <!-- The id of a transition to be used in a particular scene change. --> 5605 <attr name="transition" format="reference" /> 5606 <!-- The originating scene in this scene change. --> 5607 <attr name="fromScene" format="reference" /> 5608 <!-- The destination scene in this scene change. --> 5609 <attr name="toScene" format="reference" /> 5610 </declare-styleable> 5611 5612 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 5613 describes a {@link android.transition.ArcMotion}. This must be used 5614 within a transition with which the PathMotion should be associated. --> 5615 <declare-styleable name="ArcMotion"> 5616 <!-- The minimum arc angle in degrees between the start and end points when 5617 they are close to horizontal. --> 5618 <attr name="minimumHorizontalAngle" format="float" /> 5619 <!-- The minimum arc angle in degrees between the start and end points when 5620 they are close to vertical. --> 5621 <attr name="minimumVerticalAngle" format="float" /> 5622 <!-- The maximum arc angle in degrees between the start and end points. --> 5623 <attr name="maximumAngle" format="float" /> 5624 </declare-styleable> 5625 5626 <!-- Use <code>patternMotion</code> as the root tag of the XML resource that 5627 describes a {@link android.transition.PatternMotion}. This must be used 5628 within a transition with which the PathMotion should be associated. --> 5629 <declare-styleable name="PatternMotion"> 5630 <!-- The path string describing the pattern to use for the PathMotion. --> 5631 <attr name="pathData" /> 5632 </declare-styleable> 5633 5634 <!-- ========================== --> 5635 <!-- ValueAnimator class attributes --> 5636 <!-- ========================== --> 5637 <eat-comment /> 5638 5639 <declare-styleable name="Animator"> 5640 <!-- Defines the interpolator used to smooth the animation movement in time. --> 5641 <attr name="interpolator" /> 5642 <!-- Amount of time (in milliseconds) for the animation to run. --> 5643 <attr name="duration" /> 5644 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 5645 <attr name="startOffset"/> 5646 <!-- Defines how many times the animation should repeat. The default value is 0. --> 5647 <attr name="repeatCount"/> 5648 <!-- Defines the animation behavior when it reaches the end and the repeat count is 5649 greater than 0 or infinite. The default value is restart. --> 5650 <attr name="repeatMode"/> 5651 <!-- Value the animation starts from. --> 5652 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 5653 <!-- Value the animation animates to. --> 5654 <attr name="valueTo" format="float|integer|color|dimension|string"/> 5655 <!-- The type of valueFrom and valueTo. --> 5656 <attr name="valueType"> 5657 <!-- valueFrom and valueTo are floats. This is the default value is valueType is 5658 unspecified. Note that if either valueFrom or valueTo represent colors 5659 (beginning with "#"), then this attribute is ignored and the color values are 5660 interpreted as integers. --> 5661 <enum name="floatType" value="0" /> 5662 <!-- valueFrom and valueTo are integers. --> 5663 <enum name="intType" value="1" /> 5664 <!-- valueFrom and valueTo are paths defined as strings. 5665 This type is used for path morphing in AnimatedVectorDrawable. --> 5666 <enum name="pathType" value="2" /> 5667 </attr> 5668 </declare-styleable> 5669 5670 <!-- ========================== --> 5671 <!-- ObjectAnimator class attributes --> 5672 <!-- ========================== --> 5673 <eat-comment /> 5674 5675 <declare-styleable name="PropertyAnimator"> 5676 <!-- Name of the property being animated. --> 5677 <attr name="propertyName" format="string"/> 5678 <!-- Name of the property being animated as the X coordinate of the pathData. --> 5679 <attr name="propertyXName" format="string"/> 5680 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 5681 <attr name="propertyYName" format="string"/> 5682 <!-- The path used to animate the properties in the ObjectAnimator --> 5683 <attr name="pathData"/> 5684 </declare-styleable> 5685 5686 5687 <!-- ========================== --> 5688 <!-- AnimatorSet class attributes --> 5689 <!-- ========================== --> 5690 <eat-comment /> 5691 5692 <declare-styleable name="AnimatorSet"> 5693 <!-- Name of the property being animated. --> 5694 <attr name="ordering"> 5695 <!-- child animations should be played together. --> 5696 <enum name="together" value="0" /> 5697 <!-- child animations should be played sequentially, in the same order as the xml. --> 5698 <enum name="sequentially" value="1" /> 5699 </attr> 5700 </declare-styleable> 5701 5702 <!-- ========================== --> 5703 <!-- State attributes --> 5704 <!-- ========================== --> 5705 <eat-comment /> 5706 5707 <!-- Drawable states. 5708 The mapping of Drawable states to a particular drawables is specified 5709 in the "state" elements of a Widget's "selector" element. 5710 Possible values: 5711 <ul> 5712 <li>"state_focused" 5713 <li>"state_window_focused" 5714 <li>"state_enabled" 5715 <li>"state_checked" 5716 <li>"state_selected" 5717 <li>"state_active" 5718 <li>"state_single" 5719 <li>"state_first" 5720 <li>"state_mid" 5721 <li>"state_last" 5722 <li>"state_only" 5723 <li>"state_pressed" 5724 <li>"state_activated" 5725 <li>"state_error" 5726 <li>"state_circle" 5727 <li>"state_rect" 5728 <li>"state_grow" 5729 <li>"state_move" 5730 <li>"state_hovered" 5731 <li>"state_drag_can_accept" 5732 <li>"state_drag_hovered" 5733 <li>"state_accessibility_focused" 5734 </ul> --> 5735 <declare-styleable name="DrawableStates"> 5736 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 5737 set when a view has input focus. --> 5738 <attr name="state_focused" format="boolean" /> 5739 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 5740 set when a view's window has input focus. --> 5741 <attr name="state_window_focused" format="boolean" /> 5742 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 5743 set when a view is enabled. --> 5744 <attr name="state_enabled" format="boolean" /> 5745 <!-- State identifier indicating that the object <var>may</var> display a check mark. 5746 See {@link R.attr#state_checked} for the identifier that indicates whether it is 5747 actually checked. --> 5748 <attr name="state_checkable" format="boolean"/> 5749 <!-- State identifier indicating that the object is currently checked. See 5750 {@link R.attr#state_checkable} for an additional identifier that can indicate if 5751 any object may ever display a check, regardless of whether state_checked is 5752 currently set. --> 5753 <attr name="state_checked" format="boolean"/> 5754 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 5755 set when a view (or one of its parents) is currently selected. --> 5756 <attr name="state_selected" format="boolean" /> 5757 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 5758 set when the user is pressing down in a view. --> 5759 <attr name="state_pressed" format="boolean" /> 5760 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 5761 set when a view or its parent has been "activated" meaning the user has currently 5762 marked it as being of interest. This is an alternative representation of 5763 state_checked for when the state should be propagated down the view hierarchy. --> 5764 <attr name="state_activated" format="boolean" /> 5765 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 5766 <attr name="state_active" format="boolean" /> 5767 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 5768 <attr name="state_single" format="boolean" /> 5769 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 5770 <attr name="state_first" format="boolean" /> 5771 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 5772 <attr name="state_middle" format="boolean" /> 5773 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 5774 <attr name="state_last" format="boolean" /> 5775 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 5776 indicating that the Drawable is in a view that is hardware accelerated. 5777 This means that the device can at least render a full-screen scaled 5778 bitmap with one layer of text and bitmaps composited on top of it 5779 at 60fps. When this is set, the colorBackgroundCacheHint will be 5780 ignored even if it specifies a solid color, since that optimization 5781 is not needed. --> 5782 <attr name="state_accelerated" format="boolean" /> 5783 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 5784 set when a pointer is hovering over the view. --> 5785 <attr name="state_hovered" format="boolean" /> 5786 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 5787 indicating that the Drawable is in a view that is capable of accepting a drop of 5788 the content currently being manipulated in a drag-and-drop operation. --> 5789 <attr name="state_drag_can_accept" format="boolean" /> 5790 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 5791 indicating that a drag operation (for which the Drawable's view is a valid recipient) 5792 is currently positioned over the Drawable. --> 5793 <attr name="state_drag_hovered" format="boolean" /> 5794 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 5795 indicating that a View has accessibility focus. --> 5796 <attr name="state_accessibility_focused" format="boolean" /> 5797 </declare-styleable> 5798 <declare-styleable name="ViewDrawableStates"> 5799 <attr name="state_pressed" /> 5800 <attr name="state_focused" /> 5801 <attr name="state_selected" /> 5802 <attr name="state_window_focused" /> 5803 <attr name="state_enabled" /> 5804 <attr name="state_activated" /> 5805 <attr name="state_accelerated" /> 5806 <attr name="state_hovered" /> 5807 <attr name="state_drag_can_accept" /> 5808 <attr name="state_drag_hovered" /> 5809 </declare-styleable> 5810 <!-- State array representing a menu item that is currently checked. --> 5811 <declare-styleable name="MenuItemCheckedState"> 5812 <attr name="state_checkable" /> 5813 <attr name="state_checked" /> 5814 </declare-styleable> 5815 <!-- State array representing a menu item that is checkable but is not currently checked. --> 5816 <declare-styleable name="MenuItemUncheckedState"> 5817 <attr name="state_checkable" /> 5818 </declare-styleable> 5819 <!-- State array representing a menu item that is currently focused and checked. --> 5820 <declare-styleable name="MenuItemCheckedFocusedState"> 5821 <attr name="state_checkable" /> 5822 <attr name="state_checked" /> 5823 <attr name="state_focused" /> 5824 </declare-styleable> 5825 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 5826 <declare-styleable name="MenuItemUncheckedFocusedState"> 5827 <attr name="state_checkable" /> 5828 <attr name="state_focused" /> 5829 </declare-styleable> 5830 <!-- State array representing an expandable list child's indicator. --> 5831 <declare-styleable name="ExpandableListChildIndicatorState"> 5832 <!-- State identifier indicating the child is the last child within its group. --> 5833 <attr name="state_last" /> 5834 </declare-styleable> 5835 <!-- State array representing an expandable list group's indicator. --> 5836 <declare-styleable name="ExpandableListGroupIndicatorState"> 5837 <!-- State identifier indicating the group is expanded. --> 5838 <attr name="state_expanded" format="boolean" /> 5839 <!-- State identifier indicating the group is empty (has no children). --> 5840 <attr name="state_empty" format="boolean" /> 5841 </declare-styleable> 5842 <declare-styleable name="PopupWindowBackgroundState"> 5843 <!-- State identifier indicating the popup will be above the anchor. --> 5844 <attr name="state_above_anchor" format="boolean" /> 5845 </declare-styleable> 5846 <declare-styleable name="TextViewMultiLineBackgroundState"> 5847 <!-- State identifier indicating a TextView has a multi-line layout. --> 5848 <attr name="state_multiline" format="boolean" /> 5849 </declare-styleable> 5850 5851 <!-- ***************************************************************** --> 5852 <!-- Support for Searchable activities. --> 5853 <!-- ***************************************************************** --> 5854 <eat-comment /> 5855 5856 <!-- Searchable activities and applications must provide search configuration information 5857 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 5858 For a more in-depth discussion of search configuration, please refer to 5859 {@link android.app.SearchManager}. --> 5860 <declare-styleable name="Searchable"> 5861 <!--<strong>This is deprecated.</strong><br/>The default 5862 application icon is now always used, so this attribute is 5863 obsolete.--> 5864 <attr name="icon" /> 5865 <!-- This is the user-displayed name of the searchable activity. <i>Required 5866 attribute.</i> --> 5867 <attr name="label" /> 5868 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 5869 attribute.</i> --> 5870 <attr name="hint" /> 5871 <!-- If supplied, this string will be displayed as the text of the "Search" button. 5872 <i>Optional attribute.</i> 5873 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 5874 changing to use only icons for its buttons.}--> 5875 <attr name="searchButtonText" format="string" /> 5876 <attr name="inputType" /> 5877 <attr name="imeOptions" /> 5878 5879 <!-- Additional features are controlled by mode bits in this field. Omitting 5880 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 5881 --> 5882 <attr name="searchMode"> 5883 <!-- If set, this flag enables the display of the search target (label) within the 5884 search bar. If neither bad mode is selected, no badge will be shown. --> 5885 <flag name="showSearchLabelAsBadge" value="0x04" /> 5886 <!--<strong>This is deprecated.</strong><br/>The default 5887 application icon is now always used, so this option is 5888 obsolete.--> 5889 <flag name="showSearchIconAsBadge" value="0x08" /> 5890 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 5891 be considered as the text for suggestion query rewriting. This should only 5892 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 5893 inspection and editing - typically, HTTP/HTTPS Uri's. --> 5894 <flag name="queryRewriteFromData" value="0x10" /> 5895 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 5896 be considered as the text for suggestion query rewriting. This should be used 5897 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 5898 values are not suitable for user inspection and editing. --> 5899 <flag name="queryRewriteFromText" value="0x20" /> 5900 </attr> 5901 5902 <!-- Voice search features are controlled by mode bits in this field. Omitting 5903 this field, or setting to zero, provides default behavior. 5904 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 5905 also be set. <i>Optional attribute.</i> 5906 --> 5907 <attr name="voiceSearchMode"> 5908 <!-- If set, display a voice search button. This only takes effect if voice search is 5909 available on the device. --> 5910 <flag name="showVoiceSearchButton" value="0x01" /> 5911 <!-- If set, the voice search button will take the user directly to a built-in 5912 voice web search activity. Most applications will not use this flag, as it 5913 will take the user away from the activity in which search was invoked. --> 5914 <flag name="launchWebSearch" value="0x02" /> 5915 <!-- If set, the voice search button will take the user directly to a built-in 5916 voice recording activity. This activity will prompt the user to speak, 5917 transcribe the spoken text, and forward the resulting query 5918 text to the searchable activity, just as if the user had typed it into 5919 the search UI and clicked the search button. --> 5920 <flag name="launchRecognizer" value="0x04" /> 5921 </attr> 5922 5923 <!-- If provided, this specifies the language model that should be used by the 5924 voice recognition system. See 5925 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 5926 If not provided, the default value 5927 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 5928 <attr name="voiceLanguageModel" format="string" /> 5929 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 5930 <attr name="voicePromptText" format="string" /> 5931 <!-- If provided, this specifies the spoken language to be expected, and that it will be 5932 different than the one set in the {@link java.util.Locale#getDefault()}. --> 5933 <attr name="voiceLanguage" format="string" /> 5934 <!-- If provided, enforces the maximum number of results to return, including the "best" 5935 result which will always be provided as the SEARCH intent's primary query. Must be one 5936 or greater. If not provided, the recognizer will choose how many results to return. 5937 --> 5938 <attr name="voiceMaxResults" format="integer" /> 5939 5940 <!-- If provided, this is the trigger indicating that the searchable activity 5941 provides suggestions as well. The value must be a fully-qualified content provider 5942 authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the 5943 "android:authorities" tag in your content provider's manifest entry. <i>Optional 5944 attribute.</i> --> 5945 <attr name="searchSuggestAuthority" format="string" /> 5946 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 5947 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 5948 --> 5949 <attr name="searchSuggestPath" format="string" /> 5950 <!-- If provided, suggestion queries will be passed into your query function 5951 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 5952 database, and will contain a single question mark, which represents the actual query 5953 string that has been typed by the user. If not provided, then the user query text 5954 will be appended to the query Uri (after an additional "/".) <i>Optional 5955 attribute.</i> --> 5956 <attr name="searchSuggestSelection" format="string" /> 5957 5958 <!-- If provided, and not overridden by an action in the selected suggestion, this 5959 string will be placed in the action field of the {@link android.content.Intent Intent} 5960 when the user clicks a suggestion. <i>Optional attribute.</i> --> 5961 <attr name="searchSuggestIntentAction" format="string" /> 5962 <!-- If provided, and not overridden by an action in the selected suggestion, this 5963 string will be placed in the data field of the {@link android.content.Intent Intent} 5964 when the user clicks a suggestion. <i>Optional attribute.</i> --> 5965 <attr name="searchSuggestIntentData" format="string" /> 5966 5967 <!-- If provided, this is the minimum number of characters needed to trigger 5968 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 5969 <attr name="searchSuggestThreshold" format="integer" /> 5970 5971 <!-- If provided and <code>true</code>, this searchable activity will be 5972 included in any global lists of search targets. 5973 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 5974 <attr name="includeInGlobalSearch" format="boolean" /> 5975 5976 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 5977 queries in a particular session. If set to <code>false</code> and the activity 5978 returned zero results for a query, it will not be invoked again in that session for 5979 supersets of that zero-results query. For example, if the activity returned zero 5980 results for "bo", it would not be queried again for "bob". 5981 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 5982 <attr name="queryAfterZeroResults" format="boolean" /> 5983 <!-- If provided, this string will be used to describe the searchable item in the 5984 searchable items settings within system search settings. <i>Optional 5985 attribute.</i> --> 5986 <attr name="searchSettingsDescription" format="string" /> 5987 5988 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 5989 within this activity would be detected and treated as URLs (show a 'go' button in the 5990 keyboard and invoke the browser directly when user launches the URL instead of passing 5991 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 5992 normal query text. 5993 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 5994 <attr name="autoUrlDetect" format="boolean" /> 5995 5996 </declare-styleable> 5997 5998 <!-- In order to process special action keys during search, you must define them using 5999 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6000 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6001 --> 6002 <declare-styleable name="SearchableActionKey"> 6003 <!-- This attribute denotes the action key you wish to respond to. Note that not 6004 all action keys are actually supported using this mechanism, as many of them are 6005 used for typing, navigation, or system functions. This will be added to the 6006 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6007 searchable activity. To examine the key code, use 6008 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6009 <p>Note, in addition to the keycode, you must also provide one or more of the action 6010 specifier attributes. <i>Required attribute.</i> --> 6011 <attr name="keycode" /> 6012 6013 <!-- If you wish to handle an action key during normal search query entry, you 6014 must define an action string here. This will be added to the 6015 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6016 searchable activity. To examine the string, use 6017 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6018 <i>Optional attribute.</i> --> 6019 <attr name="queryActionMsg" format="string" /> 6020 6021 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6022 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6023 can handle the action key, you can simply define the action message using this 6024 attribute. This will be added to the 6025 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6026 searchable activity. To examine the string, use 6027 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6028 <i>Optional attribute.</i> --> 6029 <attr name="suggestActionMsg" format="string" /> 6030 6031 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6032 selected</i>, but you do not wish to enable this action key for every suggestion, 6033 then you can use this attribute to control it on a suggestion-by-suggestion basis. 6034 First, you must define a column (and name it here) where your suggestions will include 6035 the action string. Then, in your content provider, you must provide this column, and 6036 when desired, provide data in this column. 6037 The search manager will look at your suggestion cursor, using the string 6038 provided here in order to select a column, and will use that to select a string from 6039 the cursor. That string will be added to the 6040 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 6041 your searchable activity. To examine the string, use 6042 {@link android.content.Intent#getStringExtra 6043 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 6044 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 6045 <attr name="suggestActionMsgColumn" format="string" /> 6046 6047 </declare-styleable> 6048 6049 <!-- ***************************************************************** --> 6050 <!-- Support for MapView. --> 6051 <!-- ***************************************************************** --> 6052 <eat-comment /> 6053 6054 <!-- The set of attributes for a MapView. --> 6055 <declare-styleable name="MapView"> 6056 <!-- Value is a string that specifies the Maps API Key to use. --> 6057 <attr name="apiKey" format="string" /> 6058 </declare-styleable> 6059 6060 <!-- **************************************************************** --> 6061 <!-- Menu XML inflation. --> 6062 <!-- **************************************************************** --> 6063 <eat-comment /> 6064 6065 <!-- Base attributes that are available to all Menu objects. --> 6066 <declare-styleable name="Menu"> 6067 </declare-styleable> 6068 6069 <!-- Base attributes that are available to all groups. --> 6070 <declare-styleable name="MenuGroup"> 6071 6072 <!-- The ID of the group. --> 6073 <attr name="id" /> 6074 6075 <!-- The category applied to all items within this group. 6076 (This will be or'ed with the orderInCategory attribute.) --> 6077 <attr name="menuCategory"> 6078 <!-- Items are part of a container. --> 6079 <enum name="container" value="0x00010000" /> 6080 <!-- Items are provided by the system. --> 6081 <enum name="system" value="0x00020000" /> 6082 <!-- Items are user-supplied secondary (infrequently used). --> 6083 <enum name="secondary" value="0x00030000" /> 6084 <!-- Items are alternative actions. --> 6085 <enum name="alternative" value="0x00040000" /> 6086 </attr> 6087 6088 <!-- The order within the category applied to all items within this group. 6089 (This will be or'ed with the category attribute.) --> 6090 <attr name="orderInCategory" format="integer" /> 6091 6092 <!-- Whether the items are capable of displaying a check mark. --> 6093 <attr name="checkableBehavior"> 6094 <!-- The items are not checkable. --> 6095 <enum name="none" value="0" /> 6096 <!-- The items are all checkable. --> 6097 <enum name="all" value="1" /> 6098 <!-- The items are checkable and there will only be a single checked item in 6099 this group. --> 6100 <enum name="single" value="2" /> 6101 </attr> 6102 6103 <!-- Whether the items are shown/visible. --> 6104 <attr name="visible" /> 6105 6106 <!-- Whether the items are enabled. --> 6107 <attr name="enabled" /> 6108 6109 </declare-styleable> 6110 6111 <!-- Base attributes that are available to all Item objects. --> 6112 <declare-styleable name="MenuItem"> 6113 6114 <!-- The ID of the item. --> 6115 <attr name="id" /> 6116 6117 <!-- The category applied to the item. 6118 (This will be or'ed with the orderInCategory attribute.) --> 6119 <attr name="menuCategory" /> 6120 6121 <!-- The order within the category applied to the item. 6122 (This will be or'ed with the category attribute.) --> 6123 <attr name="orderInCategory" /> 6124 6125 <!-- The title associated with the item. --> 6126 <attr name="title" format="string" /> 6127 6128 <!-- The condensed title associated with the item. This is used in situations where the 6129 normal title may be too long to be displayed. --> 6130 <attr name="titleCondensed" format="string" /> 6131 6132 <!-- The icon associated with this item. This icon will not always be shown, so 6133 the title should be sufficient in describing this item. --> 6134 <attr name="icon" /> 6135 6136 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 6137 with alphabetic keys. --> 6138 <attr name="alphabeticShortcut" format="string" /> 6139 6140 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) 6141 keyboard. --> 6142 <attr name="numericShortcut" format="string" /> 6143 6144 <!-- Whether the item is capable of displaying a check mark. --> 6145 <attr name="checkable" format="boolean" /> 6146 6147 <!-- Whether the item is checked. Note that you must first have enabled checking with 6148 the checkable attribute or else the check mark will not appear. --> 6149 <attr name="checked" /> 6150 6151 <!-- Whether the item is shown/visible. --> 6152 <attr name="visible" /> 6153 6154 <!-- Whether the item is enabled. --> 6155 <attr name="enabled" /> 6156 6157 <!-- Name of a method on the Context used to inflate the menu that will be 6158 called when the item is clicked. --> 6159 <attr name="onClick" /> 6160 6161 <!-- How this item should display in the Action Bar, if present. --> 6162 <attr name="showAsAction"> 6163 <!-- Never show this item in an action bar, show it in the overflow menu instead. 6164 Mutually exclusive with "ifRoom" and "always". --> 6165 <flag name="never" value="0" /> 6166 <!-- Show this item in an action bar if there is room for it as determined 6167 by the system. Favor this option over "always" where possible. 6168 Mutually exclusive with "never" and "always". --> 6169 <flag name="ifRoom" value="1" /> 6170 <!-- Always show this item in an actionbar, even if it would override 6171 the system's limits of how much stuff to put there. This may make 6172 your action bar look bad on some screens. In most cases you should 6173 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 6174 <flag name="always" value="2" /> 6175 <!-- When this item is shown as an action in the action bar, show a text 6176 label with it even if it has an icon representation. --> 6177 <flag name="withText" value="4" /> 6178 <!-- This item's action view collapses to a normal menu 6179 item. When expanded, the action view takes over a 6180 larger segment of its container. --> 6181 <flag name="collapseActionView" value="8" /> 6182 </attr> 6183 6184 <!-- An optional layout to be used as an action view. 6185 See {@link android.view.MenuItem#setActionView(android.view.View)} 6186 for more info. --> 6187 <attr name="actionLayout" format="reference" /> 6188 6189 <!-- The name of an optional View class to instantiate and use as an 6190 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 6191 for more info. --> 6192 <attr name="actionViewClass" format="string" /> 6193 6194 <!-- The name of an optional ActionProvider class to instantiate an action view 6195 and perform operations such as default action for that menu item. 6196 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 6197 for more info. --> 6198 <attr name="actionProviderClass" format="string" /> 6199 6200 </declare-styleable> 6201 6202 <!-- Attrbitutes for a ActvityChooserView. --> 6203 <declare-styleable name="ActivityChooserView"> 6204 <!-- The maximal number of items initially shown in the activity list. --> 6205 <attr name="initialActivityCount" format="string" /> 6206 <!-- The drawable to show in the button for expanding the activities overflow popup. 6207 <strong>Note:</strong> Clients would like to set this drawable 6208 as a clue about the action the chosen activity will perform. For 6209 example, if share activity is to be chosen the drawable should 6210 give a clue that sharing is to be performed. 6211 --> 6212 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 6213 </declare-styleable> 6214 6215 <!-- **************************************************************** --> 6216 <!-- Preferences framework. --> 6217 <!-- **************************************************************** --> 6218 <eat-comment /> 6219 6220 <!-- Base attributes available to PreferenceGroup. --> 6221 <declare-styleable name="PreferenceGroup"> 6222 <!-- Whether to order the Preference under this group as they appear in the XML file. 6223 If this is false, the ordering will follow the Preference order attribute and 6224 default to alphabetic for those without the order attribute. --> 6225 <attr name="orderingFromXml" format="boolean" /> 6226 </declare-styleable> 6227 6228 <!-- Attribute for a header describing the item shown in the top-level list 6229 from which the selects the set of preference to dig in to. --> 6230 <declare-styleable name="PreferenceHeader"> 6231 <!-- Identifier value for the header. --> 6232 <attr name="id" /> 6233 <!-- The title of the item that is shown to the user. --> 6234 <attr name="title" /> 6235 <!-- The summary for the item. --> 6236 <attr name="summary" format="string" /> 6237 <!-- The title for the bread crumb of this item. --> 6238 <attr name="breadCrumbTitle" format="string" /> 6239 <!-- The short title for the bread crumb of this item. --> 6240 <attr name="breadCrumbShortTitle" format="string" /> 6241 <!-- An icon for the item. --> 6242 <attr name="icon" /> 6243 <!-- The fragment that is displayed when the user selects this item. --> 6244 <attr name="fragment" format="string" /> 6245 </declare-styleable> 6246 6247 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 6248 with a View's attributes. Some subclasses (e.g., EditTextPreference) 6249 proxy all attributes to its EditText widget. --> 6250 <eat-comment /> 6251 6252 <!-- Base attributes available to Preference. --> 6253 <declare-styleable name="Preference"> 6254 <!-- The optional icon for the preference --> 6255 <attr name="icon" /> 6256 <!-- The key to store the Preference value. --> 6257 <attr name="key" format="string" /> 6258 <!-- The title for the Preference in a PreferenceActivity screen. --> 6259 <attr name="title" /> 6260 <!-- The summary for the Preference in a PreferenceActivity screen. --> 6261 <attr name="summary" /> 6262 <!-- The order for the Preference (lower values are to be ordered first). If this is not 6263 specified, the default orderin will be alphabetic. --> 6264 <attr name="order" format="integer" /> 6265 <!-- When used inside of a modern PreferenceActivity, this declares 6266 a new PreferenceFragment to be shown when the user selects this item. --> 6267 <attr name="fragment" /> 6268 <!-- The layout for the Preference in a PreferenceActivity screen. This should 6269 rarely need to be changed, look at widgetLayout instead. --> 6270 <attr name="layout" /> 6271 <!-- The layout for the controllable widget portion of a Preference. This is inflated 6272 into the layout for a Preference and should be used more frequently than 6273 the layout attribute. For example, a checkbox preference would specify 6274 a custom layout (consisting of just the CheckBox) here. --> 6275 <attr name="widgetLayout" format="reference" /> 6276 <!-- Whether the Preference is enabled. --> 6277 <attr name="enabled" /> 6278 <!-- Whether the Preference is selectable. --> 6279 <attr name="selectable" format="boolean" /> 6280 <!-- The key of another Preference that this Preference will depend on. If the other 6281 Preference is not set or is off, this Preference will be disabled. --> 6282 <attr name="dependency" format="string" /> 6283 <!-- Whether the Preference stores its value to the shared preferences. --> 6284 <attr name="persistent" /> 6285 <!-- The default value for the preference, which will be set either if persistence 6286 is off or persistence is on and the preference is not found in the persistent 6287 storage. --> 6288 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 6289 <!-- Whether the view of this Preference should be disabled when 6290 this Preference is disabled. --> 6291 <attr name="shouldDisableView" format="boolean" /> 6292 </declare-styleable> 6293 6294 <!-- Base attributes available to CheckBoxPreference. --> 6295 <declare-styleable name="CheckBoxPreference"> 6296 <!-- The summary for the Preference in a PreferenceActivity screen when the 6297 CheckBoxPreference is checked. If separate on/off summaries are not 6298 needed, the summary attribute can be used instead. --> 6299 <attr name="summaryOn" format="string" /> 6300 <!-- The summary for the Preference in a PreferenceActivity screen when the 6301 CheckBoxPreference is unchecked. If separate on/off summaries are not 6302 needed, the summary attribute can be used instead. --> 6303 <attr name="summaryOff" format="string" /> 6304 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 6305 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 6306 <attr name="disableDependentsState" format="boolean" /> 6307 </declare-styleable> 6308 6309 <!-- Base attributes available to DialogPreference. --> 6310 <declare-styleable name="DialogPreference"> 6311 <!-- The title in the dialog. --> 6312 <attr name="dialogTitle" format="string" /> 6313 <!-- The message in the dialog. If a dialogLayout is provided and contains 6314 a TextView with ID android:id/message, this message will be placed in there. --> 6315 <attr name="dialogMessage" format="string" /> 6316 <!-- The icon for the dialog. --> 6317 <attr name="dialogIcon" format="reference" /> 6318 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 6319 <attr name="positiveButtonText" format="string" /> 6320 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 6321 <attr name="negativeButtonText" format="string" /> 6322 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 6323 be needed. If a custom DialogPreference is required, this should be set. For example, 6324 the EditTextPreference uses a layout with an EditText as this attribute. --> 6325 <attr name="dialogLayout" format="reference" /> 6326 </declare-styleable> 6327 6328 <!-- Base attributes available to ListPreference. --> 6329 <declare-styleable name="ListPreference"> 6330 <!-- The human-readable array to present as a list. Each entry must have a corresponding 6331 index in entryValues. --> 6332 <attr name="entries" /> 6333 <!-- The array to find the value to save for a preference when an entry from 6334 entries is selected. If a user clicks on the second item in entries, the 6335 second item in this array will be saved to the preference. --> 6336 <attr name="entryValues" format="reference" /> 6337 </declare-styleable> 6338 6339 <declare-styleable name="MultiSelectListPreference"> 6340 <!-- The human-readable array to present as a list. Each entry must have a corresponding 6341 index in entryValues. --> 6342 <attr name="entries" /> 6343 <!-- The array to find the value to save for a preference when an entry from 6344 entries is selected. If a user clicks the second item in entries, the 6345 second item in this array will be saved to the preference. --> 6346 <attr name="entryValues" /> 6347 </declare-styleable> 6348 6349 <!-- Base attributes available to RingtonePreference. --> 6350 <declare-styleable name="RingtonePreference"> 6351 <!-- Which ringtone type(s) to show in the picker. --> 6352 <attr name="ringtoneType"> 6353 <!-- Ringtones. --> 6354 <flag name="ringtone" value="1" /> 6355 <!-- Notification sounds. --> 6356 <flag name="notification" value="2" /> 6357 <!-- Alarm sounds. --> 6358 <flag name="alarm" value="4" /> 6359 <!-- All available ringtone sounds. --> 6360 <flag name="all" value="7" /> 6361 </attr> 6362 <!-- Whether to show an item for a default sound. --> 6363 <attr name="showDefault" format="boolean" /> 6364 <!-- Whether to show an item for 'Silent'. --> 6365 <attr name="showSilent" format="boolean" /> 6366 </declare-styleable> 6367 6368 <!-- Base attributes available to VolumePreference. --> 6369 <declare-styleable name="VolumePreference"> 6370 <!-- Different audio stream types. --> 6371 <attr name="streamType"> 6372 <enum name="voice" value="0" /> 6373 <enum name="system" value="1" /> 6374 <enum name="ring" value="2" /> 6375 <enum name="music" value="3" /> 6376 <enum name="alarm" value="4" /> 6377 </attr> 6378 </declare-styleable> 6379 6380 <declare-styleable name="InputMethodService"> 6381 <!-- Background to use for entire input method when it is being 6382 shown in fullscreen mode with the extract view, to ensure 6383 that it completely covers the application. This allows, 6384 for example, the candidate view to be hidden 6385 while in fullscreen mode without having the application show through 6386 behind it.--> 6387 <attr name="imeFullscreenBackground" format="reference|color" /> 6388 <!-- Animation to use when showing the fullscreen extract UI after 6389 it had previously been hidden. --> 6390 <attr name="imeExtractEnterAnimation" format="reference" /> 6391 <!-- Animation to use when hiding the fullscreen extract UI after 6392 it had previously been shown. --> 6393 <attr name="imeExtractExitAnimation" format="reference" /> 6394 </declare-styleable> 6395 6396 <declare-styleable name="VoiceInteractionSession"> 6397 </declare-styleable> 6398 6399 <declare-styleable name="KeyboardView"> 6400 <!-- Default KeyboardView style. --> 6401 <attr name="keyboardViewStyle" format="reference" /> 6402 6403 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 6404 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 6405 checkable+checked+pressed. --> 6406 <attr name="keyBackground" format="reference" /> 6407 6408 <!-- Size of the text for character keys. --> 6409 <attr name="keyTextSize" format="dimension" /> 6410 6411 <!-- Size of the text for custom keys with some text and no icon. --> 6412 <attr name="labelTextSize" format="dimension" /> 6413 6414 <!-- Color to use for the label in a key. --> 6415 <attr name="keyTextColor" format="color" /> 6416 6417 <!-- Layout resource for key press feedback.--> 6418 <attr name="keyPreviewLayout" format="reference" /> 6419 6420 <!-- Vertical offset of the key press feedback from the key. --> 6421 <attr name="keyPreviewOffset" format="dimension" /> 6422 6423 <!-- Height of the key press feedback popup. --> 6424 <attr name="keyPreviewHeight" format="dimension" /> 6425 6426 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 6427 <attr name="verticalCorrection" format="dimension" /> 6428 6429 <!-- Layout resource for popup keyboards. --> 6430 <attr name="popupLayout" format="reference" /> 6431 6432 <attr name="shadowColor" /> 6433 <attr name="shadowRadius" /> 6434 </declare-styleable> 6435 6436 <declare-styleable name="KeyboardViewPreviewState"> 6437 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 6438 key preview background. --> 6439 <attr name="state_long_pressable" format="boolean" /> 6440 </declare-styleable> 6441 6442 <declare-styleable name="Keyboard"> 6443 <!-- Default width of a key, in pixels or percentage of display width. --> 6444 <attr name="keyWidth" format="dimension|fraction" /> 6445 <!-- Default height of a key, in pixels or percentage of display width. --> 6446 <attr name="keyHeight" format="dimension|fraction" /> 6447 <!-- Default horizontal gap between keys. --> 6448 <attr name="horizontalGap" format="dimension|fraction" /> 6449 <!-- Default vertical gap between rows of keys. --> 6450 <attr name="verticalGap" format="dimension|fraction" /> 6451 </declare-styleable> 6452 6453 <declare-styleable name="Keyboard_Row"> 6454 <!-- Row edge flags. --> 6455 <attr name="rowEdgeFlags"> 6456 <!-- Row is anchored to the top of the keyboard. --> 6457 <flag name="top" value="4" /> 6458 <!-- Row is anchored to the bottom of the keyboard. --> 6459 <flag name="bottom" value="8" /> 6460 </attr> 6461 <!-- Mode of the keyboard. If the mode doesn't match the 6462 requested keyboard mode, the row will be skipped. --> 6463 <attr name="keyboardMode" format="reference" /> 6464 </declare-styleable> 6465 6466 <declare-styleable name="Keyboard_Key"> 6467 <!-- The unicode value or comma-separated values that this key outputs. --> 6468 <attr name="codes" format="integer|string" /> 6469 <!-- The XML keyboard layout of any popup keyboard. --> 6470 <attr name="popupKeyboard" format="reference" /> 6471 <!-- The characters to display in the popup keyboard. --> 6472 <attr name="popupCharacters" format="string" /> 6473 <!-- Key edge flags. --> 6474 <attr name="keyEdgeFlags"> 6475 <!-- Key is anchored to the left of the keyboard. --> 6476 <flag name="left" value="1" /> 6477 <!-- Key is anchored to the right of the keyboard. --> 6478 <flag name="right" value="2" /> 6479 </attr> 6480 <!-- Whether this is a modifier key such as Alt or Shift. --> 6481 <attr name="isModifier" format="boolean" /> 6482 <!-- Whether this is a toggle key. --> 6483 <attr name="isSticky" format="boolean" /> 6484 <!-- Whether long-pressing on this key will make it repeat. --> 6485 <attr name="isRepeatable" format="boolean" /> 6486 <!-- The icon to show in the popup preview. --> 6487 <attr name="iconPreview" format="reference" /> 6488 <!-- The string of characters to output when this key is pressed. --> 6489 <attr name="keyOutputText" format="string" /> 6490 <!-- The label to display on the key. --> 6491 <attr name="keyLabel" format="string" /> 6492 <!-- The icon to display on the key instead of the label. --> 6493 <attr name="keyIcon" format="reference" /> 6494 <!-- Mode of the keyboard. If the mode doesn't match the 6495 requested keyboard mode, the key will be skipped. --> 6496 <attr name="keyboardMode" /> 6497 </declare-styleable> 6498 6499 <!-- =============================== --> 6500 <!-- AppWidget package class attributes --> 6501 <!-- =============================== --> 6502 <eat-comment /> 6503 6504 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 6505 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 6506 package for more info. 6507 --> 6508 <declare-styleable name="AppWidgetProviderInfo"> 6509 <!-- Minimum width of the AppWidget. --> 6510 <attr name="minWidth"/> 6511 <!-- Minimum height of the AppWidget. --> 6512 <attr name="minHeight"/> 6513 <!-- Minimum width that the AppWidget can be resized to. --> 6514 <attr name="minResizeWidth" format="dimension"/> 6515 <!-- Minimum height that the AppWidget can be resized to. --> 6516 <attr name="minResizeHeight" format="dimension"/> 6517 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 6518 <attr name="updatePeriodMillis" format="integer" /> 6519 <!-- A resource id of a layout. --> 6520 <attr name="initialLayout" format="reference" /> 6521 <!-- A resource id of a layout. --> 6522 <attr name="initialKeyguardLayout" format="reference" /> 6523 <!-- A class name in the AppWidget's package to be launched to configure. 6524 If not supplied, then no activity will be launched. --> 6525 <attr name="configure" format="string" /> 6526 <!-- A preview of what the AppWidget will look like after it's configured. 6527 If not supplied, the AppWidget's icon will be used. --> 6528 <attr name="previewImage" format="reference" /> 6529 <!-- The view id of the AppWidget subview which should be auto-advanced. 6530 by the widget's host. --> 6531 <attr name="autoAdvanceViewId" format="reference" /> 6532 <!-- Optional parameter which indicates if and how this widget can be 6533 resized. Supports combined values using | operator. --> 6534 <attr name="resizeMode" format="integer"> 6535 <flag name="none" value="0x0" /> 6536 <flag name="horizontal" value="0x1" /> 6537 <flag name="vertical" value="0x2" /> 6538 </attr> 6539 <!-- Optional parameter which indicates where this widget can be shown, 6540 ie. home screen, keyguard, recents or any combination thereof. 6541 Supports combined values using | operator. --> 6542 <attr name="widgetCategory" format="integer"> 6543 <flag name="home_screen" value="0x1" /> 6544 <flag name="keyguard" value="0x2" /> 6545 <flag name="recents" value="0x4" /> 6546 </attr> 6547 </declare-styleable> 6548 6549 <!-- =============================== --> 6550 <!-- Wallpaper preview attributes --> 6551 <!-- =============================== --> 6552 <eat-comment /> 6553 6554 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 6555 describes a wallpaper preview. --> 6556 <declare-styleable name="WallpaperPreviewInfo"> 6557 <!-- A resource id of a static drawable. --> 6558 <attr name="staticWallpaperPreview" format="reference" /> 6559 </declare-styleable> 6560 6561 <!-- =============================== --> 6562 <!-- App package class attributes --> 6563 <!-- =============================== --> 6564 <eat-comment /> 6565 6566 <!-- ============================= --> 6567 <!-- View package class attributes --> 6568 <!-- ============================= --> 6569 <eat-comment /> 6570 6571 <!-- Attributes that can be used with <code><fragment></code> 6572 tags inside of the layout of an Activity. This instantiates 6573 the given {@link android.app.Fragment} and inserts its content 6574 view into the current location in the layout. --> 6575 <declare-styleable name="Fragment"> 6576 <!-- Supply the name of the fragment class to instantiate. --> 6577 <attr name="name" /> 6578 6579 <!-- Supply an identifier name for the top-level view, to later retrieve it 6580 with {@link android.view.View#findViewById View.findViewById()} or 6581 {@link android.app.Activity#findViewById Activity.findViewById()}. 6582 This must be a 6583 resource reference; typically you set this using the 6584 <code>@+</code> syntax to create a new ID resources. 6585 For example: <code>android:id="@+id/my_id"</code> which 6586 allows you to later retrieve the view 6587 with <code>findViewById(R.id.my_id)</code>. --> 6588 <attr name="id" /> 6589 6590 <!-- Supply a tag for the top-level view containing a String, to be retrieved 6591 later with {@link android.view.View#getTag View.getTag()} or 6592 searched for with {@link android.view.View#findViewWithTag 6593 View.findViewWithTag()}. It is generally preferable to use 6594 IDs (through the android:id attribute) instead of tags because 6595 they are faster and allow for compile-time type checking. --> 6596 <attr name="tag" /> 6597 </declare-styleable> 6598 6599 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 6600 describes a 6601 {@link android.app.admin.DeviceAdminReceiver}, which is 6602 referenced from its 6603 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 6604 meta-data entry. Described here are the attributes that can be 6605 included in that tag. --> 6606 <declare-styleable name="DeviceAdmin"> 6607 <!-- Control whether the admin is visible to the user, even when it 6608 is not enabled. This is true by default. You may want to make 6609 it false if your admin does not make sense to be turned on 6610 unless some explicit action happens in your app. --> 6611 <attr name="visible" /> 6612 </declare-styleable> 6613 6614 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 6615 describes an 6616 {@link android.service.wallpaper.WallpaperService}, which is 6617 referenced from its 6618 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 6619 meta-data entry. Described here are the attributes that can be 6620 included in that tag. --> 6621 <declare-styleable name="Wallpaper"> 6622 <attr name="settingsActivity" /> 6623 6624 <!-- Reference to a the wallpaper's thumbnail bitmap. --> 6625 <attr name="thumbnail" format="reference" /> 6626 6627 <!-- Name of the author of this component, e.g. Google. --> 6628 <attr name="author" format="reference" /> 6629 6630 <!-- Short description of the component's purpose or behavior. --> 6631 <attr name="description" /> 6632 </declare-styleable> 6633 6634 <!-- Use <code>dream</code> as the root tag of the XML resource that 6635 describes an 6636 {@link android.service.dreams.DreamService}, which is 6637 referenced from its 6638 {@link android.service.dreams.DreamService#DREAM_META_DATA} 6639 meta-data entry. Described here are the attributes that can be 6640 included in that tag. --> 6641 <declare-styleable name="Dream"> 6642 <!-- Component name of an activity that allows the user to modify 6643 the settings for this dream. --> 6644 <attr name="settingsActivity" /> 6645 </declare-styleable> 6646 6647 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 6648 describes an {@link android.service.trust.TrustAgentService}, which is 6649 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 6650 meta-data entry. Described here are the attributes that can be included in that tag. 6651 @hide --> 6652 <declare-styleable name="TrustAgent"> 6653 <!-- @SystemApi Component name of an activity that allows the user to modify 6654 the settings for this trust agent. @hide --> 6655 <attr name="settingsActivity" /> 6656 <!-- @SystemApi Title for a preference that allows that user to launch the 6657 activity to modify trust agent settings. @hide --> 6658 <attr name="title" /> 6659 <!-- @SystemApi Summary for the same preference as the title. @hide --> 6660 <attr name="summary" /> 6661 </declare-styleable> 6662 6663 <!-- =============================== --> 6664 <!-- Accounts package class attributes --> 6665 <!-- =============================== --> 6666 <eat-comment /> 6667 6668 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 6669 describes an account authenticator. 6670 --> 6671 <declare-styleable name="AccountAuthenticator"> 6672 <!-- The account type this authenticator handles. --> 6673 <attr name="accountType" format="string"/> 6674 <!-- The user-visible name of the authenticator. --> 6675 <attr name="label"/> 6676 <!-- The icon of the authenticator. --> 6677 <attr name="icon"/> 6678 <!-- Smaller icon of the authenticator. --> 6679 <attr name="smallIcon" format="reference"/> 6680 <!-- A preferences.xml file for authenticator-specific settings. --> 6681 <attr name="accountPreferences" format="reference"/> 6682 <!-- Account handles its own token storage and permissions. 6683 Default to false 6684 --> 6685 <attr name="customTokens" format="boolean"/> 6686 </declare-styleable> 6687 6688 <!-- =============================== --> 6689 <!-- Accounts package class attributes --> 6690 <!-- =============================== --> 6691 <eat-comment /> 6692 6693 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 6694 describes an account authenticator. 6695 --> 6696 <declare-styleable name="SyncAdapter"> 6697 <!-- the authority of a content provider. --> 6698 <attr name="contentAuthority" format="string"/> 6699 <attr name="accountType"/> 6700 <attr name="userVisible" format="boolean"/> 6701 <attr name="supportsUploading" format="boolean"/> 6702 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 6703 multiple simultaneous syncs for the same account type and authority. 6704 Otherwise the SyncManager will be sure not to issue a start sync request 6705 to this SyncAdapter if the SyncAdapter is already syncing another account. 6706 Defaults to false. 6707 --> 6708 <attr name="allowParallelSyncs" format="boolean"/> 6709 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 6710 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 6711 Defaults to false. 6712 --> 6713 <attr name="isAlwaysSyncable" format="boolean"/> 6714 <!-- If provided, specifies the action of the settings 6715 activity for this SyncAdapter. 6716 --> 6717 <attr name="settingsActivity"/> 6718 </declare-styleable> 6719 6720 <!-- =============================== --> 6721 <!-- Contacts meta-data attributes --> 6722 <!-- =============================== --> 6723 <eat-comment /> 6724 6725 <!-- TODO: remove this deprecated styleable. --> 6726 <eat-comment /> 6727 <declare-styleable name="Icon"> 6728 <attr name="icon" /> 6729 <attr name="mimeType" /> 6730 </declare-styleable> 6731 6732 <!-- TODO: remove this deprecated styleable --> 6733 <eat-comment /> 6734 <declare-styleable name="IconDefault"> 6735 <attr name="icon" /> 6736 </declare-styleable> 6737 6738 <!-- Maps a specific contact data MIME-type to styling information. --> 6739 <declare-styleable name="ContactsDataKind"> 6740 <!-- Mime-type handled by this mapping. --> 6741 <attr name="mimeType" /> 6742 <!-- Icon used to represent data of this kind. --> 6743 <attr name="icon" /> 6744 <!-- Column in data table that summarizes this data. --> 6745 <attr name="summaryColumn" format="string" /> 6746 <!-- Column in data table that contains details for this data. --> 6747 <attr name="detailColumn" format="string" /> 6748 <!-- Flag indicating that detail should be built from SocialProvider. --> 6749 <attr name="detailSocialSummary" format="boolean" /> 6750 <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or 6751 "All connections"). Optional (Default is "All Contacts"). --> 6752 <attr name="allContactsName" format="string" /> 6753 </declare-styleable> 6754 6755 <!-- =============================== --> 6756 <!-- TabSelector class attributes --> 6757 <!-- =============================== --> 6758 <eat-comment /> 6759 6760 <declare-styleable name="SlidingTab"> 6761 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 6762 <attr name="orientation" /> 6763 </declare-styleable> 6764 6765 <!-- =============================== --> 6766 <!-- GlowPadView class attributes --> 6767 <!-- =============================== --> 6768 <eat-comment /> 6769 <declare-styleable name="GlowPadView"> 6770 <!-- Reference to an array resource that be shown as targets around a circle. --> 6771 <attr name="targetDrawables" format="reference" /> 6772 6773 <!-- Reference to an array resource that be used as description for the targets around the circle. --> 6774 <attr name="targetDescriptions" format="reference" /> 6775 6776 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. --> 6777 <attr name="directionDescriptions" format="reference" /> 6778 6779 <!-- Sets a drawable as the center. --> 6780 <attr name="handleDrawable" format="reference" /> 6781 6782 <!-- Drawable to use for wave ripple animation. --> 6783 <attr name="outerRingDrawable" format="reference"/> 6784 6785 <!-- Drawble used for drawing points --> 6786 <attr name="pointDrawable" format="reference" /> 6787 6788 <!-- Inner radius of glow area. --> 6789 <attr name="innerRadius"/> 6790 6791 <!-- Outer radius of glow area. Target icons will be drawn on this circle. --> 6792 <attr name="outerRadius" format="dimension" /> 6793 6794 <!-- Radius of glow under finger. --> 6795 <attr name="glowRadius" format="dimension" /> 6796 6797 <!-- Tactile feedback duration for actions. Set to '0' for no vibration. --> 6798 <attr name="vibrationDuration" format="integer" /> 6799 6800 <!-- How close we need to be before snapping to a target. --> 6801 <attr name="snapMargin" format="dimension" /> 6802 6803 <!-- Number of waves/chevrons to show in animation. --> 6804 <attr name="feedbackCount" format="integer" /> 6805 6806 <!-- Used when the handle shouldn't wait to be hit before following the finger --> 6807 <attr name="alwaysTrackFinger" format="boolean" /> 6808 6809 <!-- Location along the circle of the first item, in degrees.--> 6810 <attr name="firstItemOffset" format="float" /> 6811 6812 <!-- Causes targets to snap to the finger location on activation. --> 6813 <attr name="magneticTargets" format="boolean" /> 6814 6815 <attr name="gravity" /> 6816 6817 <!-- Determine whether the glow pad is allowed to scale to fit the bounds indicated 6818 by its parent. If this is set to false, no scaling will occur. If this is set to true 6819 scaling will occur to fit for any axis in which gravity is set to center. --> 6820 <attr name="allowScaling" format="boolean" /> 6821 </declare-styleable> 6822 6823 <!-- =============================== --> 6824 <!-- SizeAdaptiveLayout class attributes --> 6825 <!-- =============================== --> 6826 <eat-comment /> 6827 <declare-styleable name="SizeAdaptiveLayout_Layout"> 6828 <!-- The maximum valid height for this item. --> 6829 <attr name="layout_maxHeight" format="dimension"> 6830 <!-- Indicates that the view may be resized arbitrarily large. --> 6831 <enum name="unbounded" value="-1" /> 6832 </attr> 6833 <!-- The minimum valid height for this item. --> 6834 <attr name="layout_minHeight" format="dimension" /> 6835 </declare-styleable> 6836 <declare-styleable name="SizeAdaptiveLayout" /> 6837 6838 <!-- =============================== --> 6839 <!-- Location package class attributes --> 6840 <!-- =============================== --> 6841 <eat-comment /> 6842 6843 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 6844 describes an injected "Location services" setting. Note that the status value (subtitle) 6845 for the setting is specified dynamically by a subclass of SettingInjectorService. 6846 --> 6847 <declare-styleable name="SettingInjectorService"> 6848 <!-- The title for the preference. --> 6849 <attr name="title"/> 6850 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 6851 a generic icon for the developer. --> 6852 <attr name="icon"/> 6853 <!-- The activity to launch when the setting is clicked on. --> 6854 <attr name="settingsActivity"/> 6855 </declare-styleable> 6856 6857 <!-- =============================== --> 6858 <!-- LockPatternView class attributes --> 6859 <!-- =============================== --> 6860 <eat-comment /> 6861 6862 <declare-styleable name="LockPatternView"> 6863 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 6864 or "lock_height" --> 6865 <attr name="aspect" format="string" /> 6866 <!-- Color to use when drawing LockPatternView paths. --> 6867 <attr name="pathColor" format="color|reference" /> 6868 <!-- The regular pattern color --> 6869 <attr name="regularColor" format="color|reference" /> 6870 <!-- The error color --> 6871 <attr name="errorColor" format="color|reference" /> 6872 <!-- The success color --> 6873 <attr name="successColor" format="color|reference"/> 6874 </declare-styleable> 6875 6876 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 6877 describes a {@link android.speech.RecognitionService}, which is referenced from 6878 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 6879 Described here are the attributes that can be included in that tag. --> 6880 <declare-styleable name="RecognitionService"> 6881 <attr name="settingsActivity" /> 6882 </declare-styleable> 6883 6884 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 6885 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 6886 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 6887 Described here are the attributes that can be included in that tag. --> 6888 <declare-styleable name="VoiceInteractionService"> 6889 <!-- The service that hosts active voice interaction sessions. This is required. --> 6890 <attr name="sessionService" format="string" /> 6891 <!-- The service that provides voice recognition. This is required. When the user 6892 selects this voice interaction service, they will also be implicitly selecting 6893 the component here for their recognition service. --> 6894 <attr name="recognitionService" format="string" /> 6895 <attr name="settingsActivity" /> 6896 </declare-styleable> 6897 6898 <!-- Use <code>voice-enrollment-application</code> 6899 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 6900 by the enrollment application. 6901 Described here are the attributes that can be included in that tag. 6902 @hide 6903 @SystemApi --> 6904 <declare-styleable name="VoiceEnrollmentApplication"> 6905 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 6906 <attr name="searchKeyphraseId" format="integer" /> 6907 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 6908 <attr name="searchKeyphrase" format="string" /> 6909 <!-- A comma separated list of java locales that are supported for this keyphrase, 6910 or empty if not locale dependent. @hide @SystemApi --> 6911 <attr name="searchKeyphraseSupportedLocales" format="string" /> 6912 <!-- Flags for supported recognition modes. @hide @SystemApi --> 6913 <attr name="searchKeyphraseRecognitionFlags"> 6914 <flag name="none" value="0" /> 6915 <flag name="voiceTrigger" value="0x1" /> 6916 <flag name="userIdentification" value="0x2" /> 6917 </attr> 6918 </declare-styleable> 6919 6920 <!-- Attributes used to style the Action Bar. --> 6921 <declare-styleable name="ActionBar"> 6922 <!-- The type of navigation to use. --> 6923 <attr name="navigationMode"> 6924 <!-- Normal static title text --> 6925 <enum name="normal" value="0" /> 6926 <!-- The action bar will use a selection list for navigation. --> 6927 <enum name="listMode" value="1" /> 6928 <!-- The action bar will use a series of horizontal tabs for navigation. --> 6929 <enum name="tabMode" value="2" /> 6930 </attr> 6931 <!-- Options affecting how the action bar is displayed. --> 6932 <attr name="displayOptions"> 6933 <flag name="none" value="0" /> 6934 <flag name="useLogo" value="0x1" /> 6935 <flag name="showHome" value="0x2" /> 6936 <flag name="homeAsUp" value="0x4" /> 6937 <flag name="showTitle" value="0x8" /> 6938 <flag name="showCustom" value="0x10" /> 6939 <flag name="disableHome" value="0x20" /> 6940 </attr> 6941 <!-- Specifies title text used for navigationMode="normal" --> 6942 <attr name="title" /> 6943 <!-- Specifies subtitle text used for navigationMode="normal" --> 6944 <attr name="subtitle" format="string" /> 6945 <!-- Specifies a style to use for title text. --> 6946 <attr name="titleTextStyle" format="reference" /> 6947 <!-- Specifies a style to use for subtitle text. --> 6948 <attr name="subtitleTextStyle" format="reference" /> 6949 <!-- Specifies the drawable used for the application icon. --> 6950 <attr name="icon" /> 6951 <!-- Specifies the drawable used for the application logo. --> 6952 <attr name="logo" /> 6953 <!-- Specifies the drawable used for item dividers. --> 6954 <attr name="divider" /> 6955 <!-- Specifies a background drawable for the action bar. --> 6956 <attr name="background" /> 6957 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 6958 <attr name="backgroundStacked" format="reference|color" /> 6959 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 6960 <attr name="backgroundSplit" format="reference|color" /> 6961 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 6962 <attr name="customNavigationLayout" format="reference" /> 6963 <!-- Specifies a fixed height. --> 6964 <attr name="height" /> 6965 <!-- Specifies a layout to use for the "home" section of the action bar. --> 6966 <attr name="homeLayout" format="reference" /> 6967 <!-- Specifies a style resource to use for an embedded progress bar. --> 6968 <attr name="progressBarStyle" /> 6969 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 6970 <attr name="indeterminateProgressStyle" format="reference" /> 6971 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 6972 <attr name="progressBarPadding" format="dimension" /> 6973 <!-- Up navigation glyph --> 6974 <attr name="homeAsUpIndicator" /> 6975 <!-- Specifies padding that should be applied to the left and right sides of 6976 system-provided items in the bar. --> 6977 <attr name="itemPadding" format="dimension" /> 6978 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 6979 <attr name="hideOnContentScroll" format="boolean" /> 6980 <!-- Minimum inset for content views within a bar. Navigation buttons and 6981 menu views are excepted. Only valid for some themes and configurations. --> 6982 <attr name="contentInsetStart" format="dimension" /> 6983 <!-- Minimum inset for content views within a bar. Navigation buttons and 6984 menu views are excepted. Only valid for some themes and configurations. --> 6985 <attr name="contentInsetEnd" format="dimension" /> 6986 <!-- Minimum inset for content views within a bar. Navigation buttons and 6987 menu views are excepted. Only valid for some themes and configurations. --> 6988 <attr name="contentInsetLeft" format="dimension" /> 6989 <!-- Minimum inset for content views within a bar. Navigation buttons and 6990 menu views are excepted. Only valid for some themes and configurations. --> 6991 <attr name="contentInsetRight" format="dimension" /> 6992 <!-- Elevation for the action bar itself --> 6993 <attr name="elevation" /> 6994 <!-- Reference to a theme that should be used to inflate popups 6995 shown by widgets in the action bar. --> 6996 <attr name="popupTheme" /> 6997 </declare-styleable> 6998 6999 <declare-styleable name="ActionMode"> 7000 <!-- Specifies a style to use for title text. --> 7001 <attr name="titleTextStyle" /> 7002 <!-- Specifies a style to use for subtitle text. --> 7003 <attr name="subtitleTextStyle" /> 7004 <!-- Specifies a background for the action mode bar. --> 7005 <attr name="background" /> 7006 <!-- Specifies a background for the split action mode bar. --> 7007 <attr name="backgroundSplit" /> 7008 <!-- Specifies a fixed height for the action mode bar. --> 7009 <attr name="height" /> 7010 </declare-styleable> 7011 7012 <declare-styleable name="SearchView"> 7013 <!-- The layout to use for the search view. --> 7014 <attr name="layout" /> 7015 <!-- The default state of the SearchView. If true, it will be iconified when not in 7016 use and expanded when clicked. --> 7017 <attr name="iconifiedByDefault" format="boolean" /> 7018 <!-- An optional maximum width of the SearchView. --> 7019 <attr name="maxWidth" /> 7020 <!-- An optional query hint string to be displayed in the empty query field. --> 7021 <attr name="queryHint" format="string" /> 7022 <!-- The IME options to set on the query text field. --> 7023 <attr name="imeOptions" /> 7024 <!-- The input type to set on the query text field. --> 7025 <attr name="inputType" /> 7026 <!-- Close button icon --> 7027 <attr name="closeIcon" format="reference" /> 7028 <!-- Go button icon --> 7029 <attr name="goIcon" format="reference" /> 7030 <!-- Search icon --> 7031 <attr name="searchIcon" format="reference" /> 7032 <!-- Voice button icon --> 7033 <attr name="voiceIcon" format="reference" /> 7034 <!-- Commit icon shown in the query suggestion row --> 7035 <attr name="commitIcon" format="reference" /> 7036 <!-- Layout for query suggestion rows --> 7037 <attr name="suggestionRowLayout" format="reference" /> 7038 <!-- Background for the section containing the search query --> 7039 <attr name="queryBackground" format="reference" /> 7040 <!-- Background for the section containing the action (e.g. voice search) --> 7041 <attr name="submitBackground" format="reference" /> 7042 </declare-styleable> 7043 7044 <declare-styleable name="Switch"> 7045 <!-- Drawable to use as the "thumb" that switches back and forth. --> 7046 <attr name="thumb" /> 7047 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 7048 <attr name="track" format="reference" /> 7049 <!-- Text to use when the switch is in the checked/"on" state. --> 7050 <attr name="textOn" /> 7051 <!-- Text to use when the switch is in the unchecked/"off" state. --> 7052 <attr name="textOff" /> 7053 <!-- Amount of padding on either side of text within the switch thumb. --> 7054 <attr name="thumbTextPadding" format="dimension" /> 7055 <!-- TextAppearance style for text displayed on the switch thumb. --> 7056 <attr name="switchTextAppearance" format="reference" /> 7057 <!-- Minimum width for the switch component --> 7058 <attr name="switchMinWidth" format="dimension" /> 7059 <!-- Minimum space between the switch and caption text --> 7060 <attr name="switchPadding" format="dimension" /> 7061 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 7062 <attr name="splitTrack" /> 7063 <!-- Whether to draw on/off text. --> 7064 <attr name="showText" format="boolean" /> 7065 </declare-styleable> 7066 7067 <declare-styleable name="Pointer"> 7068 <!-- Reference to a pointer icon drawable with STYLE_ARROW --> 7069 <attr name="pointerIconArrow" format="reference" /> 7070 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER --> 7071 <attr name="pointerIconSpotHover" format="reference" /> 7072 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH --> 7073 <attr name="pointerIconSpotTouch" format="reference" /> 7074 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR --> 7075 <attr name="pointerIconSpotAnchor" format="reference" /> 7076 </declare-styleable> 7077 7078 <declare-styleable name="PointerIcon"> 7079 <!-- Drawable to use as the icon bitmap. --> 7080 <attr name="bitmap" format="reference" /> 7081 <!-- X coordinate of the icon hot spot. --> 7082 <attr name="hotSpotX" format="float" /> 7083 <!-- Y coordinate of the icon hot spot. --> 7084 <attr name="hotSpotY" format="float" /> 7085 </declare-styleable> 7086 7087 <declare-styleable name="Storage"> 7088 <!-- path to mount point for the storage --> 7089 <attr name="mountPoint" format="string" /> 7090 <!-- user visible description of the storage --> 7091 <attr name="storageDescription" format="string" /> 7092 <!-- true if the storage is the primary external storage --> 7093 <attr name="primary" format="boolean" /> 7094 <!-- true if the storage is removable --> 7095 <attr name="removable" format="boolean" /> 7096 <!-- true if the storage is emulated via the FUSE sdcard daemon --> 7097 <attr name="emulated" format="boolean" /> 7098 <!-- number of megabytes of storage MTP should reserve for free storage 7099 (used for emulated storage that is shared with system's data partition) --> 7100 <attr name="mtpReserve" format="integer" /> 7101 <!-- true if the storage can be shared via USB mass storage --> 7102 <attr name="allowMassStorage" format="boolean" /> 7103 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded --> 7104 <attr name="maxFileSize" format="integer" /> 7105 </declare-styleable> 7106 7107 <declare-styleable name="SwitchPreference"> 7108 <!-- The summary for the Preference in a PreferenceActivity screen when the 7109 SwitchPreference is checked. If separate on/off summaries are not 7110 needed, the summary attribute can be used instead. --> 7111 <attr name="summaryOn" /> 7112 <!-- The summary for the Preference in a PreferenceActivity screen when the 7113 SwitchPreference is unchecked. If separate on/off summaries are not 7114 needed, the summary attribute can be used instead. --> 7115 <attr name="summaryOff" /> 7116 <!-- The text used on the switch itself when in the "on" state. 7117 This should be a very SHORT string, as it appears in a small space. --> 7118 <attr name="switchTextOn" format="string" /> 7119 <!-- The text used on the switch itself when in the "off" state. 7120 This should be a very SHORT string, as it appears in a small space. --> 7121 <attr name="switchTextOff" format="string" /> 7122 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7123 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7124 <attr name="disableDependentsState" /> 7125 </declare-styleable> 7126 7127 <declare-styleable name="SeekBarPreference"> 7128 <attr name="layout" /> 7129 </declare-styleable> 7130 7131 <!-- Base attributes available to PreferenceFragment. --> 7132 <declare-styleable name="PreferenceFragment"> 7133 <!-- The layout for the PreferenceFragment. This should rarely need to be changed --> 7134 <attr name="layout" /> 7135 </declare-styleable> 7136 7137 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 7138 describes a text to speech engine implemented as a subclass of 7139 {@link android.speech.tts.TextToSpeechService}. 7140 7141 The XML resource must be referenced from its 7142 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 7143 entry. --> 7144 <declare-styleable name="TextToSpeechEngine"> 7145 <attr name="settingsActivity" /> 7146 </declare-styleable> 7147 7148 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 7149 describes a collection of keyboard layouts provided by an application. 7150 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 7151 with these attributes. 7152 7153 The XML resource that contains the keyboard layouts must be referenced from its 7154 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 7155 meta-data entry used with broadcast receivers for 7156 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 7157 <declare-styleable name="KeyboardLayout"> 7158 <!-- The name of the keyboard layout, must be unique in the receiver. --> 7159 <attr name="name" /> 7160 <!-- The display label of the keyboard layout. --> 7161 <attr name="label" /> 7162 <!-- The key character map file resource. --> 7163 <attr name="keyboardLayout" format="reference" /> 7164 </declare-styleable> 7165 7166 <declare-styleable name="MediaRouteButton"> 7167 <!-- This drawable is a state list where the "activated" state 7168 indicates active media routing. Non-activated indicates 7169 that media is playing to the local device only. 7170 @hide --> 7171 <attr name="externalRouteEnabledDrawable" format="reference" /> 7172 7173 <!-- The types of media routes the button and its resulting 7174 chooser will filter by. --> 7175 <attr name="mediaRouteTypes" format="integer"> 7176 <!-- Allow selection of live audio routes. --> 7177 <enum name="liveAudio" value="0x1" /> 7178 <!-- Allow selection of user (app-specified) routes. --> 7179 <enum name="user" value="0x800000" /> 7180 </attr> 7181 7182 <attr name="minWidth" /> 7183 <attr name="minHeight" /> 7184 </declare-styleable> 7185 7186 <!-- PagedView specific attributes. These attributes are used to customize 7187 a PagedView view in XML files. --> 7188 <declare-styleable name="PagedView"> 7189 <!-- The space between adjacent pages of the PagedView. --> 7190 <attr name="pageSpacing" format="dimension" /> 7191 <!-- The padding for the scroll indicator area --> 7192 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 7193 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 7194 </declare-styleable> 7195 7196 <declare-styleable name="KeyguardGlowStripView"> 7197 <attr name="dotSize" format="dimension" /> 7198 <attr name="numDots" format="integer" /> 7199 <attr name="glowDot" format="reference" /> 7200 <attr name="leftToRight" format="boolean" /> 7201 </declare-styleable> 7202 7203 <!-- Some child types have special behavior. --> 7204 <attr name="layout_childType"> 7205 <!-- No special behavior. Layout will proceed as normal. --> 7206 <enum name="none" value="0" /> 7207 <!-- Widget container. 7208 This will be resized in response to certain events. --> 7209 <enum name="widget" value="1" /> 7210 <!-- Security challenge container. 7211 This will be dismissed/shown in response to certain events, 7212 possibly obscuring widget elements. --> 7213 <enum name="challenge" value="2" /> 7214 <!-- User switcher. 7215 This will consume space from the total layout area. --> 7216 <enum name="userSwitcher" value="3" /> 7217 <!-- Scrim. This will block access to child views that 7218 come before it in the child list in bouncer mode. --> 7219 <enum name="scrim" value="4" /> 7220 <!-- The home for widgets. All widgets will be descendents of this. --> 7221 <enum name="widgets" value="5" /> 7222 <!-- This is a handle that is used for expanding the 7223 security challenge container when it is collapsed. --> 7224 <enum name="expandChallengeHandle" value="6" /> 7225 <!-- Delete drop target. This will be the drop target to delete pages. --> 7226 <enum name="pageDeleteDropTarget" value="7" /> 7227 </attr> 7228 7229 <declare-styleable name="SlidingChallengeLayout_Layout"> 7230 <attr name="layout_childType" /> 7231 <attr name="layout_maxHeight" /> 7232 </declare-styleable> 7233 7234 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 7235 tags. --> 7236 <declare-styleable name="FragmentBreadCrumbs"> 7237 <attr name="gravity" /> 7238 </declare-styleable> 7239 7240 <declare-styleable name="MultiPaneChallengeLayout"> 7241 <!-- Influences how layout_centerWithinArea behaves --> 7242 <attr name="orientation" /> 7243 </declare-styleable> 7244 7245 <declare-styleable name="MultiPaneChallengeLayout_Layout"> 7246 <!-- Percentage of the screen this child should consume or center within. 7247 If 0/default, the view will be measured by standard rules 7248 as if this were a FrameLayout. --> 7249 <attr name="layout_centerWithinArea" format="float" /> 7250 <attr name="layout_childType" /> 7251 <attr name="layout_gravity" /> 7252 <attr name="layout_maxWidth" format="dimension" /> 7253 <attr name="layout_maxHeight" /> 7254 </declare-styleable> 7255 7256 <declare-styleable name="KeyguardSecurityViewFlipper_Layout"> 7257 <attr name="layout_maxWidth" /> 7258 <attr name="layout_maxHeight" /> 7259 </declare-styleable> 7260 7261 <declare-styleable name="Toolbar"> 7262 <attr name="titleTextAppearance" format="reference" /> 7263 <attr name="subtitleTextAppearance" format="reference" /> 7264 <attr name="title" /> 7265 <attr name="subtitle" /> 7266 <attr name="gravity" /> 7267 <attr name="titleMargins" format="dimension" /> 7268 <attr name="titleMarginStart" format="dimension" /> 7269 <attr name="titleMarginEnd" format="dimension" /> 7270 <attr name="titleMarginTop" format="dimension" /> 7271 <attr name="titleMarginBottom" format="dimension" /> 7272 <attr name="contentInsetStart" /> 7273 <attr name="contentInsetEnd" /> 7274 <attr name="contentInsetLeft" /> 7275 <attr name="contentInsetRight" /> 7276 <attr name="maxButtonHeight" format="dimension" /> 7277 <attr name="navigationButtonStyle" format="reference" /> 7278 <attr name="buttonGravity"> 7279 <!-- Push object to the top of its container, not changing its size. --> 7280 <flag name="top" value="0x30" /> 7281 <!-- Push object to the bottom of its container, not changing its size. --> 7282 <flag name="bottom" value="0x50" /> 7283 </attr> 7284 <attr name="collapseIcon" format="reference" /> 7285 <!-- Reference to a theme that should be used to inflate popups 7286 shown by widgets in the toolbar. --> 7287 <attr name="popupTheme" format="reference" /> 7288 </declare-styleable> 7289 7290 <declare-styleable name="Toolbar_LayoutParams"> 7291 <attr name="layout_gravity" /> 7292 </declare-styleable> 7293 7294 <declare-styleable name="ActionBar_LayoutParams"> 7295 <attr name="layout_gravity" /> 7296 </declare-styleable> 7297 7298 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 7299 <declare-styleable name="EdgeEffect"> 7300 <attr name="colorPrimary" /> 7301 </declare-styleable> 7302 7303 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 7304 {@link android.media.tv.TvInputService}, which is referenced from its 7305 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 7306 Described here are the attributes that can be included in that tag. --> 7307 <declare-styleable name="TvInputService"> 7308 <!-- Component name of an activity for setup of this service. 7309 The setup includes scanning channels and registering EPG data. --> 7310 <attr name="setupActivity" format="string" /> 7311 <!-- Component name of an activity that allows the user to modify 7312 the settings for this service. --> 7313 <attr name="settingsActivity" /> 7314 <!-- Reference to an XML document that describes TV content rating. --> 7315 <attr name="tvContentRatingDescription" format="reference" /> 7316 </declare-styleable> 7317 7318 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 7319 XML resource that describes TV content rating of a 7320 {@link android.media.tv.TvInputService}, which is referenced from 7321 {@link android.R.attr#tvContentRatingDescription}. --> 7322 <declare-styleable name="RatingSystemDefinition"> 7323 <!-- The unique name of the content rating system. --> 7324 <attr name="name" /> 7325 <!-- The title of the content rating system which is shown to the user. --> 7326 <attr name="title" /> 7327 <!-- The short description of the content rating system. --> 7328 <attr name="description" /> 7329 <!-- The country associated with the content rating system. --> 7330 <attr name="country" format="string" /> 7331 </declare-styleable> 7332 7333 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 7334 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 7335 which is referenced from {@link android.R.attr#tvContentRatingDescription}. --> 7336 <declare-styleable name="RatingDefinition"> 7337 <!-- The unique name of the content rating. --> 7338 <attr name="name" /> 7339 <!-- The title of the content rating which is shown to the user. --> 7340 <attr name="title" /> 7341 <!-- The short description of the content rating. --> 7342 <attr name="description" /> 7343 <!-- The age associated with the content rating. The content of this rating is suitable for 7344 people of this age or above. --> 7345 <attr name="ageHint" format="integer" /> 7346 </declare-styleable> 7347 7348 <declare-styleable name="ResolverDrawerLayout"> 7349 <attr name="maxWidth" /> 7350 <attr name="maxCollapsedHeight" format="dimension" /> 7351 <attr name="maxCollapsedHeightSmall" format="dimension" /> 7352 </declare-styleable> 7353 7354 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 7355 <attr name="layout_alwaysShow" format="boolean" /> 7356 <attr name="layout_ignoreOffset" format="boolean" /> 7357 <attr name="layout_gravity" /> 7358 </declare-styleable> 7359 7360 <!-- @hide --> 7361 <declare-styleable name="Lighting"> 7362 <attr name="lightY" format="dimension" /> 7363 <attr name="lightZ" format="dimension" /> 7364 <attr name="lightRadius" format="dimension" /> 7365 <attr name="ambientShadowAlpha" format="float" /> 7366 <attr name="spotShadowAlpha" format="float" /> 7367 </declare-styleable> 7368 7369 <declare-styleable name="RestrictionEntry"> 7370 <attr name="key" /> 7371 <attr name="restrictionType"> 7372 <enum name="hidden" value="0" /> 7373 <enum name="bool" value="1" /> 7374 <enum name="choice" value="2" /> 7375 <enum name="multi-select" value="4" /> 7376 <enum name="integer" value="5" /> 7377 <enum name="string" value="6" /> 7378 </attr> 7379 <attr name="title" /> 7380 <attr name="description" /> 7381 <attr name="defaultValue" /> 7382 <attr name="entries" /> 7383 <attr name="entryValues" /> 7384 </declare-styleable> 7385</resources> 7386