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