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