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