attrs.xml revision 9f26b3de4cb4af7106791374ecab48812239bf70
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2006 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<!-- Formatting note: terminate all comments with a period, to avoid breaking 18 the documentation output. To suppress comment lines from the documentation 19 output, insert an eat-comment element after the comment lines. 20--> 21 22<resources> 23 <!-- These are the standard attributes that make up a complete theme. --> 24 <declare-styleable name="Theme"> 25 <!-- ============== --> 26 <!-- Generic styles --> 27 <!-- ============== --> 28 <eat-comment /> 29 30 <!-- Specifies that a theme has a light background with dark text on top. --> 31 <attr name="isLightTheme" format="boolean" /> 32 33 <!-- Default color of foreground imagery. --> 34 <attr name="colorForeground" format="color" /> 35 <!-- Default color of foreground imagery on an inverted background. --> 36 <attr name="colorForegroundInverse" format="color" /> 37 <!-- Default color of background imagery, ex. full-screen windows. --> 38 <attr name="colorBackground" format="color" /> 39 <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. --> 40 <attr name="colorBackgroundFloating" format="color" /> 41 <!-- This is a hint for a solid color that can be used for caching 42 rendered views. This should be the color of the background when 43 there is a solid background color; it should be null when the 44 background is a texture or translucent. When a device is able 45 to use accelerated drawing (thus setting state_accelerated), the 46 cache hint is ignored and always assumed to be transparent. --> 47 <attr name="colorBackgroundCacheHint" format="color" /> 48 49 <!-- Default highlight color for items that are pressed. --> 50 <attr name="colorPressedHighlight" format="color" /> 51 <!-- Default highlight color for items that are long-pressed. --> 52 <attr name="colorLongPressedHighlight" format="color" /> 53 <!-- Default highlight color for items that are 54 focused. (Focused meaning cursor-based selection.) --> 55 <attr name="colorFocusedHighlight" format="color" /> 56 <!-- Default highlight color for items that are 57 activated. (Activated meaning persistent selection.) --> 58 <attr name="colorActivatedHighlight" format="color" /> 59 <!-- Default highlight color for items in multiple selection 60 mode. --> 61 <attr name="colorMultiSelectHighlight" format="color" /> 62 63 <!-- Drawable to be drawn over the view to mark it as autofilled--> 64 <attr name="autofilledHighlight" format="reference" /> 65 66 <!-- Max width of the autofill data set picker as a fraction of the screen width --> 67 <attr name="autofillDatasetPickerMaxWidth" format="reference" /> 68 69 <!-- Max height of the autofill data set picker as a fraction of the screen height --> 70 <attr name="autofillDatasetPickerMaxHeight" format="reference" /> 71 72 <!-- Max height of the the autofill save custom subtitle as a fraction of the screen width/height --> 73 <attr name="autofillSaveCustomSubtitleMaxHeight" format="reference" /> 74 75 <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> 76 <attr name="disabledAlpha" format="float" /> 77 <!-- The alpha applied to the foreground color to create the primary text color. --> 78 <attr name="primaryContentAlpha" format="float" /> 79 <!-- The alpha applied to the foreground color to create the secondary text color. --> 80 <attr name="secondaryContentAlpha" format="float" /> 81 <!-- Color used for error states and things that need to be drawn to 82 the users attention.. --> 83 <attr name="colorError" format="reference|color" /> 84 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 85 <attr name="backgroundDimAmount" format="float" /> 86 <!-- Control whether dimming behind the window is enabled. The default 87 theme does not set this value, meaning it is based on whether the 88 window is floating. --> 89 <attr name="backgroundDimEnabled" format="boolean" /> 90 91 <!-- =========== --> 92 <!-- Text styles --> 93 <!-- =========== --> 94 <eat-comment /> 95 96 <!-- Default appearance of text: color, typeface, size, and style. --> 97 <attr name="textAppearance" format="reference" /> 98 <!-- Default appearance of text against an inverted background: 99 color, typeface, size, and style. --> 100 <attr name="textAppearanceInverse" format="reference" /> 101 102 <!-- The most prominent text color. --> 103 <attr name="textColorPrimary" format="reference|color" /> 104 <!-- Secondary text color. --> 105 <attr name="textColorSecondary" format="reference|color" /> 106 <!-- Tertiary text color. --> 107 <attr name="textColorTertiary" format="reference|color" /> 108 109 <!-- Primary inverse text color, useful for inverted backgrounds. --> 110 <attr name="textColorPrimaryInverse" format="reference|color" /> 111 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 112 <attr name="textColorSecondaryInverse" format="reference|color" /> 113 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 114 <attr name="textColorTertiaryInverse" format="reference|color" /> 115 116 <!-- Inverse hint text color. --> 117 <attr name="textColorHintInverse" format="reference|color" /> 118 119 <!-- Bright text color. Only differentiates based on the disabled state. --> 120 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 121 122 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 123 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 124 125 <!-- Bright text color. This does not differentiate the disabled state. As an example, 126 buttons use this since they display the disabled state via the background and not the 127 foreground text color. --> 128 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 129 <!-- Dim text color. This does not differentiate the disabled state. --> 130 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 131 132 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 133 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 134 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 135 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 136 137 <!-- Bright text color for use over activated backgrounds. --> 138 <attr name="textColorPrimaryActivated" format="reference|color" /> 139 <!-- Dim text color for use over activated backgrounds. --> 140 <attr name="textColorSecondaryActivated" format="reference|color" /> 141 142 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 143 <attr name="textColorSearchUrl" format="reference|color" /> 144 145 <!-- Color of highlighted text, when used in a light theme. --> 146 <attr name="textColorHighlightInverse" format="reference|color" /> 147 <!-- Color of link text (URLs), when used in a light theme. --> 148 <attr name="textColorLinkInverse" format="reference|color" /> 149 150 <!-- Color of list item text in alert dialogs. --> 151 <attr name="textColorAlertDialogListItem" format="reference|color" /> 152 153 <!-- Search widget more corpus result item background. --> 154 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 155 156 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 157 <attr name="textAppearanceLarge" format="reference" /> 158 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 159 <attr name="textAppearanceMedium" format="reference" /> 160 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 161 <attr name="textAppearanceSmall" format="reference" /> 162 163 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 164 <attr name="textAppearanceLargeInverse" format="reference" /> 165 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 166 <attr name="textAppearanceMediumInverse" format="reference" /> 167 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 168 <attr name="textAppearanceSmallInverse" format="reference" /> 169 170 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 171 <attr name="textAppearanceSearchResultTitle" format="reference" /> 172 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 173 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 174 175 <!-- Text color, typeface, size, and style for the text inside of a button. --> 176 <attr name="textAppearanceButton" format="reference" /> 177 178 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 179 <attr name="textAppearanceLargePopupMenu" format="reference" /> 180 181 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 182 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 183 184 <!-- Text color, typeface, size, and style for header text inside of a popup menu. --> 185 <attr name="textAppearancePopupMenuHeader" format="reference" /> 186 187 <!-- The underline color and thickness for easy correct suggestion --> 188 <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> 189 190 <!-- The underline color and thickness for misspelled suggestion --> 191 <attr name="textAppearanceMisspelledSuggestion" format="reference" /> 192 193 <!-- The underline color and thickness for auto correction suggestion --> 194 <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> 195 196 <!-- The underline color --> 197 <attr name="textUnderlineColor" format="reference|color" /> 198 <!-- The underline thickness --> 199 <attr name="textUnderlineThickness" format="reference|dimension" /> 200 201 <!-- EditText text foreground color. --> 202 <attr name="editTextColor" format="reference|color" /> 203 <!-- EditText background drawable. --> 204 <attr name="editTextBackground" format="reference" /> 205 206 <!-- Popup text displayed in TextView when setError is used. --> 207 <attr name="errorMessageBackground" format="reference" /> 208 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 209 <attr name="errorMessageAboveBackground" format="reference" /> 210 211 <!-- A styled string, specifying the style to be used for showing 212 inline candidate text when composing with an input method. The 213 text itself will be ignored, but the style spans will be applied 214 to the candidate text as it is edited. --> 215 <attr name="candidatesTextStyleSpans" format="reference|string" /> 216 217 <!-- Drawable to use for check marks. --> 218 <attr name="textCheckMark" format="reference" /> 219 <attr name="textCheckMarkInverse" format="reference" /> 220 221 <!-- Drawable to use for multiple choice indicators. --> 222 <attr name="listChoiceIndicatorMultiple" format="reference" /> 223 224 <!-- Drawable to use for single choice indicators. --> 225 <attr name="listChoiceIndicatorSingle" format="reference" /> 226 227 <!-- Drawable used as a background for selected list items. --> 228 <attr name="listChoiceBackgroundIndicator" format="reference" /> 229 230 <!-- Drawable used as a background for activated items. --> 231 <attr name="activatedBackgroundIndicator" format="reference" /> 232 233 <!-- ============= --> 234 <!-- Button styles --> 235 <!-- ============= --> 236 <eat-comment /> 237 238 <!-- Normal Button style. --> 239 <attr name="buttonStyle" format="reference" /> 240 241 <!-- Small Button style. --> 242 <attr name="buttonStyleSmall" format="reference" /> 243 244 <!-- Button style to inset into an EditText. --> 245 <attr name="buttonStyleInset" format="reference" /> 246 247 <!-- ToggleButton style. --> 248 <attr name="buttonStyleToggle" format="reference" /> 249 250 <!-- ============== --> 251 <!-- Gallery styles --> 252 <!-- ============== --> 253 <eat-comment /> 254 255 <!-- The preferred background for gallery items. This should be set 256 as the background of any Views you provide from the Adapter. --> 257 <attr name="galleryItemBackground" format="reference" /> 258 259 <!-- =========== --> 260 <!-- List styles --> 261 <!-- =========== --> 262 <eat-comment /> 263 264 <!-- The preferred list item height. --> 265 <attr name="listPreferredItemHeight" format="dimension" /> 266 <!-- A smaller, sleeker list item height. --> 267 <attr name="listPreferredItemHeightSmall" format="dimension" /> 268 <!-- A larger, more robust list item height. --> 269 <attr name="listPreferredItemHeightLarge" format="dimension" /> 270 <!-- The list item height for search results. @hide --> 271 <attr name="searchResultListItemHeight" format="dimension" /> 272 273 <!-- The preferred padding along the left edge of list items. --> 274 <attr name="listPreferredItemPaddingLeft" format="dimension" /> 275 <!-- The preferred padding along the right edge of list items. --> 276 <attr name="listPreferredItemPaddingRight" format="dimension" /> 277 278 <!-- The preferred TextAppearance for the primary text of list items. --> 279 <attr name="textAppearanceListItem" format="reference" /> 280 <!-- The preferred TextAppearance for the secondary text of list items. --> 281 <attr name="textAppearanceListItemSecondary" format="reference" /> 282 <!-- The preferred TextAppearance for the primary text of small list items. --> 283 <attr name="textAppearanceListItemSmall" format="reference" /> 284 285 <!-- The drawable for the list divider. --> 286 <attr name="listDivider" format="reference" /> 287 <!-- The list divider used in alert dialogs. --> 288 <attr name="listDividerAlertDialog" format="reference" /> 289 <!-- TextView style for list separators. --> 290 <attr name="listSeparatorTextViewStyle" format="reference" /> 291 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 292 use expandableListPreferredChildPaddingLeft). This takes into account 293 the indicator that will be shown to next to the item. --> 294 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 295 <!-- The preferred left padding for an expandable list item that is a child. 296 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 297 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 298 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 299 indicator, use expandableListPreferredChildIndicatorLeft. --> 300 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 301 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 302 indicator, use expandableListPreferredChildIndicatorRight. --> 303 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 304 <!-- The preferred left bound for an expandable list child's indicator. --> 305 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 306 <!-- The preferred right bound for an expandable list child's indicator. --> 307 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 308 309 <!-- The preferred item height for dropdown lists. --> 310 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 311 312 <!-- The preferred padding along the start edge of list items. --> 313 <attr name="listPreferredItemPaddingStart" format="dimension" /> 314 <!-- The preferred padding along the end edge of list items. --> 315 <attr name="listPreferredItemPaddingEnd" format="dimension" /> 316 317 <!-- ============= --> 318 <!-- Window styles --> 319 <!-- ============= --> 320 <eat-comment /> 321 322 <!-- Drawable to use as the overall window background. As of 323 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 324 be a selector that uses state_accelerated to pick a non-solid 325 color when running on devices that can draw such a bitmap 326 with complex compositing on top at 60fps. 327 328 <p>There are a few special considerations to use when setting this 329 drawable: 330 <ul> 331 <li> This information will be used to infer the pixel format 332 for your window's surface. If the drawable has any 333 non-opaque pixels, your window will be translucent 334 (32 bpp). 335 <li> If you want to draw the entire background 336 yourself, you should set this drawable to some solid 337 color that closely matches that background (so the 338 system's preview of your window will match), and 339 then in code manually set your window's background to 340 null so it will not be drawn. 341 </ul> --> 342 <attr name="windowBackground" format="reference" /> 343 <!-- Drawable to draw selectively within the inset areas when the windowBackground 344 has been set to null. This protects against seeing visual garbage in the 345 surface when the app has not drawn any content into this area. One example is 346 when the user is resizing a window of an activity that has 347 {@link android.R.attr#resizeableActivity} set for multi-window mode. --> 348 <attr name="windowBackgroundFallback" format="reference" /> 349 <!-- Drawable to use as a frame around the window. --> 350 <attr name="windowFrame" format="reference" /> 351 <!-- Flag indicating whether there should be no title on this window. --> 352 <attr name="windowNoTitle" format="boolean" /> 353 <!-- Flag indicating whether this window should fill the entire screen. Corresponds 354 to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> 355 <attr name="windowFullscreen" format="boolean" /> 356 <!-- Flag indicating whether this window should extend into overscan region. Corresponds 357 to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. --> 358 <attr name="windowOverscan" format="boolean" /> 359 <!-- Flag indicating whether this is a floating window. --> 360 <attr name="windowIsFloating" format="boolean" /> 361 <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but 362 not if set to false), the window might still be considered translucent, if 363 windowSwipeToDismiss is set to true. --> 364 <attr name="windowIsTranslucent" format="boolean" /> 365 <!-- Flag indicating that this window's background should be the 366 user's current wallpaper. Corresponds 367 to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> 368 <attr name="windowShowWallpaper" format="boolean" /> 369 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 370 to place a shadow below the title. --> 371 <attr name="windowContentOverlay" format="reference" /> 372 <!-- The style resource to use for a window's title bar height. --> 373 <attr name="windowTitleSize" format="dimension" /> 374 <!-- The style resource to use for a window's title text. --> 375 <attr name="windowTitleStyle" format="reference" /> 376 <!-- The style resource to use for a window's title area. --> 377 <attr name="windowTitleBackgroundStyle" format="reference" /> 378 379 <!-- Reference to a style resource holding 380 the set of window animations to use, which can be 381 any of the attributes defined by 382 {@link android.R.styleable#WindowAnimation}. --> 383 <attr name="windowAnimationStyle" format="reference" /> 384 385 <!-- Flag indicating whether this window should have an Action Bar 386 in place of the usual title bar. --> 387 <attr name="windowActionBar" format="boolean" /> 388 389 <!-- Flag indicating whether this window's Action Bar should overlay 390 application content. Does nothing if the window would not 391 have an Action Bar. --> 392 <attr name="windowActionBarOverlay" format="boolean" /> 393 394 <!-- Flag indicating whether action modes should overlay window content 395 when there is not reserved space for their UI (such as an Action Bar). --> 396 <attr name="windowActionModeOverlay" format="boolean" /> 397 398 <!-- Defines the default soft input state that this window would 399 like when it is displayed. Corresponds 400 to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> 401 <attr name="windowSoftInputMode"> 402 <!-- Not specified, use what the system thinks is best. This 403 is the default. --> 404 <flag name="stateUnspecified" value="0" /> 405 <!-- Leave the soft input window as-is, in whatever state it 406 last was. --> 407 <flag name="stateUnchanged" value="1" /> 408 <!-- Make the soft input area hidden when normally appropriate 409 (when the user is navigating forward to your window). --> 410 <flag name="stateHidden" value="2" /> 411 <!-- Always make the soft input area hidden when this window 412 has input focus. --> 413 <flag name="stateAlwaysHidden" value="3" /> 414 <!-- Make the soft input area visible when normally appropriate 415 (when the user is navigating forward to your window). --> 416 <flag name="stateVisible" value="4" /> 417 <!-- Always make the soft input area visible when this window 418 has input focus. --> 419 <flag name="stateAlwaysVisible" value="5" /> 420 421 <!-- The window resize/pan adjustment has not been specified, 422 the system will automatically select between resize and pan 423 modes, depending 424 on whether the content of the window has any layout views 425 that can scroll their contents. If there is such a view, 426 then the window will be resized, with the assumption being 427 that the resizeable area can be reduced to make room for 428 the input UI. --> 429 <flag name="adjustUnspecified" value="0x00" /> 430 <!-- Always resize the window: the content area of the window is 431 reduced to make room for the soft input area. --> 432 <flag name="adjustResize" value="0x10" /> 433 <!-- Don't resize the window to make room for the soft input area; 434 instead pan the contents of the window as focus moves inside 435 of it so that the user can see what they are typing. This is 436 generally less desireable than panning because the user may 437 need to close the input area to get at and interact with 438 parts of the window. --> 439 <flag name="adjustPan" value="0x20" /> 440 <!-- Don't resize <em>or</em> pan the window to make room for the 441 soft input area; the window is never adjusted for it. --> 442 <flag name="adjustNothing" value="0x30" /> 443 </attr> 444 445 <!-- Flag allowing you to disable the splash screen for a window. The default value is 446 false; if set to true, the system can never use the window's theme to show a splash 447 screen before your actual instance is shown to the user. --> 448 <attr name="windowDisablePreview" format="boolean" /> 449 450 <!-- Flag indicating that this window should not be displayed at all. 451 The default value is false; if set to true, and this window is 452 the main window of an Activity, then it will never actually 453 be added to the window manager. This means that your activity 454 must immediately quit without waiting for user interaction, 455 because there will be no such interaction coming. --> 456 <attr name="windowNoDisplay" format="boolean" /> 457 458 <!-- Flag indicating that this window should allow touches to be split 459 across other windows that also support split touch. 460 The default value is true for applications with a targetSdkVersion 461 of Honeycomb or newer; false otherwise. 462 When this flag is false, the first pointer that goes down determines 463 the window to which all subsequent touches go until all pointers go up. 464 When this flag is true, each pointer (not necessarily the first) that 465 goes down determines the window to which all subsequent touches of that 466 pointer will go until that pointers go up thereby enabling touches 467 with multiple pointers to be split across multiple windows. --> 468 <attr name="windowEnableSplitTouch" format="boolean" /> 469 470 <!-- Control whether a container should automatically close itself if 471 the user touches outside of it. This only applies to activities 472 and dialogs. 473 474 <p>Note: this attribute will only be respected for applications 475 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 476 or later. --> 477 <attr name="windowCloseOnTouchOutside" format="boolean" /> 478 479 <!-- Flag indicating whether this window requests a translucent status bar. Corresponds 480 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> 481 <attr name="windowTranslucentStatus" format="boolean" /> 482 483 <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds 484 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> 485 <attr name="windowTranslucentNavigation" format="boolean" /> 486 487 <!-- Flag to indicate that a window can be swiped away to be dismissed. 488 Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also 489 dynamically change translucency of the window, if the windowIsTranslucent is not set. 490 If windowIsTranslucent is set (to either true or false) it will obey that setting. --> 491 <attr name="windowSwipeToDismiss" format="boolean" /> 492 493 <!-- Flag indicating whether this window requests that content changes be performed 494 as scene changes with transitions. Corresponds to 495 {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> 496 <attr name="windowContentTransitions" format="boolean" /> 497 498 <!-- Reference to a TransitionManager XML resource defining the desired 499 transitions between different window content. --> 500 <attr name="windowContentTransitionManager" format="reference" /> 501 502 <!-- Flag indicating whether this window allows Activity Transitions. 503 Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. --> 504 <attr name="windowActivityTransitions" format="boolean" /> 505 506 <!-- Reference to a Transition XML resource defining the desired Transition 507 used to move Views into the initial Window's content Scene. Corresponds to 508 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 509 <attr name="windowEnterTransition" format="reference"/> 510 511 <!-- Reference to a Transition XML resource defining the desired Transition 512 used to move Views out of the scene when the Window is 513 preparing to close. Corresponds to 514 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 515 <attr name="windowReturnTransition" format="reference"/> 516 517 <!-- Reference to a Transition XML resource defining the desired Transition 518 used to move Views out of the Window's content Scene when launching a new Activity. 519 Corresponds to 520 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 521 <attr name="windowExitTransition" format="reference"/> 522 523 <!-- Reference to a Transition XML resource defining the desired Transition 524 used to move Views in to the scene when returning from a previously-started Activity. 525 Corresponds to 526 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 527 <attr name="windowReenterTransition" format="reference"/> 528 529 <!-- Reference to a Transition XML resource defining the desired Transition 530 used to move shared elements transferred into the Window's initial content Scene. 531 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 532 android.transition.Transition)}. --> 533 <attr name="windowSharedElementEnterTransition" format="reference"/> 534 535 <!-- Reference to a Transition XML resource defining the desired Transition 536 used to move shared elements transferred back to a calling Activity. 537 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 538 android.transition.Transition)}. --> 539 <attr name="windowSharedElementReturnTransition" format="reference"/> 540 541 <!-- Reference to a Transition XML resource defining the desired Transition 542 used when starting a new Activity to move shared elements prior to transferring 543 to the called Activity. 544 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 545 android.transition.Transition)}. --> 546 <attr name="windowSharedElementExitTransition" format="reference"/> 547 548 <!-- Reference to a Transition XML resource defining the desired Transition 549 used for shared elements transferred back to a calling Activity. 550 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 551 android.transition.Transition)}. --> 552 <attr name="windowSharedElementReenterTransition" format="reference"/> 553 554 <!-- Flag indicating whether this Window's transition should overlap with 555 the exiting transition of the calling Activity. Corresponds to 556 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. 557 The default value is true. --> 558 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 559 560 <!-- Flag indicating whether this Window's transition should overlap with 561 the exiting transition of the called Activity when the called Activity 562 finishes. Corresponds to 563 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. 564 The default value is true. --> 565 <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> 566 567 <!-- Indicates whether or not shared elements should use an overlay 568 during transitions. The default value is true. --> 569 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 570 571 <!-- Internal layout used internally for window decor --> 572 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 573 574 <!-- The duration, in milliseconds, of the window background fade duration 575 when transitioning into or away from an Activity when called with an 576 Activity Transition. Corresponds to 577 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 578 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 579 580 <!-- ============ --> 581 <!-- Floating toolbar styles --> 582 <!-- ============ --> 583 <eat-comment /> 584 <attr name="floatingToolbarCloseDrawable" format="reference" /> 585 <attr name="floatingToolbarForegroundColor" format="reference|color" /> 586 <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" /> 587 <attr name="floatingToolbarItemBackgroundDrawable" format="reference" /> 588 <attr name="floatingToolbarOpenDrawable" format="reference" /> 589 <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" /> 590 <attr name="floatingToolbarDividerColor" format="reference" /> 591 592 <!-- ============ --> 593 <!-- Alert Dialog styles --> 594 <!-- ============ --> 595 <eat-comment /> 596 <attr name="alertDialogStyle" format="reference" /> 597 <attr name="alertDialogButtonGroupStyle" format="reference" /> 598 <attr name="alertDialogCenterButtons" format="boolean" /> 599 600 <!-- ============== --> 601 <!-- Image elements --> 602 <!-- ============== --> 603 <eat-comment /> 604 605 <!-- Background that can be used behind parts of a UI that provide 606 details on data the user is selecting. For example, this is 607 the background element of PreferenceActivity's embedded 608 preference fragment. --> 609 <attr name="detailsElementBackground" format="reference" /> 610 611 <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan. 612 This should be used whenever an app is requesting the user to place a finger on the 613 fingerprint sensor. It can be combined with other drawables such as colored circles, so 614 the appearance matches the branding of the app requesting the fingerprint scan.--> 615 <attr name="fingerprintAuthDrawable" format="reference" /> 616 617 <!-- ============ --> 618 <!-- Panel styles --> 619 <!-- ============ --> 620 <eat-comment /> 621 622 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 623 <attr name="panelBackground" format="reference|color" /> 624 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 625 <attr name="panelFullBackground" format="reference|color" /> 626 <!-- Default color of foreground panel imagery. --> 627 <attr name="panelColorForeground" format="reference|color" /> 628 <!-- Color that matches (as closely as possible) the panel background. --> 629 <attr name="panelColorBackground" format="reference|color" /> 630 <!-- Default appearance of panel text. --> 631 <attr name="panelTextAppearance" format="reference" /> 632 633 <attr name="panelMenuIsCompact" format="boolean" /> 634 <attr name="panelMenuListWidth" format="dimension" /> 635 <attr name="panelMenuListTheme" format="reference" /> 636 637 <!-- =================== --> 638 <!-- Other widget styles --> 639 <!-- =================== --> 640 <eat-comment /> 641 642 <!-- Default AbsListView style. --> 643 <attr name="absListViewStyle" format="reference" /> 644 <!-- Default AutoCompleteTextView style. --> 645 <attr name="autoCompleteTextViewStyle" format="reference" /> 646 <!-- Default Checkbox style. --> 647 <attr name="checkboxStyle" format="reference" /> 648 <!-- Default CheckedTextView style. --> 649 <attr name="checkedTextViewStyle" format="reference" /> 650 <!-- Default ListView style for drop downs. --> 651 <attr name="dropDownListViewStyle" format="reference" /> 652 <!-- Default EditText style. --> 653 <attr name="editTextStyle" format="reference" /> 654 <!-- Default ExpandableListView style. --> 655 <attr name="expandableListViewStyle" format="reference" /> 656 <!-- ExpandableListView with white background. --> 657 <attr name="expandableListViewWhiteStyle" format="reference" /> 658 <!-- Default Gallery style. --> 659 <attr name="galleryStyle" format="reference" /> 660 <!-- Default GestureOverlayView style. --> 661 <attr name="gestureOverlayViewStyle" format="reference" /> 662 <!-- Default GridView style. --> 663 <attr name="gridViewStyle" format="reference" /> 664 <!-- The style resource to use for an ImageButton. --> 665 <attr name="imageButtonStyle" format="reference" /> 666 <!-- The style resource to use for an ImageButton that is an image well. --> 667 <attr name="imageWellStyle" format="reference" /> 668 <!-- Default menu-style ListView style. --> 669 <attr name="listMenuViewStyle" format="reference" /> 670 <!-- Default ListView style. --> 671 <attr name="listViewStyle" format="reference" /> 672 <!-- ListView with white background. --> 673 <attr name="listViewWhiteStyle" format="reference" /> 674 <!-- Default PopupWindow style. --> 675 <attr name="popupWindowStyle" format="reference" /> 676 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 677 <attr name="progressBarStyle" format="reference" /> 678 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 679 <attr name="progressBarStyleHorizontal" format="reference" /> 680 <!-- Small ProgressBar style. This is a small circular progress bar. --> 681 <attr name="progressBarStyleSmall" format="reference" /> 682 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 683 <attr name="progressBarStyleSmallTitle" format="reference" /> 684 <!-- Large ProgressBar style. This is a large circular progress bar. --> 685 <attr name="progressBarStyleLarge" format="reference" /> 686 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 687 <attr name="progressBarStyleInverse" format="reference" /> 688 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 689 <attr name="progressBarStyleSmallInverse" format="reference" /> 690 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 691 <attr name="progressBarStyleLargeInverse" format="reference" /> 692 <!-- Default SeekBar style. --> 693 <attr name="seekBarStyle" format="reference" /> 694 <!-- Default RatingBar style. --> 695 <attr name="ratingBarStyle" format="reference" /> 696 <!-- Indicator RatingBar style. --> 697 <attr name="ratingBarStyleIndicator" format="reference" /> 698 <!-- Small indicator RatingBar style. --> 699 <attr name="ratingBarStyleSmall" format="reference" /> 700 <!-- Default RadioButton style. --> 701 <attr name="radioButtonStyle" format="reference" /> 702 <!-- Default ScrollView style. --> 703 <attr name="scrollViewStyle" format="reference" /> 704 <!-- Default HorizontalScrollView style. --> 705 <attr name="horizontalScrollViewStyle" format="reference" /> 706 <!-- Default Spinner style. --> 707 <attr name="spinnerStyle" format="reference" /> 708 <!-- Default dropdown Spinner style. --> 709 <attr name="dropDownSpinnerStyle" format="reference" /> 710 <!-- Default ActionBar dropdown style. --> 711 <attr name="actionDropDownStyle" format="reference" /> 712 <!-- Default action button style. --> 713 <attr name="actionButtonStyle" format="reference" /> 714 <!-- Default Star style. --> 715 <attr name="starStyle" format="reference" /> 716 <!-- Default TabWidget style. --> 717 <attr name="tabWidgetStyle" format="reference" /> 718 <!-- Default TextView style. --> 719 <attr name="textViewStyle" format="reference" /> 720 <!-- Default WebTextView style. --> 721 <attr name="webTextViewStyle" format="reference" /> 722 <!-- Default WebView style. --> 723 <attr name="webViewStyle" format="reference" /> 724 <!-- Default style for drop down items. --> 725 <attr name="dropDownItemStyle" format="reference" /> 726 <!-- Default style for spinner drop down items. --> 727 <attr name="spinnerDropDownItemStyle" format="reference" /> 728 <!-- Default style for drop down hints. --> 729 <attr name="dropDownHintAppearance" format="reference" /> 730 <!-- Default spinner item style. --> 731 <attr name="spinnerItemStyle" format="reference" /> 732 <!-- Default MapView style. --> 733 <attr name="mapViewStyle" format="reference" /> 734 <!-- Drawable used as an overlay on top of quickcontact photos. --> 735 <attr name="quickContactBadgeOverlay" format="reference" /> 736 <!-- Default quickcontact badge style with small quickcontact window. --> 737 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 738 <!-- Default quickcontact badge style with medium quickcontact window. --> 739 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 740 <!-- Default quickcontact badge style with large quickcontact window. --> 741 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 742 <!-- Default quickcontact badge style with small quickcontact window. --> 743 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 744 <!-- Default quickcontact badge style with medium quickcontact window. --> 745 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 746 <!-- Default quickcontact badge style with large quickcontact window. --> 747 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 748 <!-- Reference to a style that will be used for the window containing a text 749 selection anchor. --> 750 <attr name="textSelectHandleWindowStyle" format="reference" /> 751 <!-- Reference to a style that will be used for the window containing a list of possible 752 text suggestions in an EditText. --> 753 <attr name="textSuggestionsWindowStyle" format="reference" /> 754 <!-- Default ListPopupWindow style. --> 755 <attr name="listPopupWindowStyle" format="reference" /> 756 <!-- Default PopupMenu style. --> 757 <attr name="popupMenuStyle" format="reference" /> 758 <!-- Default context menu PopupMenu style. --> 759 <attr name="contextPopupMenuStyle" format="reference" /> 760 <!-- Default StackView style. --> 761 <attr name="stackViewStyle" format="reference" /> 762 763 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 764 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 765 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 766 767 <!-- NumberPicker style. --> 768 <attr name="numberPickerStyle" format="reference" /> 769 770 <!-- The CalendarView style. --> 771 <attr name="calendarViewStyle" format="reference" /> 772 773 <!-- The TimePicker style. --> 774 <attr name="timePickerStyle" format="reference" /> 775 776 <!-- The TimePicker dialog theme. --> 777 <attr name="timePickerDialogTheme" format="reference" /> 778 779 <!-- The DatePicker style. --> 780 <attr name="datePickerStyle" format="reference" /> 781 782 <!-- The DatePicker dialog theme. --> 783 <attr name="datePickerDialogTheme" format="reference" /> 784 785 <!-- Default ActivityChooserView style. --> 786 <attr name="activityChooserViewStyle" format="reference" /> 787 788 <!-- Default Toolbar style. --> 789 <attr name="toolbarStyle" format="reference" /> 790 791 <!-- Fast scroller styles --> 792 <eat-comment /> 793 794 <!-- Drawable to use as the fast scroll thumb. --> 795 <attr name="fastScrollThumbDrawable" format="reference" /> 796 <!-- Drawable to use as the fast scroll index preview window background 797 when shown on the right. --> 798 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 799 <!-- Drawable to use as the fast scroll index preview window background 800 when shown on the left. --> 801 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 802 <!-- Drawable to use as the track for the fast scroll thumb. 803 This may be null. --> 804 <attr name="fastScrollTrackDrawable" format="reference" /> 805 <!-- Position of the fast scroll index overlay window. --> 806 <attr name="fastScrollOverlayPosition"> 807 <enum name="floating" value="0" /> 808 <enum name="atThumb" value="1" /> 809 <enum name="aboveThumb" value="2" /> 810 </attr> 811 <!-- Text color for the fast scroll index overlay. Make sure it 812 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 813 <attr name="fastScrollTextColor" format="color" /> 814 815 <!-- =================== --> 816 <!-- Action bar styles --> 817 <!-- =================== --> 818 <eat-comment /> 819 <!-- Default style for tabs within an action bar. --> 820 <attr name="actionBarTabStyle" format="reference" /> 821 <!-- Reference to a style for the Action Bar Tab Bar. --> 822 <attr name="actionBarTabBarStyle" format="reference" /> 823 <!-- Reference to a style for the Action Bar Tab text. --> 824 <attr name="actionBarTabTextStyle" format="reference" /> 825 <!-- Reference to a style for Action Bar overflow buttons. --> 826 <attr name="actionOverflowButtonStyle" format="reference" /> 827 <!-- Reference to a style for the Action Bar menu. --> 828 <attr name="actionOverflowMenuStyle" format="reference" /> 829 <!-- Reference to a theme that should be used to inflate popups 830 shown by widgets in the action bar. --> 831 <attr name="actionBarPopupTheme" format="reference" /> 832 <!-- Reference to a style for the Action Bar. --> 833 <attr name="actionBarStyle" format="reference" /> 834 <!-- Reference to a style for the split Action Bar. This style 835 controls the split component that holds the menu/action 836 buttons. actionBarStyle is still used for the primary 837 bar. --> 838 <attr name="actionBarSplitStyle" format="reference" /> 839 <!-- Reference to a theme that should be used to inflate the 840 action bar. This will be inherited by any widget inflated 841 into the action bar. --> 842 <attr name="actionBarTheme" format="reference" /> 843 <!-- Reference to a theme that should be used to inflate widgets 844 and layouts destined for the action bar. Most of the time 845 this will be a reference to the current theme, but when 846 the action bar has a significantly different contrast 847 profile than the rest of the activity the difference 848 can become important. If this is set to @null the current 849 theme will be used.--> 850 <attr name="actionBarWidgetTheme" format="reference" /> 851 <!-- Size of the Action Bar, including the contextual 852 bar used to present Action Modes. --> 853 <attr name="actionBarSize" format="dimension" > 854 <enum name="wrap_content" value="0" /> 855 </attr> 856 <!-- Custom divider drawable to use for elements in the action bar. --> 857 <attr name="actionBarDivider" format="reference" /> 858 <!-- Custom item state list drawable background for action bar items. --> 859 <attr name="actionBarItemBackground" format="reference" /> 860 <!-- TextAppearance style that will be applied to text that 861 appears within action menu items. --> 862 <attr name="actionMenuTextAppearance" format="reference" /> 863 <!-- Color for text that appears within action menu items. --> 864 <attr name="actionMenuTextColor" format="color|reference" /> 865 866 <!-- =================== --> 867 <!-- Action mode styles --> 868 <!-- =================== --> 869 <eat-comment /> 870 <!-- Reference to a style for the Action Mode. --> 871 <attr name="actionModeStyle" format="reference" /> 872 <!-- Reference to a style for the Action Mode close button. --> 873 <attr name="actionModeCloseButtonStyle" format="reference" /> 874 <!-- Background drawable to use for action mode UI. --> 875 <attr name="actionModeBackground" format="reference" /> 876 <!-- Background drawable to use for action mode UI in the lower split bar. --> 877 <attr name="actionModeSplitBackground" format="reference" /> 878 <!-- Drawable to use for the close action mode button. --> 879 <attr name="actionModeCloseDrawable" format="reference" /> 880 881 <!-- Drawable to use for the Cut action button in Contextual Action Bar. --> 882 <attr name="actionModeCutDrawable" format="reference" /> 883 <!-- Drawable to use for the Copy action button in Contextual Action Bar. --> 884 <attr name="actionModeCopyDrawable" format="reference" /> 885 <!-- Drawable to use for the Paste action button in Contextual Action Bar. --> 886 <attr name="actionModePasteDrawable" format="reference" /> 887 <!-- Drawable to use for the Select all action button in Contextual Action Bar. --> 888 <attr name="actionModeSelectAllDrawable" format="reference" /> 889 <!-- Drawable to use for the Share action button in WebView selection action modes. --> 890 <attr name="actionModeShareDrawable" format="reference" /> 891 <!-- Drawable to use for the Find action button in WebView selection action modes. --> 892 <attr name="actionModeFindDrawable" format="reference" /> 893 <!-- Drawable to use for the Web Search action button in WebView selection action modes. --> 894 <attr name="actionModeWebSearchDrawable" format="reference" /> 895 896 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 897 <attr name="actionModePopupWindowStyle" format="reference" /> 898 899 <!-- =================== --> 900 <!-- Preference styles --> 901 <!-- =================== --> 902 <eat-comment /> 903 904 <!-- Default style for PreferenceScreen. --> 905 <attr name="preferenceScreenStyle" format="reference" /> 906 <!-- Default style for the PreferenceActivity. --> 907 <attr name="preferenceActivityStyle" format="reference" /> 908 <!-- Default style for Headers pane in PreferenceActivity. --> 909 <attr name="preferenceFragmentStyle" format="reference" /> 910 <!-- Default style for PreferenceCategory. --> 911 <attr name="preferenceCategoryStyle" format="reference" /> 912 <!-- Default style for Preference. --> 913 <attr name="preferenceStyle" format="reference" /> 914 <!-- Default style for informational Preference. --> 915 <attr name="preferenceInformationStyle" format="reference" /> 916 <!-- Default style for CheckBoxPreference. --> 917 <attr name="checkBoxPreferenceStyle" format="reference" /> 918 <!-- Default style for YesNoPreference. --> 919 <attr name="yesNoPreferenceStyle" format="reference" /> 920 <!-- Default style for DialogPreference. --> 921 <attr name="dialogPreferenceStyle" format="reference" /> 922 <!-- Default style for EditTextPreference. --> 923 <attr name="editTextPreferenceStyle" format="reference" /> 924 <!-- @hide Default style for SeekBarDialogPreference. --> 925 <attr name="seekBarDialogPreferenceStyle" format="reference" /> 926 <!-- Default style for RingtonePreference. --> 927 <attr name="ringtonePreferenceStyle" format="reference" /> 928 <!-- The preference layout that has the child/tabbed effect. --> 929 <attr name="preferenceLayoutChild" format="reference" /> 930 <!-- Preference panel style --> 931 <attr name="preferencePanelStyle" format="reference" /> 932 <!-- Preference headers panel style --> 933 <attr name="preferenceHeaderPanelStyle" format="reference" /> 934 <!-- Preference list style --> 935 <attr name="preferenceListStyle" format="reference" /> 936 <!-- Preference fragment list style --> 937 <attr name="preferenceFragmentListStyle" format="reference" /> 938 <!-- Preference fragment padding side --> 939 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 940 <!-- Default style for switch preferences. --> 941 <attr name="switchPreferenceStyle" format="reference" /> 942 <!-- Default style for seekbar preferences. --> 943 <attr name="seekBarPreferenceStyle" format="reference" /> 944 945 <!-- ============================ --> 946 <!-- Text selection handle styles --> 947 <!-- ============================ --> 948 <eat-comment /> 949 950 <!-- Reference to a drawable that will be used to display a text selection 951 anchor on the left side of a selection region. --> 952 <attr name="textSelectHandleLeft" format="reference" /> 953 <!-- Reference to a drawable that will be used to display a text selection 954 anchor on the right side of a selection region. --> 955 <attr name="textSelectHandleRight" format="reference" /> 956 <!-- Reference to a drawable that will be used to display a text selection 957 anchor for positioning the cursor within text. --> 958 <attr name="textSelectHandle" format="reference" /> 959 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 960 TextEdit field. --> 961 <attr name="textEditPasteWindowLayout" format="reference" /> 962 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 963 <attr name="textEditNoPasteWindowLayout" format="reference" /> 964 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 965 insertion cursor because it would be clipped if it were positioned on top. --> 966 <attr name="textEditSidePasteWindowLayout" format="reference" /> 967 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 968 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 969 970 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 971 <attr name="textEditSuggestionItemLayout" format="reference" /> 972 <!-- Layout of the container of the suggestion popup window. --> 973 <attr name="textEditSuggestionContainerLayout" format="reference" /> 974 <!-- Text appearance of the focused words to be replaced by suggested word. --> 975 <attr name="textEditSuggestionHighlightStyle" format="reference" /> 976 977 <!-- Theme to use for dialogs spawned from this theme. --> 978 <attr name="dialogTheme" format="reference" /> 979 <!-- Window decor layout to use in dialog mode with icons. --> 980 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 981 <!-- Window decor layout to use in dialog mode with custom titles. --> 982 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 983 <!-- Window decor layout to use in dialog mode with title only. --> 984 <attr name="dialogTitleDecorLayout" format="reference" /> 985 <!-- Preferred padding for dialog content. --> 986 <attr name="dialogPreferredPadding" format="dimension" /> 987 <!-- Corner radius of dialogs. --> 988 <attr name="dialogCornerRadius" format="dimension" /> 989 990 <!-- Theme to use for alert dialogs spawned from this theme. --> 991 <attr name="alertDialogTheme" format="reference" /> 992 <!-- Icon drawable to use for alerts. --> 993 <attr name="alertDialogIcon" format="reference" /> 994 995 <!-- Theme to use for presentations spawned from this theme. --> 996 <attr name="presentationTheme" format="reference" /> 997 998 <!-- Drawable to use for generic vertical dividers. --> 999 <attr name="dividerVertical" format="reference" /> 1000 1001 <!-- Drawable to use for generic horizontal dividers. --> 1002 <attr name="dividerHorizontal" format="reference" /> 1003 1004 <!-- Style for button bars. --> 1005 <attr name="buttonBarStyle" format="reference" /> 1006 1007 <!-- Style for buttons within button bars. --> 1008 <attr name="buttonBarButtonStyle" format="reference" /> 1009 1010 <!-- Style for the "positive" buttons within button bars. --> 1011 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 1012 1013 <!-- Style for the "negative" buttons within button bars. --> 1014 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 1015 1016 <!-- Style for the "neutral" buttons within button bars. --> 1017 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 1018 1019 <!-- Corner radius of buttons. --> 1020 <attr name="buttonCornerRadius" format="dimension" /> 1021 1022 <!-- Style for the search query widget. --> 1023 <attr name="searchViewStyle" format="reference" /> 1024 1025 <!-- Style for segmented buttons - a container that houses several buttons 1026 with the appearance of a singel button broken into segments. --> 1027 <attr name="segmentedButtonStyle" format="reference" /> 1028 1029 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 1030 <attr name="selectableItemBackground" format="reference" /> 1031 1032 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 1033 <attr name="selectableItemBackgroundBorderless" format="reference" /> 1034 1035 <!-- Style for buttons without an explicit border, often used in groups. --> 1036 <attr name="borderlessButtonStyle" format="reference" /> 1037 1038 <!-- Background to use for toasts. --> 1039 <attr name="toastFrameBackground" format="reference" /> 1040 1041 <!-- Background to use for tooltip popups. --> 1042 <attr name="tooltipFrameBackground" format="reference" /> 1043 1044 <!-- Foreground color to use for tooltip popups. --> 1045 <attr name="tooltipForegroundColor" format="reference|color" /> 1046 1047 <!-- Background color to use for tooltip popups. --> 1048 <attr name="tooltipBackgroundColor" format="reference|color" /> 1049 1050 <!-- Theme to use for Search Dialogs. --> 1051 <attr name="searchDialogTheme" format="reference" /> 1052 1053 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 1054 <attr name="homeAsUpIndicator" format="reference" /> 1055 1056 <!-- Preference frame layout styles. --> 1057 <attr name="preferenceFrameLayoutStyle" format="reference" /> 1058 1059 <!-- Default style for the Switch widget. --> 1060 <attr name="switchStyle" format="reference" /> 1061 1062 <!-- Default style for the MediaRouteButton widget. --> 1063 <attr name="mediaRouteButtonStyle" format="reference" /> 1064 1065 <!-- ============== --> 1066 <!-- Pointer styles --> 1067 <!-- ============== --> 1068 <eat-comment /> 1069 1070 <!-- The drawable for accessibility focused views. --> 1071 <attr name="accessibilityFocusedDrawable" format="reference" /> 1072 1073 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1074 <attr name="findOnPageNextDrawable" format="reference" /> 1075 1076 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1077 <attr name="findOnPagePreviousDrawable" format="reference" /> 1078 1079 <!-- ============= --> 1080 <!-- Color palette --> 1081 <!-- ============= --> 1082 <eat-comment /> 1083 1084 <!-- The primary branding color for the app. By default, this is the color applied to the 1085 action bar background. --> 1086 <attr name="colorPrimary" format="color" /> 1087 1088 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1089 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1090 <attr name="colorPrimaryDark" format="color" /> 1091 1092 <!-- The secondary branding color for the app. --> 1093 <attr name="colorSecondary" format="color" /> 1094 1095 <!-- Bright complement to the primary branding color. By default, this is the color applied 1096 to framework controls (via colorControlActivated). --> 1097 <attr name="colorAccent" format="color" /> 1098 1099 <!-- The color applied to framework controls in their normal state. --> 1100 <attr name="colorControlNormal" format="color" /> 1101 1102 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1103 <attr name="colorControlActivated" format="color" /> 1104 1105 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1106 <attr name="colorControlHighlight" format="color" /> 1107 1108 <!-- The color applied to framework buttons in their normal state. --> 1109 <attr name="colorButtonNormal" format="color" /> 1110 1111 <!-- The color applied to framework switch thumbs in their normal state. --> 1112 <attr name="colorSwitchThumbNormal" format="color" /> 1113 1114 <!-- The color applied to the edge effect on scrolling containers. --> 1115 <attr name="colorEdgeEffect" format="color" /> 1116 1117 <!-- =================== --> 1118 <!-- Lighting properties --> 1119 <!-- =================== --> 1120 <eat-comment /> 1121 1122 <!-- @hide The default Y position of the light used to project view shadows. --> 1123 <attr name="lightY" format="dimension" /> 1124 1125 <!-- @hide The default Z position of the light used to project view shadows. --> 1126 <attr name="lightZ" format="dimension" /> 1127 1128 <!-- @hide The default radius of the light used to project view shadows. --> 1129 <attr name="lightRadius" format="dimension" /> 1130 1131 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1132 <attr name="ambientShadowAlpha" format="float" /> 1133 1134 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1135 <attr name="spotShadowAlpha" format="float" /> 1136 </declare-styleable> 1137 1138 <!-- **************************************************************** --> 1139 <!-- Other non-theme attributes. --> 1140 <!-- **************************************************************** --> 1141 <eat-comment /> 1142 1143 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1144 Supported values include the following:<p/> 1145 <ul> 1146 <li><b>px</b> Pixels</li> 1147 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1148 <li><b>pt</b> Points</li> 1149 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1150 </ul> 1151 --> 1152 <attr name="textSize" format="dimension" /> 1153 1154 <!-- Default font family. --> 1155 <attr name="fontFamily" format="string" /> 1156 1157 <!-- Default text typeface. --> 1158 <attr name="typeface"> 1159 <enum name="normal" value="0" /> 1160 <enum name="sans" value="1" /> 1161 <enum name="serif" value="2" /> 1162 <enum name="monospace" value="3" /> 1163 </attr> 1164 1165 <!-- Default text typeface style. --> 1166 <attr name="textStyle"> 1167 <flag name="normal" value="0" /> 1168 <flag name="bold" value="1" /> 1169 <flag name="italic" value="2" /> 1170 </attr> 1171 1172 <!-- Color of text (usually same as colorForeground). --> 1173 <attr name="textColor" format="reference|color" /> 1174 1175 <!-- Color of highlighted text. --> 1176 <attr name="textColorHighlight" format="reference|color" /> 1177 1178 <!-- Color of hint text (displayed when the field is empty). --> 1179 <attr name="textColorHint" format="reference|color" /> 1180 1181 <!-- Color of link text (URLs). --> 1182 <attr name="textColorLink" format="reference|color" /> 1183 1184 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1185 <attr name="textCursorDrawable" format="reference" /> 1186 1187 <!-- Indicates that the content of a non-editable TextView can be selected. 1188 Default value is false. EditText content is always selectable. --> 1189 <attr name="textIsSelectable" format="boolean" /> 1190 1191 <!-- Where to ellipsize text. --> 1192 <attr name="ellipsize"> 1193 <enum name="none" value="0" /> 1194 <enum name="start" value="1" /> 1195 <enum name="middle" value="2" /> 1196 <enum name="end" value="3" /> 1197 <enum name="marquee" value="4" /> 1198 </attr> 1199 1200 <!-- The type of data being placed in a text field, used to help an 1201 input method decide how to let the user enter text. The constants 1202 here correspond to those defined by 1203 {@link android.text.InputType}. Generally you can select 1204 a single value, though some can be combined together as 1205 indicated. Setting this attribute to anything besides 1206 <var>none</var> also implies that the text is editable. --> 1207 <attr name="inputType"> 1208 <!-- There is no content type. The text is not editable. --> 1209 <flag name="none" value="0x00000000" /> 1210 <!-- Just plain old text. Corresponds to 1211 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1212 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1213 <flag name="text" value="0x00000001" /> 1214 <!-- Can be combined with <var>text</var> and its variations to 1215 request capitalization of all characters. Corresponds to 1216 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1217 <flag name="textCapCharacters" value="0x00001001" /> 1218 <!-- Can be combined with <var>text</var> and its variations to 1219 request capitalization of the first character of every word. Corresponds to 1220 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1221 <flag name="textCapWords" value="0x00002001" /> 1222 <!-- Can be combined with <var>text</var> and its variations to 1223 request capitalization of the first character of every sentence. Corresponds to 1224 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1225 <flag name="textCapSentences" value="0x00004001" /> 1226 <!-- Can be combined with <var>text</var> and its variations to 1227 request auto-correction of text being input. Corresponds to 1228 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1229 <flag name="textAutoCorrect" value="0x00008001" /> 1230 <!-- Can be combined with <var>text</var> and its variations to 1231 specify that this field will be doing its own auto-completion and 1232 talking with the input method appropriately. Corresponds to 1233 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1234 <flag name="textAutoComplete" value="0x00010001" /> 1235 <!-- Can be combined with <var>text</var> and its variations to 1236 allow multiple lines of text in the field. If this flag is not set, 1237 the text field will be constrained to a single line. Corresponds to 1238 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1239 <flag name="textMultiLine" value="0x00020001" /> 1240 <!-- Can be combined with <var>text</var> and its variations to 1241 indicate that though the regular text view should not be multiple 1242 lines, the IME should provide multiple lines if it can. Corresponds to 1243 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1244 <flag name="textImeMultiLine" value="0x00040001" /> 1245 <!-- Can be combined with <var>text</var> and its variations to 1246 indicate that the IME should not show any 1247 dictionary-based word suggestions. Corresponds to 1248 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1249 <flag name="textNoSuggestions" value="0x00080001" /> 1250 <!-- Text that will be used as a URI. Corresponds to 1251 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1252 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1253 <flag name="textUri" value="0x00000011" /> 1254 <!-- Text that will be used as an e-mail address. Corresponds to 1255 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1256 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1257 <flag name="textEmailAddress" value="0x00000021" /> 1258 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1259 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1260 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1261 <flag name="textEmailSubject" value="0x00000031" /> 1262 <!-- Text that is the content of a short message. Corresponds to 1263 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1264 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1265 <flag name="textShortMessage" value="0x00000041" /> 1266 <!-- Text that is the content of a long message. Corresponds to 1267 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1268 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1269 <flag name="textLongMessage" value="0x00000051" /> 1270 <!-- Text that is the name of a person. Corresponds to 1271 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1272 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1273 <flag name="textPersonName" value="0x00000061" /> 1274 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1275 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1276 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1277 <flag name="textPostalAddress" value="0x00000071" /> 1278 <!-- Text that is a password. Corresponds to 1279 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1280 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1281 <flag name="textPassword" value="0x00000081" /> 1282 <!-- Text that is a password that should be visible. Corresponds to 1283 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1284 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1285 <flag name="textVisiblePassword" value="0x00000091" /> 1286 <!-- Text that is being supplied as text in a web form. Corresponds to 1287 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1288 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1289 <flag name="textWebEditText" value="0x000000a1" /> 1290 <!-- Text that is filtering some other data. Corresponds to 1291 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1292 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1293 <flag name="textFilter" value="0x000000b1" /> 1294 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1295 field in a contact entry. Corresponds to 1296 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1297 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1298 <flag name="textPhonetic" value="0x000000c1" /> 1299 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1300 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1301 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1302 <flag name="textWebEmailAddress" value="0x000000d1" /> 1303 <!-- Text that will be used as a password on a web form. Corresponds to 1304 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1305 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1306 <flag name="textWebPassword" value="0x000000e1" /> 1307 <!-- A numeric only field. Corresponds to 1308 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1309 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1310 <flag name="number" value="0x00000002" /> 1311 <!-- Can be combined with <var>number</var> and its other options to 1312 allow a signed number. Corresponds to 1313 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1314 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1315 <flag name="numberSigned" value="0x00001002" /> 1316 <!-- Can be combined with <var>number</var> and its other options to 1317 allow a decimal (fractional) number. Corresponds to 1318 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1319 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1320 <flag name="numberDecimal" value="0x00002002" /> 1321 <!-- A numeric password field. Corresponds to 1322 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1323 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1324 <flag name="numberPassword" value="0x00000012" /> 1325 <!-- For entering a phone number. Corresponds to 1326 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1327 <flag name="phone" value="0x00000003" /> 1328 <!-- For entering a date and time. Corresponds to 1329 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1330 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1331 <flag name="datetime" value="0x00000004" /> 1332 <!-- For entering a date. Corresponds to 1333 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1334 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1335 <flag name="date" value="0x00000014" /> 1336 <!-- For entering a time. Corresponds to 1337 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1338 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1339 <flag name="time" value="0x00000024" /> 1340 </attr> 1341 1342 <!-- Additional features you can enable in an IME associated with an editor 1343 to improve the integration with your application. The constants 1344 here correspond to those defined by 1345 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1346 <attr name="imeOptions"> 1347 <!-- There are no special semantics associated with this editor. --> 1348 <flag name="normal" value="0x00000000" /> 1349 <!-- There is no specific action associated with this editor, let the 1350 editor come up with its own if it can. 1351 Corresponds to 1352 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1353 <flag name="actionUnspecified" value="0x00000000" /> 1354 <!-- This editor has no action associated with it. 1355 Corresponds to 1356 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1357 <flag name="actionNone" value="0x00000001" /> 1358 <!-- The action key performs a "go" 1359 operation to take the user to the target of the text they typed. 1360 Typically used, for example, when entering a URL. 1361 Corresponds to 1362 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1363 <flag name="actionGo" value="0x00000002" /> 1364 <!-- The action key performs a "search" 1365 operation, taking the user to the results of searching for the text 1366 the have typed (in whatever context is appropriate). 1367 Corresponds to 1368 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1369 <flag name="actionSearch" value="0x00000003" /> 1370 <!-- The action key performs a "send" 1371 operation, delivering the text to its target. This is typically used 1372 when composing a message. 1373 Corresponds to 1374 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1375 <flag name="actionSend" value="0x00000004" /> 1376 <!-- The action key performs a "next" 1377 operation, taking the user to the next field that will accept text. 1378 Corresponds to 1379 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1380 <flag name="actionNext" value="0x00000005" /> 1381 <!-- The action key performs a "done" 1382 operation, closing the soft input method. 1383 Corresponds to 1384 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1385 <flag name="actionDone" value="0x00000006" /> 1386 <!-- The action key performs a "previous" 1387 operation, taking the user to the previous field that will accept text. 1388 Corresponds to 1389 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1390 <flag name="actionPrevious" value="0x00000007" /> 1391 <!-- Used to request that the IME should not update any personalized data such as typing 1392 history and personalized language model based on what the user typed on this text 1393 editing object. Typical use cases are: 1394 <ul> 1395 <li>When the application is in a special mode, where user's activities are expected 1396 to be not recorded in the application's history. Some web browsers and chat 1397 applications may have this kind of modes.</li> 1398 <li>When storing typing history does not make much sense. Specifying this flag in 1399 typing games may help to avoid typing history from being filled up with words that 1400 the user is less likely to type in their daily life. Another example is that when 1401 the application already knows that the expected input is not a valid word (e.g. a 1402 promotion code that is not a valid word in any natural language).</li> 1403 </ul> 1404 <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may 1405 not respect it.</p> --> 1406 <flag name="flagNoPersonalizedLearning" value="0x1000000" /> 1407 <!-- Used to request that the IME never go 1408 into fullscreen mode. Applications need to be aware that the flag is not 1409 a guarantee, and not all IMEs will respect it. 1410 <p>Corresponds to 1411 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1412 <flag name="flagNoFullscreen" value="0x2000000" /> 1413 <!-- Like flagNavigateNext, but 1414 specifies there is something interesting that a backward navigation 1415 can focus on. If the user selects the IME's facility to backward 1416 navigate, this will show up in the application as an actionPrevious 1417 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1418 InputConnection.performEditorAction(int)}. 1419 <p>Corresponds to 1420 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1421 <flag name="flagNavigatePrevious" value="0x4000000" /> 1422 <!-- Used to specify that there is something 1423 interesting that a forward navigation can focus on. This is like using 1424 actionNext, except allows the IME to be multiline (with 1425 an enter key) as well as provide forward navigation. Note that some 1426 IMEs may not be able to do this, especially when running on a small 1427 screen where there is little space. In that case it does not need to 1428 present a UI for this option. Like actionNext, if the 1429 user selects the IME's facility to forward navigate, this will show up 1430 in the application at 1431 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1432 InputConnection.performEditorAction(int)}. 1433 <p>Corresponds to 1434 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1435 <flag name="flagNavigateNext" value="0x8000000" /> 1436 <!-- Used to specify that the IME does not need 1437 to show its extracted text UI. For input methods that may be fullscreen, 1438 often when in landscape mode, this allows them to be smaller and let part 1439 of the application be shown behind. Though there will likely be limited 1440 access to the application available from the user, it can make the 1441 experience of a (mostly) fullscreen IME less jarring. Note that when 1442 this flag is specified the IME may <em>not</em> be set up to be able 1443 to display text, so it should only be used in situations where this is 1444 not needed. 1445 <p>Corresponds to 1446 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1447 <flag name="flagNoExtractUi" value="0x10000000" /> 1448 <!-- Used in conjunction with a custom action, this indicates that the 1449 action should not be available as an accessory button when the 1450 input method is full-screen. 1451 Note that by setting this flag, there can be cases where the action 1452 is simply never available to the user. Setting this generally means 1453 that you think showing text being edited is more important than the 1454 action you have supplied. 1455 <p>Corresponds to 1456 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1457 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1458 <!-- Used in conjunction with a custom action, 1459 this indicates that the action should not be available in-line as 1460 a replacement for the "enter" key. Typically this is 1461 because the action has such a significant impact or is not recoverable 1462 enough that accidentally hitting it should be avoided, such as sending 1463 a message. Note that {@link android.widget.TextView} will 1464 automatically set this flag for you on multi-line text views. 1465 <p>Corresponds to 1466 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1467 <flag name="flagNoEnterAction" value="0x40000000" /> 1468 <!-- Used to request that the IME should be capable of inputting ASCII 1469 characters. The intention of this flag is to ensure that the user 1470 can type Roman alphabet characters in a {@link android.widget.TextView} 1471 used for, typically, account ID or password input. It is expected that IMEs 1472 normally are able to input ASCII even without being told so (such IMEs 1473 already respect this flag in a sense), but there could be some cases they 1474 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1475 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1476 aware that the flag is not a guarantee, and not all IMEs will respect it. 1477 However, it is strongly recommended for IME authors to respect this flag 1478 especially when their IME could end up with a state that has only non-ASCII 1479 input languages enabled. 1480 <p>Corresponds to 1481 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1482 <flag name="flagForceAscii" value="0x80000000" /> 1483 </attr> 1484 1485 <!-- A coordinate in the X dimension. --> 1486 <attr name="x" format="dimension" /> 1487 <!-- A coordinate in the Y dimension. --> 1488 <attr name="y" format="dimension" /> 1489 1490 <!-- Specifies how an object should position its content, on both the X and Y axes, 1491 within its own bounds. --> 1492 <attr name="gravity"> 1493 <!-- Push object to the top of its container, not changing its size. --> 1494 <flag name="top" value="0x30" /> 1495 <!-- Push object to the bottom of its container, not changing its size. --> 1496 <flag name="bottom" value="0x50" /> 1497 <!-- Push object to the left of its container, not changing its size. --> 1498 <flag name="left" value="0x03" /> 1499 <!-- Push object to the right of its container, not changing its size. --> 1500 <flag name="right" value="0x05" /> 1501 <!-- Place object in the vertical center of its container, not changing its size. --> 1502 <flag name="center_vertical" value="0x10" /> 1503 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1504 <flag name="fill_vertical" value="0x70" /> 1505 <!-- Place object in the horizontal center of its container, not changing its size. --> 1506 <flag name="center_horizontal" value="0x01" /> 1507 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1508 <flag name="fill_horizontal" value="0x07" /> 1509 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1510 <flag name="center" value="0x11" /> 1511 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1512 <flag name="fill" value="0x77" /> 1513 <!-- Additional option that can be set to have the top and/or bottom edges of 1514 the child clipped to its container's bounds. 1515 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1516 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1517 <flag name="clip_vertical" value="0x80" /> 1518 <!-- Additional option that can be set to have the left and/or right edges of 1519 the child clipped to its container's bounds. 1520 The clip will be based on the horizontal gravity: a left gravity will clip the right 1521 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1522 <flag name="clip_horizontal" value="0x08" /> 1523 <!-- Push object to the beginning of its container, not changing its size. --> 1524 <flag name="start" value="0x00800003" /> 1525 <!-- Push object to the end of its container, not changing its size. --> 1526 <flag name="end" value="0x00800005" /> 1527 </attr> 1528 1529 <!-- Controls whether links such as urls and email addresses are 1530 automatically found and converted to clickable links. The default 1531 value is "none", disabling this feature. --> 1532 <attr name="autoLink"> 1533 <!-- Match no patterns (default). --> 1534 <flag name="none" value="0x00" /> 1535 <!-- Match Web URLs. --> 1536 <flag name="web" value="0x01" /> 1537 <!-- Match email addresses. --> 1538 <flag name="email" value="0x02" /> 1539 <!-- Match phone numbers. --> 1540 <flag name="phone" value="0x04" /> 1541 <!-- Match map addresses. --> 1542 <flag name="map" value="0x08" /> 1543 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1544 <flag name="all" value="0x0f" /> 1545 </attr> 1546 1547 <!-- Reference to an array resource that will populate a list/adapter. --> 1548 <attr name="entries" format="reference" /> 1549 1550 <!-- Standard gravity constant that a child supplies to its parent. 1551 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1552 <attr name="layout_gravity"> 1553 <!-- Push object to the top of its container, not changing its size. --> 1554 <flag name="top" value="0x30" /> 1555 <!-- Push object to the bottom of its container, not changing its size. --> 1556 <flag name="bottom" value="0x50" /> 1557 <!-- Push object to the left of its container, not changing its size. --> 1558 <flag name="left" value="0x03" /> 1559 <!-- Push object to the right of its container, not changing its size. --> 1560 <flag name="right" value="0x05" /> 1561 <!-- Place object in the vertical center of its container, not changing its size. --> 1562 <flag name="center_vertical" value="0x10" /> 1563 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1564 <flag name="fill_vertical" value="0x70" /> 1565 <!-- Place object in the horizontal center of its container, not changing its size. --> 1566 <flag name="center_horizontal" value="0x01" /> 1567 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1568 <flag name="fill_horizontal" value="0x07" /> 1569 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1570 <flag name="center" value="0x11" /> 1571 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1572 <flag name="fill" value="0x77" /> 1573 <!-- Additional option that can be set to have the top and/or bottom edges of 1574 the child clipped to its container's bounds. 1575 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1576 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1577 <flag name="clip_vertical" value="0x80" /> 1578 <!-- Additional option that can be set to have the left and/or right edges of 1579 the child clipped to its container's bounds. 1580 The clip will be based on the horizontal gravity: a left gravity will clip the right 1581 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1582 <flag name="clip_horizontal" value="0x08" /> 1583 <!-- Push object to the beginning of its container, not changing its size. --> 1584 <flag name="start" value="0x00800003" /> 1585 <!-- Push object to the end of its container, not changing its size. --> 1586 <flag name="end" value="0x00800005" /> 1587 </attr> 1588 1589 <!-- Standard orientation constant. --> 1590 <attr name="orientation"> 1591 <!-- Defines an horizontal widget. --> 1592 <enum name="horizontal" value="0" /> 1593 <!-- Defines a vertical widget. --> 1594 <enum name="vertical" value="1" /> 1595 </attr> 1596 1597 <!-- Alignment constants. --> 1598 <attr name="alignmentMode"> 1599 <!-- Align the bounds of the children. 1600 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1601 <enum name="alignBounds" value="0" /> 1602 <!-- Align the margins of the children. 1603 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1604 <enum name="alignMargins" value="1" /> 1605 </attr> 1606 1607 <!-- ========================== --> 1608 <!-- Key Codes --> 1609 <!-- ========================== --> 1610 <eat-comment /> 1611 1612 <!-- This enum provides the same keycode values as can be found in 1613 {@link android.view.KeyEvent}. --> 1614 <attr name="keycode"> 1615 <enum name="KEYCODE_UNKNOWN" value="0" /> 1616 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1617 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1618 <enum name="KEYCODE_HOME" value="3" /> 1619 <enum name="KEYCODE_BACK" value="4" /> 1620 <enum name="KEYCODE_CALL" value="5" /> 1621 <enum name="KEYCODE_ENDCALL" value="6" /> 1622 <enum name="KEYCODE_0" value="7" /> 1623 <enum name="KEYCODE_1" value="8" /> 1624 <enum name="KEYCODE_2" value="9" /> 1625 <enum name="KEYCODE_3" value="10" /> 1626 <enum name="KEYCODE_4" value="11" /> 1627 <enum name="KEYCODE_5" value="12" /> 1628 <enum name="KEYCODE_6" value="13" /> 1629 <enum name="KEYCODE_7" value="14" /> 1630 <enum name="KEYCODE_8" value="15" /> 1631 <enum name="KEYCODE_9" value="16" /> 1632 <enum name="KEYCODE_STAR" value="17" /> 1633 <enum name="KEYCODE_POUND" value="18" /> 1634 <enum name="KEYCODE_DPAD_UP" value="19" /> 1635 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1636 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1637 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1638 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1639 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1640 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1641 <enum name="KEYCODE_POWER" value="26" /> 1642 <enum name="KEYCODE_CAMERA" value="27" /> 1643 <enum name="KEYCODE_CLEAR" value="28" /> 1644 <enum name="KEYCODE_A" value="29" /> 1645 <enum name="KEYCODE_B" value="30" /> 1646 <enum name="KEYCODE_C" value="31" /> 1647 <enum name="KEYCODE_D" value="32" /> 1648 <enum name="KEYCODE_E" value="33" /> 1649 <enum name="KEYCODE_F" value="34" /> 1650 <enum name="KEYCODE_G" value="35" /> 1651 <enum name="KEYCODE_H" value="36" /> 1652 <enum name="KEYCODE_I" value="37" /> 1653 <enum name="KEYCODE_J" value="38" /> 1654 <enum name="KEYCODE_K" value="39" /> 1655 <enum name="KEYCODE_L" value="40" /> 1656 <enum name="KEYCODE_M" value="41" /> 1657 <enum name="KEYCODE_N" value="42" /> 1658 <enum name="KEYCODE_O" value="43" /> 1659 <enum name="KEYCODE_P" value="44" /> 1660 <enum name="KEYCODE_Q" value="45" /> 1661 <enum name="KEYCODE_R" value="46" /> 1662 <enum name="KEYCODE_S" value="47" /> 1663 <enum name="KEYCODE_T" value="48" /> 1664 <enum name="KEYCODE_U" value="49" /> 1665 <enum name="KEYCODE_V" value="50" /> 1666 <enum name="KEYCODE_W" value="51" /> 1667 <enum name="KEYCODE_X" value="52" /> 1668 <enum name="KEYCODE_Y" value="53" /> 1669 <enum name="KEYCODE_Z" value="54" /> 1670 <enum name="KEYCODE_COMMA" value="55" /> 1671 <enum name="KEYCODE_PERIOD" value="56" /> 1672 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1673 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1674 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1675 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1676 <enum name="KEYCODE_TAB" value="61" /> 1677 <enum name="KEYCODE_SPACE" value="62" /> 1678 <enum name="KEYCODE_SYM" value="63" /> 1679 <enum name="KEYCODE_EXPLORER" value="64" /> 1680 <enum name="KEYCODE_ENVELOPE" value="65" /> 1681 <enum name="KEYCODE_ENTER" value="66" /> 1682 <enum name="KEYCODE_DEL" value="67" /> 1683 <enum name="KEYCODE_GRAVE" value="68" /> 1684 <enum name="KEYCODE_MINUS" value="69" /> 1685 <enum name="KEYCODE_EQUALS" value="70" /> 1686 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1687 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1688 <enum name="KEYCODE_BACKSLASH" value="73" /> 1689 <enum name="KEYCODE_SEMICOLON" value="74" /> 1690 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1691 <enum name="KEYCODE_SLASH" value="76" /> 1692 <enum name="KEYCODE_AT" value="77" /> 1693 <enum name="KEYCODE_NUM" value="78" /> 1694 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1695 <enum name="KEYCODE_FOCUS" value="80" /> 1696 <enum name="KEYCODE_PLUS" value="81" /> 1697 <enum name="KEYCODE_MENU" value="82" /> 1698 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1699 <enum name="KEYCODE_SEARCH" value="84" /> 1700 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1701 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1702 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1703 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1704 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1705 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1706 <enum name="KEYCODE_MUTE" value="91" /> 1707 <enum name="KEYCODE_PAGE_UP" value="92" /> 1708 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1709 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1710 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1711 <enum name="KEYCODE_BUTTON_A" value="96" /> 1712 <enum name="KEYCODE_BUTTON_B" value="97" /> 1713 <enum name="KEYCODE_BUTTON_C" value="98" /> 1714 <enum name="KEYCODE_BUTTON_X" value="99" /> 1715 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1716 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1717 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1718 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1719 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1720 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1721 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1722 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1723 <enum name="KEYCODE_BUTTON_START" value="108" /> 1724 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1725 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1726 <enum name="KEYCODE_ESCAPE" value="111" /> 1727 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1728 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1729 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1730 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1731 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1732 <enum name="KEYCODE_META_LEFT" value="117" /> 1733 <enum name="KEYCODE_META_RIGHT" value="118" /> 1734 <enum name="KEYCODE_FUNCTION" value="119" /> 1735 <enum name="KEYCODE_SYSRQ" value="120" /> 1736 <enum name="KEYCODE_BREAK" value="121" /> 1737 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1738 <enum name="KEYCODE_MOVE_END" value="123" /> 1739 <enum name="KEYCODE_INSERT" value="124" /> 1740 <enum name="KEYCODE_FORWARD" value="125" /> 1741 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1742 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1743 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1744 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1745 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1746 <enum name="KEYCODE_F1" value="131" /> 1747 <enum name="KEYCODE_F2" value="132" /> 1748 <enum name="KEYCODE_F3" value="133" /> 1749 <enum name="KEYCODE_F4" value="134" /> 1750 <enum name="KEYCODE_F5" value="135" /> 1751 <enum name="KEYCODE_F6" value="136" /> 1752 <enum name="KEYCODE_F7" value="137" /> 1753 <enum name="KEYCODE_F8" value="138" /> 1754 <enum name="KEYCODE_F9" value="139" /> 1755 <enum name="KEYCODE_F10" value="140" /> 1756 <enum name="KEYCODE_F11" value="141" /> 1757 <enum name="KEYCODE_F12" value="142" /> 1758 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1759 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1760 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1761 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1762 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1763 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1764 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1765 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1766 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1767 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1768 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1769 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1770 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1771 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1772 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1773 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1774 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1775 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1776 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1777 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1778 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1779 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1780 <enum name="KEYCODE_INFO" value="165" /> 1781 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1782 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1783 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1784 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1785 <enum name="KEYCODE_TV" value="170" /> 1786 <enum name="KEYCODE_WINDOW" value="171" /> 1787 <enum name="KEYCODE_GUIDE" value="172" /> 1788 <enum name="KEYCODE_DVR" value="173" /> 1789 <enum name="KEYCODE_BOOKMARK" value="174" /> 1790 <enum name="KEYCODE_CAPTIONS" value="175" /> 1791 <enum name="KEYCODE_SETTINGS" value="176" /> 1792 <enum name="KEYCODE_TV_POWER" value="177" /> 1793 <enum name="KEYCODE_TV_INPUT" value="178" /> 1794 <enum name="KEYCODE_STB_POWER" value="179" /> 1795 <enum name="KEYCODE_STB_INPUT" value="180" /> 1796 <enum name="KEYCODE_AVR_POWER" value="181" /> 1797 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1798 <enum name="KEYCODE_PROG_GRED" value="183" /> 1799 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1800 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1801 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1802 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1803 <enum name="KEYCODE_BUTTON_1" value="188" /> 1804 <enum name="KEYCODE_BUTTON_2" value="189" /> 1805 <enum name="KEYCODE_BUTTON_3" value="190" /> 1806 <enum name="KEYCODE_BUTTON_4" value="191" /> 1807 <enum name="KEYCODE_BUTTON_5" value="192" /> 1808 <enum name="KEYCODE_BUTTON_6" value="193" /> 1809 <enum name="KEYCODE_BUTTON_7" value="194" /> 1810 <enum name="KEYCODE_BUTTON_8" value="195" /> 1811 <enum name="KEYCODE_BUTTON_9" value="196" /> 1812 <enum name="KEYCODE_BUTTON_10" value="197" /> 1813 <enum name="KEYCODE_BUTTON_11" value="198" /> 1814 <enum name="KEYCODE_BUTTON_12" value="199" /> 1815 <enum name="KEYCODE_BUTTON_13" value="200" /> 1816 <enum name="KEYCODE_BUTTON_14" value="201" /> 1817 <enum name="KEYCODE_BUTTON_15" value="202" /> 1818 <enum name="KEYCODE_BUTTON_16" value="203" /> 1819 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1820 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1821 <enum name="KEYCODE_3D_MODE" value="206" /> 1822 <enum name="KEYCODE_CONTACTS" value="207" /> 1823 <enum name="KEYCODE_CALENDAR" value="208" /> 1824 <enum name="KEYCODE_MUSIC" value="209" /> 1825 <enum name="KEYCODE_CALCULATOR" value="210" /> 1826 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1827 <enum name="KEYCODE_EISU" value="212" /> 1828 <enum name="KEYCODE_MUHENKAN" value="213" /> 1829 <enum name="KEYCODE_HENKAN" value="214" /> 1830 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1831 <enum name="KEYCODE_YEN" value="216" /> 1832 <enum name="KEYCODE_RO" value="217" /> 1833 <enum name="KEYCODE_KANA" value="218" /> 1834 <enum name="KEYCODE_ASSIST" value="219" /> 1835 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1836 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1837 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1838 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1839 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1840 <enum name="KEYCODE_PAIRING" value="225" /> 1841 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1842 <enum name="KEYCODE_11" value="227" /> 1843 <enum name="KEYCODE_12" value="228" /> 1844 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1845 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1846 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1847 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1848 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1849 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1850 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1851 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1852 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1853 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1854 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1855 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1856 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1857 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1858 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1859 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1860 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1861 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1862 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1863 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1864 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1865 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1866 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1867 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1868 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1869 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1870 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1871 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1872 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1873 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1874 <enum name="KEYCODE_HELP" value="259" /> 1875 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1876 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1877 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1878 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1879 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1880 <enum name="KEYCODE_STEM_1" value="265" /> 1881 <enum name="KEYCODE_STEM_2" value="266" /> 1882 <enum name="KEYCODE_STEM_3" value="267" /> 1883 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1884 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1885 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1886 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1887 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1888 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1889 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1890 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1891 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1892 <enum name="KEYCODE_CUT" value="277" /> 1893 <enum name="KEYCODE_COPY" value="278" /> 1894 <enum name="KEYCODE_PASTE" value="279" /> 1895 <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" /> 1896 <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" /> 1897 <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" /> 1898 <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" /> 1899 <enum name="KEYCODE_ALL_APPS" value="284" /> 1900 </attr> 1901 1902 <!-- ***************************************************************** --> 1903 <!-- These define collections of attributes that can are with classes. --> 1904 <!-- ***************************************************************** --> 1905 1906 <!-- ========================== --> 1907 <!-- Special attribute classes. --> 1908 <!-- ========================== --> 1909 <eat-comment /> 1910 1911 <!-- The set of attributes that describe a Windows's theme. --> 1912 <declare-styleable name="Window"> 1913 <attr name="windowBackground" /> 1914 <attr name="windowBackgroundFallback" /> 1915 <attr name="windowContentOverlay" /> 1916 <attr name="windowFrame" /> 1917 <attr name="windowNoTitle" /> 1918 <attr name="windowFullscreen" /> 1919 <attr name="windowOverscan" /> 1920 <attr name="windowIsFloating" /> 1921 <attr name="windowIsTranslucent" /> 1922 <attr name="windowShowWallpaper" /> 1923 <attr name="windowAnimationStyle" /> 1924 <attr name="windowSoftInputMode" /> 1925 <attr name="windowDisablePreview" /> 1926 <attr name="windowNoDisplay" /> 1927 <attr name="textColor" /> 1928 <attr name="backgroundDimEnabled" /> 1929 <attr name="backgroundDimAmount" /> 1930 <attr name="windowActionBar" /> 1931 <attr name="windowActionModeOverlay" /> 1932 <attr name="windowActionBarOverlay" /> 1933 <attr name="windowEnableSplitTouch" /> 1934 <attr name="windowCloseOnTouchOutside" /> 1935 <attr name="windowTranslucentStatus" /> 1936 <attr name="windowTranslucentNavigation" /> 1937 <attr name="windowSwipeToDismiss" /> 1938 <attr name="windowContentTransitions" /> 1939 <attr name="windowActivityTransitions" /> 1940 <attr name="windowContentTransitionManager" /> 1941 <attr name="windowActionBarFullscreenDecorLayout" /> 1942 1943 <!-- The minimum width the window is allowed to be, along the major 1944 axis of the screen. That is, when in landscape. Can be either 1945 an absolute dimension or a fraction of the screen size in that 1946 dimension. --> 1947 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1948 <!-- The minimum width the window is allowed to be, along the minor 1949 axis of the screen. That is, when in portrait. Can be either 1950 an absolute dimension or a fraction of the screen size in that 1951 dimension. --> 1952 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1953 1954 <!-- A fixed width for the window along the major axis of the screen, 1955 that is, when in landscape. Can be either an absolute dimension 1956 or a fraction of the screen size in that dimension. --> 1957 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1958 <!-- A fixed height for the window along the minor axis of the screen, 1959 that is, when in landscape. Can be either an absolute dimension 1960 or a fraction of the screen size in that dimension. --> 1961 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1962 1963 <!-- A fixed width for the window along the minor axis of the screen, 1964 that is, when in portrait. Can be either an absolute dimension 1965 or a fraction of the screen size in that dimension. --> 1966 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1967 <!-- A fixed height for the window along the major axis of the screen, 1968 that is, when in portrait. Can be either an absolute dimension 1969 or a fraction of the screen size in that dimension. --> 1970 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1971 <attr name="windowOutsetBottom" format="dimension" /> 1972 <!-- Reference to a Transition XML resource defining the desired Transition 1973 used to move Views into the initial Window's content Scene. Corresponds to 1974 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1975 <attr name="windowEnterTransition"/> 1976 1977 <!-- Reference to a Transition XML resource defining the desired Transition 1978 used to move Views out of the scene when the Window is 1979 preparing to close. Corresponds to 1980 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1981 <attr name="windowReturnTransition"/> 1982 1983 <!-- Reference to a Transition XML resource defining the desired Transition 1984 used to move Views out of the Window's content Scene when launching a new Activity. 1985 Corresponds to 1986 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1987 <attr name="windowExitTransition"/> 1988 1989 <!-- Reference to a Transition XML resource defining the desired Transition 1990 used to move Views in to the scene when returning from a previously-started Activity. 1991 Corresponds to 1992 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1993 <attr name="windowReenterTransition"/> 1994 1995 <!-- Reference to a Transition XML resource defining the desired Transition 1996 used to move shared elements transferred into the Window's initial content Scene. 1997 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1998 android.transition.Transition)}. --> 1999 <attr name="windowSharedElementEnterTransition"/> 2000 2001 <!-- Reference to a Transition XML resource defining the desired Transition 2002 used to move shared elements transferred back to a calling Activity. 2003 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 2004 android.transition.Transition)}. --> 2005 <attr name="windowSharedElementReturnTransition"/> 2006 2007 <!-- Reference to a Transition XML resource defining the desired Transition 2008 used when starting a new Activity to move shared elements prior to transferring 2009 to the called Activity. 2010 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 2011 android.transition.Transition)}. --> 2012 <attr name="windowSharedElementExitTransition"/> 2013 2014 <!-- Reference to a Transition XML resource defining the desired Transition 2015 used for shared elements transferred back to a calling Activity. 2016 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 2017 android.transition.Transition)}. --> 2018 <attr name="windowSharedElementReenterTransition"/> 2019 2020 2021 <!-- Flag indicating whether this Window's transition should overlap with 2022 the exiting transition of the calling Activity. Corresponds to 2023 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 2024 <attr name="windowAllowEnterTransitionOverlap"/> 2025 2026 <!-- Flag indicating whether this Window's transition should overlap with 2027 the exiting transition of the called Activity when the called Activity 2028 finishes. Corresponds to 2029 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 2030 <attr name="windowAllowReturnTransitionOverlap"/> 2031 2032 <!-- Indicates whether or not shared elements should use an overlay 2033 during transitions. The default value is true. --> 2034 <attr name="windowSharedElementsUseOverlay"/> 2035 2036 <!-- Flag indicating whether this Window is responsible for drawing the background for the 2037 system bars. If true and the window is not floating, the system bars are drawn with a 2038 transparent background and the corresponding areas in this window are filled with the 2039 colors specified in {@link android.R.attr#statusBarColor} and 2040 {@link android.R.attr#navigationBarColor}. Corresponds to 2041 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 2042 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 2043 2044 <!-- The color for the status bar. If the color is not opaque, consider setting 2045 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2046 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 2047 For this to take effect, the window must be drawing the system bar backgrounds with 2048 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2049 have been requested to be translucent with 2050 {@link android.R.attr#windowTranslucentStatus}. 2051 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 2052 <attr name="statusBarColor" format="color" /> 2053 2054 <!-- The color for the navigation bar. If the color is not opaque, consider setting 2055 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2056 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 2057 For this to take effect, the window must be drawing the system bar backgrounds with 2058 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2059 have been requested to be translucent with 2060 {@link android.R.attr#windowTranslucentNavigation}. 2061 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 2062 <attr name="navigationBarColor" format="color" /> 2063 2064 <!-- Shows a thin line of the specified color between the navigation bar and the app 2065 content. 2066 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2067 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2068 have been requested to be translucent with 2069 {@link android.R.attr#windowTranslucentNavigation}. --> 2070 <attr name="navigationBarDividerColor" format="color" /> 2071 2072 <!-- The duration, in milliseconds, of the window background fade duration 2073 when transitioning into or away from an Activity when called with an 2074 Activity Transition. Corresponds to 2075 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2076 <attr name="windowTransitionBackgroundFadeDuration" /> 2077 2078 <!-- Elevation to use for the window. --> 2079 <attr name="windowElevation" format="dimension" /> 2080 2081 <!-- Whether to clip window content to the outline of the window background. --> 2082 <attr name="windowClipToOutline" format="boolean" /> 2083 2084 <!-- If set, the status bar will be drawn such that it is compatible with a light 2085 status bar background. 2086 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2087 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2088 have been requested to be translucent with 2089 {@link android.R.attr#windowTranslucentStatus}. 2090 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2091 the decor view. --> 2092 <attr name="windowLightStatusBar" format="boolean" /> 2093 2094 <!-- Reference to a drawable to be used as the splash screen content of the window. This 2095 drawable will be placed on top of the {@link android.R.attr#windowBackground} with its 2096 bounds inset by the system bars. If the drawable should not be inset by the system 2097 bars, use a fullscreen theme. 2098 <p> 2099 Note that even if no splashscreen content is set on the theme, the system may still 2100 show a splash screen using the other attributes on the theme, like the 2101 {@link android.R.attr#windowBackground}. 2102 --> 2103 <attr name="windowSplashscreenContent" format="reference" /> 2104 2105 <!-- If set, the navigation bar will be drawn such that it is compatible with a light 2106 navigation bar background. 2107 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2108 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2109 have been requested to be translucent with 2110 {@link android.R.attr#windowTranslucentNavigation}. 2111 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR} on 2112 the decor view. --> 2113 <attr name="windowLightNavigationBar" format="boolean" /> 2114 </declare-styleable> 2115 2116 <!-- The set of attributes that describe a AlertDialog's theme. --> 2117 <declare-styleable name="AlertDialog"> 2118 <attr name="fullDark" format="reference|color" /> 2119 <attr name="topDark" format="reference|color" /> 2120 <attr name="centerDark" format="reference|color" /> 2121 <attr name="bottomDark" format="reference|color" /> 2122 <attr name="fullBright" format="reference|color" /> 2123 <attr name="topBright" format="reference|color" /> 2124 <attr name="centerBright" format="reference|color" /> 2125 <attr name="bottomBright" format="reference|color" /> 2126 <attr name="bottomMedium" format="reference|color" /> 2127 <attr name="centerMedium" format="reference|color" /> 2128 <attr name="layout" /> 2129 <attr name="buttonPanelSideLayout" format="reference" /> 2130 <attr name="listLayout" format="reference" /> 2131 <attr name="multiChoiceItemLayout" format="reference" /> 2132 <attr name="singleChoiceItemLayout" format="reference" /> 2133 <attr name="listItemLayout" format="reference" /> 2134 <attr name="progressLayout" format="reference" /> 2135 <attr name="horizontalProgressLayout" format="reference" /> 2136 <!-- @hide Not ready for public use. --> 2137 <attr name="showTitle" format="boolean" /> 2138 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2139 <attr name="needsDefaultBackgrounds" format="boolean" /> 2140 <!-- @hide Workaround until we replace AlertController with custom layout. --> 2141 <attr name="controllerType"> 2142 <!-- The default controller. --> 2143 <enum name="normal" value="0" /> 2144 <!-- Controller for micro specific layout. --> 2145 <enum name="micro" value="1" /> 2146 </attr> 2147 <!-- @hide Offset when scrolling to a selection. --> 2148 <attr name="selectionScrollOffset" format="dimension" /> 2149 </declare-styleable> 2150 2151 <!-- @hide --> 2152 <declare-styleable name="ButtonBarLayout"> 2153 <!-- Whether to automatically stack the buttons when there is not 2154 enough space to lay them out side-by-side. --> 2155 <attr name="allowStacking" format="boolean" /> 2156 </declare-styleable> 2157 2158 <!-- Fragment animation class attributes. --> 2159 <declare-styleable name="FragmentAnimation"> 2160 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2161 <attr name="fragmentOpenExitAnimation" format="reference" /> 2162 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2163 <attr name="fragmentCloseExitAnimation" format="reference" /> 2164 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2165 <attr name="fragmentFadeExitAnimation" format="reference" /> 2166 </declare-styleable> 2167 2168 <!-- Window animation class attributes. --> 2169 <declare-styleable name="WindowAnimation"> 2170 <!-- The animation used when a window is being added. --> 2171 <attr name="windowEnterAnimation" format="reference" /> 2172 <!-- The animation used when a window is being removed. --> 2173 <attr name="windowExitAnimation" format="reference" /> 2174 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2175 <attr name="windowShowAnimation" format="reference" /> 2176 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2177 <attr name="windowHideAnimation" format="reference" /> 2178 2179 <!-- When opening a new activity, this is the animation that is 2180 run on the next activity (which is entering the screen). --> 2181 <attr name="activityOpenEnterAnimation" format="reference" /> 2182 <!-- When opening a new activity, this is the animation that is 2183 run on the previous activity (which is exiting the screen). --> 2184 <attr name="activityOpenExitAnimation" format="reference" /> 2185 <!-- When closing the current activity, this is the animation that is 2186 run on the next activity (which is entering the screen). --> 2187 <attr name="activityCloseEnterAnimation" format="reference" /> 2188 <!-- When closing the current activity, this is the animation that is 2189 run on the current activity (which is exiting the screen). --> 2190 <attr name="activityCloseExitAnimation" format="reference" /> 2191 <!-- When opening an activity in a new task, this is the animation that is 2192 run on the activity of the new task (which is entering the screen). --> 2193 <attr name="taskOpenEnterAnimation" format="reference" /> 2194 <!-- When opening an activity in a new task, this is the animation that is 2195 run on the activity of the old task (which is exiting the screen). --> 2196 <attr name="taskOpenExitAnimation" format="reference" /> 2197 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2198 this is the animation that is run on the activity of the new task (which is 2199 entering the screen and then leaving). --> 2200 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2201 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2202 this is the animation that is run on the activity of the old task (which is 2203 already on the screen and then stays on). --> 2204 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2205 <!-- When closing the last activity of a task, this is the animation that is 2206 run on the activity of the next task (which is entering the screen). --> 2207 <attr name="taskCloseEnterAnimation" format="reference" /> 2208 <!-- When opening an activity in a new task, this is the animation that is 2209 run on the activity of the old task (which is exiting the screen). --> 2210 <attr name="taskCloseExitAnimation" format="reference" /> 2211 <!-- When bringing an existing task to the foreground, this is the 2212 animation that is run on the top activity of the task being brought 2213 to the foreground (which is entering the screen). --> 2214 <attr name="taskToFrontEnterAnimation" format="reference" /> 2215 <!-- When bringing an existing task to the foreground, this is the 2216 animation that is run on the current foreground activity 2217 (which is exiting the screen). --> 2218 <attr name="taskToFrontExitAnimation" format="reference" /> 2219 <!-- When sending the current task to the background, this is the 2220 animation that is run on the top activity of the task behind 2221 it (which is entering the screen). --> 2222 <attr name="taskToBackEnterAnimation" format="reference" /> 2223 <!-- When sending the current task to the background, this is the 2224 animation that is run on the top activity of the current task 2225 (which is exiting the screen). --> 2226 <attr name="taskToBackExitAnimation" format="reference" /> 2227 2228 <!-- When opening a new activity that shows the wallpaper, while 2229 currently not showing the wallpaper, this is the animation that 2230 is run on the new wallpaper activity (which is entering the screen). --> 2231 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2232 <!-- When opening a new activity that shows the wallpaper, while 2233 currently not showing the wallpaper, this is the animation that 2234 is run on the current activity (which is exiting the screen). --> 2235 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2236 <!-- When opening a new activity that hides the wallpaper, while 2237 currently showing the wallpaper, this is the animation that 2238 is run on the new activity (which is entering the screen). --> 2239 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2240 <!-- When opening a new activity that hides the wallpaper, while 2241 currently showing the wallpaper, this is the animation that 2242 is run on the old wallpaper activity (which is exiting the screen). --> 2243 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2244 2245 <!-- When opening a new activity that is on top of the wallpaper 2246 when the current activity is also on top of the wallpaper, 2247 this is the animation that is run on the new activity 2248 (which is entering the screen). The wallpaper remains 2249 static behind the animation. --> 2250 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2251 <!-- When opening a new activity that is on top of the wallpaper 2252 when the current activity is also on top of the wallpaper, 2253 this is the animation that is run on the current activity 2254 (which is exiting the screen). The wallpaper remains 2255 static behind the animation. --> 2256 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2257 <!-- When closing a foreround activity that is on top of the wallpaper 2258 when the previous activity is also on top of the wallpaper, 2259 this is the animation that is run on the previous activity 2260 (which is entering the screen). The wallpaper remains 2261 static behind the animation. --> 2262 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2263 <!-- When closing a foreround activity that is on top of the wallpaper 2264 when the previous activity is also on top of the wallpaper, 2265 this is the animation that is run on the current activity 2266 (which is exiting the screen). The wallpaper remains 2267 static behind the animation. --> 2268 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2269 2270 <!-- When opening a new activity from a RemoteViews, this is the 2271 animation that is run on the next activity (which is entering the 2272 screen). Requires config_overrideRemoteViewsActivityTransition to 2273 be true. --> 2274 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2275 2276 </declare-styleable> 2277 2278 <!-- ============================= --> 2279 <!-- View package class attributes --> 2280 <!-- ============================= --> 2281 <eat-comment /> 2282 2283 <!-- Attributes that can be used with {@link android.view.View} or 2284 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2285 attributes that are processed by the view's parent. --> 2286 <declare-styleable name="View"> 2287 <!-- Supply an identifier name for this view, to later retrieve it 2288 with {@link android.view.View#findViewById View.findViewById()} or 2289 {@link android.app.Activity#findViewById Activity.findViewById()}. 2290 This must be a 2291 resource reference; typically you set this using the 2292 <code>@+</code> syntax to create a new ID resources. 2293 For example: <code>android:id="@+id/my_id"</code> which 2294 allows you to later retrieve the view 2295 with <code>findViewById(R.id.my_id)</code>. --> 2296 <attr name="id" format="reference" /> 2297 2298 <!-- Supply a tag for this view containing a String, to be retrieved 2299 later with {@link android.view.View#getTag View.getTag()} or 2300 searched for with {@link android.view.View#findViewWithTag 2301 View.findViewWithTag()}. It is generally preferable to use 2302 IDs (through the android:id attribute) instead of tags because 2303 they are faster and allow for compile-time type checking. --> 2304 <attr name="tag" format="string" /> 2305 2306 <!-- The initial horizontal scroll offset, in pixels.--> 2307 <attr name="scrollX" format="dimension" /> 2308 2309 <!-- The initial vertical scroll offset, in pixels. --> 2310 <attr name="scrollY" format="dimension" /> 2311 2312 <!-- A drawable to use as the background. This can be either a reference 2313 to a full drawable resource (such as a PNG image, 9-patch, 2314 XML state list description, etc), or a solid color such as "#ff000000" 2315 (black). --> 2316 <attr name="background" format="reference|color" /> 2317 2318 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2319 space between the edges of the view and the view's content. This value will take 2320 precedence over any of the edge-specific values (paddingLeft, paddingTop, 2321 paddingRight, paddingBottom, paddingHorizontal and paddingVertical), but will 2322 not override paddingStart or paddingEnd, if set. A view's size 2323 will include its padding. If a {@link android.R.attr#background} 2324 is provided, the padding will initially be set to that (0 if the 2325 drawable does not have padding). Explicitly setting a padding value 2326 will override the corresponding padding found in the background. --> 2327 <attr name="padding" format="dimension" /> 2328 <!-- Sets the padding, in pixels, of the left and right edges; see 2329 {@link android.R.attr#padding}. This value will take precedence over 2330 paddingLeft and paddingRight, but not paddingStart or paddingEnd (if set). --> 2331 <attr name="paddingHorizontal" format="dimension" /> 2332 <!-- Sets the padding, in pixels, of the top and bottom edges; see 2333 {@link android.R.attr#padding}. This value will take precedence over 2334 paddingTop and paddingBottom, if set. --> 2335 <attr name="paddingVertical" format="dimension" /> 2336 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2337 <attr name="paddingLeft" format="dimension" /> 2338 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2339 <attr name="paddingTop" format="dimension" /> 2340 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2341 <attr name="paddingRight" format="dimension" /> 2342 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2343 <attr name="paddingBottom" format="dimension" /> 2344 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2345 <attr name="paddingStart" format="dimension" /> 2346 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2347 <attr name="paddingEnd" format="dimension" /> 2348 2349 <!-- Controls whether a view can take focus. By default, this is "auto" which lets the 2350 framework determine whether a user can move focus to a view. By setting this attribute 2351 to true the view is allowed to take focus. By setting it to "false" the view will not 2352 take focus. This value does not impact the behavior of 2353 directly calling {@link android.view.View#requestFocus}, which will 2354 always request focus regardless of this view. It only impacts where 2355 focus navigation will try to move focus. --> 2356 <attr name="focusable" format="boolean|enum"> 2357 <enum name="auto" value="0x00000010" /> 2358 </attr> 2359 2360 <attr name="__removed3" /> 2361 2362 <!-- Describes the content of a view so that a autofill service can fill in the appropriate 2363 data. Multiple hints can be combined in a comma separated list or an array of strings 2364 to mean e.g. emailAddress or postalAddress. --> 2365 <attr name="autofillHints" format="string|reference" /> 2366 2367 <!-- Hints the Android System whether the view node associated with this View should be 2368 included in a view structure used for autofill purposes. --> 2369 <attr name="importantForAutofill"> 2370 <!-- Let the Android System use its heuristics to determine if the view is important for autofill. --> 2371 <flag name="auto" value="0" /> 2372 <!-- Hint the Android System that this view is important for autofill, 2373 and its children (if any) will be traversed.. --> 2374 <flag name="yes" value="0x1" /> 2375 <!-- Hint the Android System that this view is *not* important for autofill, 2376 but its children (if any) will be traversed.. --> 2377 <flag name="no" value="0x2" /> 2378 <!-- Hint the Android System that this view is important for autofill, 2379 but its children (if any) will not be traversed. --> 2380 <flag name="yesExcludeDescendants" value="0x4" /> 2381 <!-- Hint the Android System that this view is *not* important for autofill, 2382 and its children (if any) will not be traversed. --> 2383 <flag name="noExcludeDescendants" value="0x8" /> 2384 </attr> 2385 2386 <!-- Boolean that controls whether a view can take focus while in touch mode. 2387 If this is true for a view, that view can gain focus when clicked on, and can keep 2388 focus if another view is clicked on that doesn't have this attribute set to true. --> 2389 <attr name="focusableInTouchMode" format="boolean" /> 2390 2391 <!-- Controls the initial visibility of the view. --> 2392 <attr name="visibility"> 2393 <!-- Visible on screen; the default value. --> 2394 <enum name="visible" value="0" /> 2395 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2396 <enum name="invisible" value="1" /> 2397 <!-- Completely hidden, as if the view had not been added. --> 2398 <enum name="gone" value="2" /> 2399 </attr> 2400 2401 <!-- Boolean internal attribute to adjust view layout based on 2402 system windows such as the status bar. 2403 If true, adjusts the padding of this view to leave space for the system windows. 2404 Will only take effect if this view is in a non-embedded activity. --> 2405 <attr name="fitsSystemWindows" format="boolean" /> 2406 2407 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2408 <attr name="scrollbars"> 2409 <!-- No scrollbar is displayed. --> 2410 <flag name="none" value="0x00000000" /> 2411 <!-- Displays horizontal scrollbar only. --> 2412 <flag name="horizontal" value="0x00000100" /> 2413 <!-- Displays vertical scrollbar only. --> 2414 <flag name="vertical" value="0x00000200" /> 2415 </attr> 2416 2417 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2418 inset. When inset, they add to the padding of the view. And the 2419 scrollbars can be drawn inside the padding area or on the edge of 2420 the view. For example, if a view has a background drawable and you 2421 want to draw the scrollbars inside the padding specified by the 2422 drawable, you can use insideOverlay or insideInset. If you want them 2423 to appear at the edge of the view, ignoring the padding, then you can 2424 use outsideOverlay or outsideInset.--> 2425 <attr name="scrollbarStyle"> 2426 <!-- Inside the padding and overlaid. --> 2427 <enum name="insideOverlay" value="0x0" /> 2428 <!-- Inside the padding and inset. --> 2429 <enum name="insideInset" value="0x01000000" /> 2430 <!-- Edge of the view and overlaid. --> 2431 <enum name="outsideOverlay" value="0x02000000" /> 2432 <!-- Edge of the view and inset. --> 2433 <enum name="outsideInset" value="0x03000000" /> 2434 </attr> 2435 2436 <!-- Set this if the view will serve as a scrolling container, meaning 2437 that it can be resized to shrink its overall window so that there 2438 will be space for an input method. If not set, the default 2439 value will be true if "scrollbars" has the vertical scrollbar 2440 set, else it will be false. --> 2441 <attr name="isScrollContainer" format="boolean" /> 2442 2443 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2444 <attr name="fadeScrollbars" format="boolean" /> 2445 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2446 <attr name="scrollbarFadeDuration" format="integer" /> 2447 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2448 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2449 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2450 <attr name="scrollbarSize" format="dimension" /> 2451 <!-- Defines the horizontal scrollbar thumb drawable. --> 2452 <attr name="scrollbarThumbHorizontal" format="reference" /> 2453 <!-- Defines the vertical scrollbar thumb drawable. --> 2454 <attr name="scrollbarThumbVertical" format="reference" /> 2455 <!-- Defines the horizontal scrollbar track drawable. --> 2456 <attr name="scrollbarTrackHorizontal" format="reference" /> 2457 <!-- Defines the vertical scrollbar track drawable. --> 2458 <attr name="scrollbarTrackVertical" format="reference" /> 2459 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2460 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2461 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2462 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2463 2464 <!-- This attribute is ignored in API level 14 2465 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher. 2466 Using fading edges may introduce noticeable performance 2467 degradations and should be used only when required by the application's 2468 visual design. To request fading edges with API level 14 and above, 2469 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2470 <attr name="fadingEdge"> 2471 <!-- No edge is faded. --> 2472 <flag name="none" value="0x00000000" /> 2473 <!-- Fades horizontal edges only. --> 2474 <flag name="horizontal" value="0x00001000" /> 2475 <!-- Fades vertical edges only. --> 2476 <flag name="vertical" value="0x00002000" /> 2477 </attr> 2478 <!-- Defines which edges should be faded on scrolling. --> 2479 <attr name="requiresFadingEdge"> 2480 <!-- No edge is faded. --> 2481 <flag name="none" value="0x00000000" /> 2482 <!-- Fades horizontal edges only. --> 2483 <flag name="horizontal" value="0x00001000" /> 2484 <!-- Fades vertical edges only. --> 2485 <flag name="vertical" value="0x00002000" /> 2486 </attr> 2487 <!-- Defines the length of the fading edges. --> 2488 <attr name="fadingEdgeLength" format="dimension" /> 2489 2490 <!-- Defines the next view to give focus to when the next focus is 2491 {@link android.view.View#FOCUS_LEFT}. 2492 2493 If the reference refers to a view that does not exist or is part 2494 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2495 will result when the reference is accessed.--> 2496 <attr name="nextFocusLeft" format="reference"/> 2497 2498 <!-- Defines the next view to give focus to when the next focus is 2499 {@link android.view.View#FOCUS_RIGHT} 2500 2501 If the reference refers to a view that does not exist or is part 2502 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2503 will result when the reference is accessed.--> 2504 <attr name="nextFocusRight" format="reference"/> 2505 2506 <!-- Defines the next view to give focus to when the next focus is 2507 {@link android.view.View#FOCUS_UP} 2508 2509 If the reference refers to a view that does not exist or is part 2510 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2511 will result when the reference is accessed.--> 2512 <attr name="nextFocusUp" format="reference"/> 2513 2514 <!-- Defines the next view to give focus to when the next focus is 2515 {@link android.view.View#FOCUS_DOWN} 2516 2517 If the reference refers to a view that does not exist or is part 2518 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2519 will result when the reference is accessed.--> 2520 <attr name="nextFocusDown" format="reference"/> 2521 2522 <!-- Defines the next view to give focus to when the next focus is 2523 {@link android.view.View#FOCUS_FORWARD} 2524 2525 If the reference refers to a view that does not exist or is part 2526 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2527 will result when the reference is accessed.--> 2528 <attr name="nextFocusForward" format="reference"/> 2529 2530 <!-- Defines whether this view reacts to click events. --> 2531 <attr name="clickable" format="boolean" /> 2532 2533 <!-- Defines whether this view reacts to long click events. --> 2534 <attr name="longClickable" format="boolean" /> 2535 2536 <!-- Defines whether this view reacts to context click events. --> 2537 <attr name="contextClickable" format="boolean" /> 2538 2539 <!-- If false, no state will be saved for this view when it is being 2540 frozen. The default is true, allowing the view to be saved 2541 (however it also must have an ID assigned to it for its 2542 state to be saved). Setting this to false only disables the 2543 state for this view, not for its children which may still 2544 be saved. --> 2545 <attr name="saveEnabled" format="boolean" /> 2546 2547 <!-- Specifies whether to filter touches when the view's window is obscured by 2548 another visible window. When set to true, the view will not receive touches 2549 whenever a toast, dialog or other window appears above the view's window. 2550 Refer to the {@link android.view.View} security documentation for more details. --> 2551 <attr name="filterTouchesWhenObscured" format="boolean" /> 2552 2553 <!-- Defines the quality of translucent drawing caches. This property is used 2554 only when the drawing cache is enabled and translucent. The default value is auto. 2555 Deprecated: The view drawing cache was largely made obsolete with the introduction of 2556 hardware-accelerated rendering in API 11. --> 2557 <attr name="drawingCacheQuality"> 2558 <!-- Lets the framework decide what quality level should be used 2559 for the drawing cache. 2560 Deprecated: The view drawing cache was largely made obsolete with the introduction 2561 of hardware-accelerated rendering in API 11. --> 2562 <enum name="auto" value="0" /> 2563 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2564 depth, thus losing precision in rendering gradients, but uses less memory. 2565 Deprecated: The view drawing cache was largely made obsolete with the introduction 2566 of hardware-accelerated rendering in API 11. --> 2567 <enum name="low" value="1" /> 2568 <!-- High quality. When set to high quality, the drawing cache uses a higher 2569 color depth but uses more memory. 2570 Deprecated: The view drawing cache was largely made obsolete with the introduction 2571 of hardware-accelerated rendering in API 11. --> 2572 <enum name="high" value="2" /> 2573 </attr> 2574 2575 <!-- Controls whether the view's window should keep the screen on 2576 while visible. --> 2577 <attr name="keepScreenOn" format="boolean" /> 2578 2579 <!-- When this attribute is set to true, the view gets its drawable state 2580 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2581 <attr name="duplicateParentState" format="boolean" /> 2582 2583 <!-- Defines the minimum height of the view. It is not guaranteed 2584 the view will be able to achieve this minimum height (for example, 2585 if its parent layout constrains it with less available height). --> 2586 <attr name="minHeight" /> 2587 2588 <!-- Defines the minimum width of the view. It is not guaranteed 2589 the view will be able to achieve this minimum width (for example, 2590 if its parent layout constrains it with less available width). --> 2591 <attr name="minWidth" /> 2592 2593 <!-- Boolean that controls whether a view should have sound effects 2594 enabled for events such as clicking and touching. --> 2595 <attr name="soundEffectsEnabled" format="boolean" /> 2596 2597 <!-- Boolean that controls whether a view should have haptic feedback 2598 enabled for events such as long presses. --> 2599 <attr name="hapticFeedbackEnabled" format="boolean" /> 2600 2601 <!-- Defines text that briefly describes content of the view. This property is used 2602 primarily for accessibility. Since some views do not have textual 2603 representation this attribute can be used for providing such. --> 2604 <attr name="contentDescription" format="string" localization="suggested" /> 2605 2606 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2607 A screen-reader must visit the content of this view before the content of the one 2608 it precedes. 2609 {@see android.view.View#setAccessibilityTraversalBefore(int)} --> 2610 <attr name="accessibilityTraversalBefore" format="integer" /> 2611 2612 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2613 A screen-reader must visit the content of the other view before the content of 2614 this one. 2615 {@see android.view.View#setAccessibilityTraversalAfter(int)} --> 2616 <attr name="accessibilityTraversalAfter" format="integer" /> 2617 2618 <!-- Name of the method in this View's context to invoke when the view is 2619 clicked. This name must correspond to a public method that takes 2620 exactly one parameter of type View. For instance, if you specify 2621 <code>android:onClick="sayHello"</code>, you must declare a 2622 <code>public void sayHello(View v)</code> method of your context 2623 (typically, your Activity). --> 2624 <attr name="onClick" format="string" /> 2625 2626 <!-- Defines over-scrolling behavior. This property is used only if the 2627 View is scrollable. Over-scrolling is the ability for the user to 2628 receive feedback when attempting to scroll beyond meaningful content. --> 2629 <attr name="overScrollMode"> 2630 <!-- Always show over-scroll effects, even if the content fits entirely 2631 within the available space. --> 2632 <enum name="always" value="0" /> 2633 <!-- Only show over-scroll effects if the content is large 2634 enough to meaningfully scroll. --> 2635 <enum name="ifContentScrolls" value="1" /> 2636 <!-- Never show over-scroll effects. --> 2637 <enum name="never" value="2" /> 2638 </attr> 2639 2640 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2641 (completely opaque). --> 2642 <attr name="alpha" format="float" /> 2643 2644 <!-- base z depth of the view. --> 2645 <attr name="elevation" format="dimension" /> 2646 2647 <!-- translation in x of the view. This value is added post-layout to the left 2648 property of the view, which is set by its layout. --> 2649 <attr name="translationX" format="dimension" /> 2650 2651 <!-- translation in y of the view. This value is added post-layout to the top 2652 property of the view, which is set by its layout. --> 2653 <attr name="translationY" format="dimension" /> 2654 2655 <!-- translation in z of the view. This value is added to its elevation. --> 2656 <attr name="translationZ" format="dimension" /> 2657 2658 <!-- x location of the pivot point around which the view will rotate and scale. 2659 This xml attribute sets the pivotX property of the View. --> 2660 <attr name="transformPivotX" format="dimension" /> 2661 2662 <!-- y location of the pivot point around which the view will rotate and scale. 2663 This xml attribute sets the pivotY property of the View. --> 2664 <attr name="transformPivotY" format="dimension" /> 2665 2666 <!-- rotation of the view, in degrees. --> 2667 <attr name="rotation" format="float" /> 2668 2669 <!-- rotation of the view around the x axis, in degrees. --> 2670 <attr name="rotationX" format="float" /> 2671 2672 <!-- rotation of the view around the y axis, in degrees. --> 2673 <attr name="rotationY" format="float" /> 2674 2675 <!-- scale of the view in the x direction. --> 2676 <attr name="scaleX" format="float" /> 2677 2678 <!-- scale of the view in the y direction. --> 2679 <attr name="scaleY" format="float" /> 2680 2681 <!-- Determines which side the vertical scroll bar should be placed on. --> 2682 <attr name="verticalScrollbarPosition"> 2683 <!-- Place the scroll bar wherever the system default determines. --> 2684 <enum name="defaultPosition" value="0" /> 2685 <!-- Place the scroll bar on the left. --> 2686 <enum name="left" value="1" /> 2687 <!-- Place the scroll bar on the right. --> 2688 <enum name="right" value="2" /> 2689 </attr> 2690 2691 <!-- Specifies the type of layer backing this view. The default value is none. 2692 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2693 for more information.--> 2694 <attr name="layerType"> 2695 <!-- Don't use a layer. --> 2696 <enum name="none" value="0" /> 2697 <!-- Use a software layer. Refer to 2698 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2699 more information. --> 2700 <enum name="software" value="1" /> 2701 <!-- Use a hardware layer. Refer to 2702 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2703 more information. --> 2704 <enum name="hardware" value="2" /> 2705 </attr> 2706 2707 <!-- Defines the direction of layout drawing. This typically is associated with writing 2708 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2709 "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing 2710 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2711 used in "en-US". The default for this attribute is "inherit". --> 2712 <attr name="layoutDirection"> 2713 <!-- Left-to-Right. --> 2714 <enum name="ltr" value="0" /> 2715 <!-- Right-to-Left. --> 2716 <enum name="rtl" value="1" /> 2717 <!-- Inherit from parent. --> 2718 <enum name="inherit" value="2" /> 2719 <!-- Locale. --> 2720 <enum name="locale" value="3" /> 2721 </attr> 2722 2723 <!-- Defines the direction of the text. --> 2724 <attr name="textDirection" format="integer"> 2725 <!-- Default. --> 2726 <enum name="inherit" value="0" /> 2727 <!-- Default for the root view. The first strong directional character determines the 2728 paragraph direction. If there is no strong directional character, the paragraph 2729 direction is the view’s resolved layout direction. --> 2730 <enum name="firstStrong" value="1" /> 2731 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2732 it is LTR if it contains any strong LTR characters. If there are neither, the 2733 paragraph direction is the view’s resolved layout direction. --> 2734 <enum name="anyRtl" value="2" /> 2735 <!-- The paragraph direction is left to right. --> 2736 <enum name="ltr" value="3" /> 2737 <!-- The paragraph direction is right to left. --> 2738 <enum name="rtl" value="4" /> 2739 <!-- The paragraph direction is coming from the system Locale. --> 2740 <enum name="locale" value="5" /> 2741 <!-- The first strong directional character determines the paragraph direction. If 2742 there is no strong directional character, the paragraph direction is LTR. --> 2743 <enum name="firstStrongLtr" value="6" /> 2744 <!-- The first strong directional character determines the paragraph direction. If 2745 there is no strong directional character, the paragraph direction is RTL. --> 2746 <enum name="firstStrongRtl" value="7" /> 2747 </attr> 2748 2749 <!-- Defines the alignment of the text. --> 2750 <attr name="textAlignment" format="integer"> 2751 <!-- Default. --> 2752 <enum name="inherit" value="0" /> 2753 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2754 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2755 text direction. --> 2756 <enum name="gravity" value="1" /> 2757 <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. --> 2758 <enum name="textStart" value="2" /> 2759 <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. --> 2760 <enum name="textEnd" value="3" /> 2761 <!-- Center the paragraph, for example: ALIGN_CENTER. --> 2762 <enum name="center" value="4" /> 2763 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2764 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2765 <enum name="viewStart" value="5" /> 2766 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2767 layoutDirection is LTR, and ALIGN_LEFT otherwise. --> 2768 <enum name="viewEnd" value="6" /> 2769 </attr> 2770 2771 <!-- Describes whether or not this view is important for accessibility. 2772 If it is important, the view fires accessibility events and is 2773 reported to accessibility services that query the screen. Note: 2774 While not recommended, an accessibility service may decide to 2775 ignore this attribute and operate on all views in the view tree. --> 2776 <attr name="importantForAccessibility" format="integer"> 2777 <!-- The system determines whether the view is important for accessibility - default 2778 (recommended). --> 2779 <enum name="auto" value="0" /> 2780 <!-- The view is important for accessibility. --> 2781 <enum name="yes" value="1" /> 2782 <!-- The view is not important for accessibility. --> 2783 <enum name="no" value="2" /> 2784 <!-- The view is not important for accessibility, nor are any of its descendant 2785 views. --> 2786 <enum name="noHideDescendants" value="4" /> 2787 </attr> 2788 2789 <!-- Indicates to accessibility services whether the user should be notified when 2790 this view changes. --> 2791 <attr name="accessibilityLiveRegion" format="integer"> 2792 <!-- Accessibility services should not announce changes to this view. --> 2793 <enum name="none" value="0" /> 2794 <!-- Accessibility services should announce changes to this view. --> 2795 <enum name="polite" value="1" /> 2796 <!-- Accessibility services should interrupt ongoing speech to immediately 2797 announce changes to this view. --> 2798 <enum name="assertive" value="2" /> 2799 </attr> 2800 2801 <!-- Specifies the id of a view for which this view serves as a label for 2802 accessibility purposes. For example, a TextView before an EditText in 2803 the UI usually specifies what infomation is contained in the EditText. 2804 Hence, the TextView is a label for the EditText. --> 2805 <attr name="labelFor" format="reference" /> 2806 2807 <!-- Specifies a theme override for a view. When a theme override is set, the 2808 view will be inflated using a {@link android.content.Context} themed with 2809 the specified resource. During XML inflation, any child views under the 2810 view with a theme override will inherit the themed context. --> 2811 <attr name="theme" /> 2812 2813 <!-- Names a View such that it can be identified for Transitions. Names should be 2814 unique in the View hierarchy. --> 2815 <attr name="transitionName" format="string" /> 2816 2817 <!-- Specifies that this view should permit nested scrolling within a compatible 2818 ancestor view. --> 2819 <attr name="nestedScrollingEnabled" format="boolean" /> 2820 2821 <!-- Sets the state-based animator for the View. --> 2822 <attr name="stateListAnimator" format="reference"/> 2823 2824 <!-- Tint to apply to the background. --> 2825 <attr name="backgroundTint" format="color" /> 2826 2827 <!-- Blending mode used to apply the background tint. --> 2828 <attr name="backgroundTintMode"> 2829 <!-- The tint is drawn on top of the drawable. 2830 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2831 <enum name="src_over" value="3" /> 2832 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2833 color channels are thrown out. [Sa * Da, Sc * Da] --> 2834 <enum name="src_in" value="5" /> 2835 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2836 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2837 <enum name="src_atop" value="9" /> 2838 <!-- Multiplies the color and alpha channels of the drawable with those of 2839 the tint. [Sa * Da, Sc * Dc] --> 2840 <enum name="multiply" value="14" /> 2841 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2842 <enum name="screen" value="15" /> 2843 <!-- Combines the tint and drawable color and alpha channels, clamping the 2844 result to valid color values. Saturate(S + D) --> 2845 <enum name="add" value="16" /> 2846 </attr> 2847 2848 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2849 <attr name="outlineProvider"> 2850 <!-- Default, background drawable-driven outline. --> 2851 <enum name="background" value="0" /> 2852 <!-- No outline provider. --> 2853 <enum name="none" value="1" /> 2854 <!-- Generates an opaque outline for the bounds of the view. --> 2855 <enum name="bounds" value="2" /> 2856 <!-- Generates an opaque outline for the padded bounds of the view. --> 2857 <enum name="paddedBounds" value="3" /> 2858 </attr> 2859 2860 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2861 The foreground drawable participates in the padding of the content if the gravity 2862 is set to fill. --> 2863 <attr name="foreground" format="reference|color" /> 2864 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2865 to fill. --> 2866 <attr name="foregroundGravity"> 2867 <!-- Push object to the top of its container, not changing its size. --> 2868 <flag name="top" value="0x30" /> 2869 <!-- Push object to the bottom of its container, not changing its size. --> 2870 <flag name="bottom" value="0x50" /> 2871 <!-- Push object to the left of its container, not changing its size. --> 2872 <flag name="left" value="0x03" /> 2873 <!-- Push object to the right of its container, not changing its size. --> 2874 <flag name="right" value="0x05" /> 2875 <!-- Place object in the vertical center of its container, not changing its size. --> 2876 <flag name="center_vertical" value="0x10" /> 2877 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2878 <flag name="fill_vertical" value="0x70" /> 2879 <!-- Place object in the horizontal center of its container, not changing its size. --> 2880 <flag name="center_horizontal" value="0x01" /> 2881 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2882 <flag name="fill_horizontal" value="0x07" /> 2883 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2884 <flag name="center" value="0x11" /> 2885 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2886 <flag name="fill" value="0x77" /> 2887 <!-- Additional option that can be set to have the top and/or bottom edges of 2888 the child clipped to its container's bounds. 2889 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2890 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2891 <flag name="clip_vertical" value="0x80" /> 2892 <!-- Additional option that can be set to have the left and/or right edges of 2893 the child clipped to its container's bounds. 2894 The clip will be based on the horizontal gravity: a left gravity will clip the right 2895 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2896 <flag name="clip_horizontal" value="0x08" /> 2897 </attr> 2898 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2899 This property is turned on by default. --> 2900 <attr name="foregroundInsidePadding" format="boolean" /> 2901 <!-- Tint to apply to the foreground. --> 2902 <attr name="foregroundTint" format="color" /> 2903 <!-- Blending mode used to apply the foreground tint. --> 2904 <attr name="foregroundTintMode"> 2905 <!-- The tint is drawn on top of the drawable. 2906 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2907 <enum name="src_over" value="3" /> 2908 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2909 color channels are thrown out. [Sa * Da, Sc * Da] --> 2910 <enum name="src_in" value="5" /> 2911 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2912 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2913 <enum name="src_atop" value="9" /> 2914 <!-- Multiplies the color and alpha channels of the drawable with those of 2915 the tint. [Sa * Da, Sc * Dc] --> 2916 <enum name="multiply" value="14" /> 2917 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2918 <enum name="screen" value="15" /> 2919 <!-- Combines the tint and drawable color and alpha channels, clamping the 2920 result to valid color values. Saturate(S + D) --> 2921 <enum name="add" value="16" /> 2922 </attr> 2923 2924 <!-- Defines which scroll indicators should be displayed when the view 2925 can be scrolled. Multiple values may be combined using logical OR, 2926 for example "top|bottom". --> 2927 <attr name="scrollIndicators"> 2928 <!-- No scroll indicators are displayed. --> 2929 <flag name="none" value="0x00" /> 2930 <!-- Displays top scroll indicator when view can be scrolled up. --> 2931 <flag name="top" value="0x01" /> 2932 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2933 <flag name="bottom" value="0x02" /> 2934 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2935 <flag name="left" value="0x04" /> 2936 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2937 <flag name="right" value="0x08" /> 2938 <!-- Displays right scroll indicator when vew can be scrolled in the 2939 start direction. --> 2940 <flag name="start" value="0x10" /> 2941 <!-- Displays right scroll indicator when vew can be scrolled in the 2942 end direction. --> 2943 <flag name="end" value="0x20" /> 2944 </attr> 2945 2946 <attr name="pointerIcon"> 2947 <!-- Null icon, pointer becomes invisible. --> 2948 <enum name="none" value="0" /> 2949 <!-- The default icon of arrow pointer. --> 2950 <enum name="arrow" value="1000" /> 2951 <!-- Pointer icon indicating context-menu will appear. --> 2952 <enum name="context_menu" value="1001" /> 2953 <!-- Pointer icon of a hand with the index finger. --> 2954 <enum name="hand" value="1002" /> 2955 <!-- Pointer icon indicating help. --> 2956 <enum name="help" value="1003" /> 2957 <!-- Pointer icon indicating something is going on and waiting. --> 2958 <enum name="wait" value="1004" /> 2959 <!-- Pointer icon for cell and grid. --> 2960 <enum name="cell" value="1006" /> 2961 <!-- Pointer icon of crosshair, indicating to spot a location. --> 2962 <enum name="crosshair" value="1007" /> 2963 <!-- Pointer icon of I-beam, usually for text. --> 2964 <enum name="text" value="1008" /> 2965 <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. --> 2966 <enum name="vertical_text" value="1009" /> 2967 <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be 2968 created. --> 2969 <enum name="alias" value="1010" /> 2970 <!-- Pointer icon of 'copy', used for drag/drop. --> 2971 <enum name="copy" value="1011" /> 2972 <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the 2973 current location. --> 2974 <enum name="no_drop" value="1012" /> 2975 <!-- Pointer icon of four-way arrows, indicating scrolling all direction. --> 2976 <enum name="all_scroll" value="1013" /> 2977 <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. --> 2978 <enum name="horizontal_double_arrow" value="1014" /> 2979 <!-- Pointer icon of vertical double arrow, indicating vertical resize. --> 2980 <enum name="vertical_double_arrow" value="1015" /> 2981 <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left. 2982 Indicating freeform resize. --> 2983 <enum name="top_right_diagonal_double_arrow" value="1016" /> 2984 <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right. 2985 Indicating freeform resize. --> 2986 <enum name="top_left_diagonal_double_arrow" value="1017" /> 2987 <!-- Pointer icon indicating zoom-in. --> 2988 <enum name="zoom_in" value="1018" /> 2989 <!-- Pointer icon indicating zoom-out. --> 2990 <enum name="zoom_out" value="1019" /> 2991 <!-- Pointer icon of a hand sign to grab something. --> 2992 <enum name="grab" value="1020" /> 2993 <!-- Pointer icon of a hand sign while grabbing something. --> 2994 <enum name="grabbing" value="1021" /> 2995 </attr> 2996 2997 <!-- Whether this view has elements that may overlap when drawn. See 2998 {@link android.view.View#forceHasOverlappingRendering(boolean)}. --> 2999 <attr name="forceHasOverlappingRendering" format="boolean" /> 3000 3001 <!-- Defines text displayed in a small popup window on hover or long press. --> 3002 <attr name="tooltipText" format="string" localization="suggested" /> 3003 3004 <!-- Whether this view is a root of a keyboard navigation cluster. 3005 See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. --> 3006 <attr name="keyboardNavigationCluster" format="boolean" /> 3007 3008 <attr name="__removed0" format="boolean" /> 3009 3010 <!-- Defines the next keyboard navigation cluster. 3011 3012 If the reference refers to a view that does not exist or is part 3013 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 3014 will result when the reference is accessed.--> 3015 <attr name="nextClusterForward" format="reference"/> 3016 3017 <attr name="__removed1" format="reference"/> 3018 3019 <!-- Whether this view is a default-focus view. 3020 Only one view per keyboard navigation cluster can have this attribute set to true. 3021 See {@link android.view.View#setFocusedByDefault(boolean)}. --> 3022 <attr name="focusedByDefault" format="boolean" /> 3023 3024 <!-- Whether this View should use a default focus highlight when it gets focused but 3025 doesn't have {@link android.R.attr#state_focused} defined in its background. --> 3026 <attr name="defaultFocusHighlightEnabled" format="boolean" /> 3027 3028 <!-- Whether this view should be treated as a focusable unit by screen reader accessibility 3029 tools. See {@link android.view.View#setScreenReaderFocusable(boolean)}. The default 3030 value, {@code false}, leaves the screen reader to consider other signals, such as 3031 focusability or the presence of text, to decide what it focus.--> 3032 <attr name="screenReaderFocusable" format="boolean" /> 3033 3034 <!-- The title this view should present to accessibility as a pane title. 3035 See {@link android.view.View#setAccessibilityPaneTitle(CharSequence)} --> 3036 <attr name="accessibilityPaneTitle" format="string" /> 3037 </declare-styleable> 3038 3039 <!-- Attributes that can be assigned to a tag for a particular View. --> 3040 <declare-styleable name="ViewTag"> 3041 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 3042 <attr name="id" /> 3043 <!-- Specifies the value with which to tag the view. --> 3044 <attr name="value" /> 3045 </declare-styleable> 3046 3047 <!-- Attributes that can be assigned to an <include> tag. 3048 @hide --> 3049 <declare-styleable name="Include"> 3050 <attr name="id" /> 3051 <attr name="visibility" /> 3052 </declare-styleable> 3053 3054 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 3055 of its subclasses. Also see {@link #ViewGroup_Layout} for 3056 attributes that this class processes in its children. --> 3057 <declare-styleable name="ViewGroup"> 3058 <!-- Defines whether changes in layout (caused by adding and removing items) should 3059 cause a LayoutTransition to run. When this flag is set to true, a default 3060 LayoutTransition object will be set on the ViewGroup container and default 3061 animations will run when these layout changes occur.--> 3062 <attr name="animateLayoutChanges" format="boolean" /> 3063 <!-- Defines whether a child is limited to draw inside of its bounds or not. 3064 This is useful with animations that scale the size of the children to more 3065 than 100% for instance. In such a case, this property should be set to false 3066 to allow the children to draw outside of their bounds. The default value of 3067 this property is true. --> 3068 <attr name="clipChildren" format="boolean" /> 3069 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 3070 EdgeEffect to its padding, if padding is not zero. This property is set to true by 3071 default. --> 3072 <attr name="clipToPadding" format="boolean" /> 3073 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 3074 Layout animations can also be started manually after the first layout. --> 3075 <attr name="layoutAnimation" format="reference" /> 3076 <!-- Defines whether layout animations should create a drawing cache for their 3077 children. Enabling the animation cache consumes more memory and requires 3078 a longer initialization but provides better performance. The animation 3079 cache is enabled by default. --> 3080 <attr name="animationCache" format="boolean" /> 3081 <!-- Defines the persistence of the drawing cache. The drawing cache might be 3082 enabled by a ViewGroup for all its children in specific situations (for 3083 instance during a scrolling.) This property lets you persist the cache 3084 in memory after its initial usage. Persisting the cache consumes more 3085 memory but may prevent frequent garbage collection is the cache is created 3086 over and over again. By default the persistence is set to scrolling. 3087 Deprecated: The view drawing cache was largely made obsolete with the introduction of 3088 hardware-accelerated rendering in API 11. --> 3089 <attr name="persistentDrawingCache"> 3090 <!-- The drawing cache is not persisted after use. --> 3091 <flag name="none" value="0x0" /> 3092 <!-- The drawing cache is persisted after a layout animation. --> 3093 <flag name="animation" value="0x1" /> 3094 <!-- The drawing cache is persisted after a scroll. --> 3095 <flag name="scrolling" value="0x2" /> 3096 <!-- The drawing cache is always persisted. --> 3097 <flag name="all" value="0x3" /> 3098 </attr> 3099 <!-- Defines whether the ViewGroup should always draw its children using their 3100 drawing cache or not. The default value is true. 3101 Deprecated: The view drawing cache was largely made obsolete with the introduction of 3102 hardware-accelerated rendering in API 11. --> 3103 <attr name="alwaysDrawnWithCache" format="boolean" /> 3104 <!-- Sets whether this ViewGroup's drawable states also include 3105 its children's drawable states. This is used, for example, to 3106 make a group appear to be focused when its child EditText or button 3107 is focused. --> 3108 <attr name="addStatesFromChildren" format="boolean" /> 3109 3110 <!-- Defines the relationship between the ViewGroup and its descendants 3111 when looking for a View to take focus. --> 3112 <attr name="descendantFocusability"> 3113 <!-- The ViewGroup will get focus before any of its descendants. --> 3114 <enum name="beforeDescendants" value="0" /> 3115 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 3116 <enum name="afterDescendants" value="1" /> 3117 <!-- The ViewGroup will block its descendants from receiving focus. --> 3118 <enum name="blocksDescendants" value="2" /> 3119 </attr> 3120 3121 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 3122 <attr name="touchscreenBlocksFocus" format="boolean" /> 3123 3124 <!-- Sets whether this ViewGroup should split MotionEvents 3125 to separate child views during touch event dispatch. 3126 If false (default), touch events will be dispatched to 3127 the child view where the first pointer went down until 3128 the last pointer goes up. 3129 If true, touch events may be dispatched to multiple children. 3130 MotionEvents for each pointer will be dispatched to the child 3131 view where the initial ACTION_DOWN event happened. 3132 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 3133 for more information. --> 3134 <attr name="splitMotionEvents" format="boolean" /> 3135 3136 <!-- Defines the layout mode of this ViewGroup. --> 3137 <attr name="layoutMode"> 3138 <!-- Use the children's clip bounds when laying out this container. --> 3139 <enum name="clipBounds" value="0" /> 3140 <!-- Use the children's optical bounds when laying out this container. --> 3141 <enum name="opticalBounds" value="1" /> 3142 </attr> 3143 3144 <!-- Sets whether or not this ViewGroup should be treated as a single entity 3145 when doing an Activity transition. Typically, the elements inside a 3146 ViewGroup are each transitioned from the scene individually. The default 3147 for a ViewGroup is false unless it has a background. See 3148 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 3149 android.view.View, String)} for more information. Corresponds to 3150 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 3151 <attr name="transitionGroup" format="boolean" /> 3152 </declare-styleable> 3153 3154 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 3155 inside your application at runtime. --> 3156 <declare-styleable name="ViewStub"> 3157 <!-- Supply an identifier name for this view. --> 3158 <attr name="id" /> 3159 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 3160 becomes visible or when forced to do so. The layout resource must be a 3161 valid reference to a layout. --> 3162 <attr name="layout" format="reference" /> 3163 <!-- Overrides the id of the inflated View with this value. --> 3164 <attr name="inflatedId" format="reference" /> 3165 </declare-styleable> 3166 3167 <!-- ===================================== --> 3168 <!-- View package parent layout attributes --> 3169 <!-- ===================================== --> 3170 <eat-comment /> 3171 3172 <!-- This is the basic set of layout attributes that are common to all 3173 layout managers. These attributes are specified with the rest of 3174 a view's normal attributes (such as {@link android.R.attr#background}, 3175 but will be parsed by the view's parent and ignored by the child. 3176 <p>The values defined here correspond to the base layout attribute 3177 class {@link android.view.ViewGroup.LayoutParams}. --> 3178 <declare-styleable name="ViewGroup_Layout"> 3179 <!-- Specifies the basic width of the view. This is a required attribute 3180 for any view inside of a containing layout manager. Its value may 3181 be a dimension (such as "12dip") for a constant width or one of 3182 the special constants. --> 3183 <attr name="layout_width" format="dimension"> 3184 <!-- The view should be as big as its parent (minus padding). 3185 This constant is deprecated starting from API Level 8 and 3186 is replaced by {@code match_parent}. --> 3187 <enum name="fill_parent" value="-1" /> 3188 <!-- The view should be as big as its parent (minus padding). 3189 Introduced in API Level 8. --> 3190 <enum name="match_parent" value="-1" /> 3191 <!-- The view should be only big enough to enclose its content (plus padding). --> 3192 <enum name="wrap_content" value="-2" /> 3193 </attr> 3194 3195 <!-- Specifies the basic height of the view. This is a required attribute 3196 for any view inside of a containing layout manager. Its value may 3197 be a dimension (such as "12dip") for a constant height or one of 3198 the special constants. --> 3199 <attr name="layout_height" format="dimension"> 3200 <!-- The view should be as big as its parent (minus padding). 3201 This constant is deprecated starting from API Level 8 and 3202 is replaced by {@code match_parent}. --> 3203 <enum name="fill_parent" value="-1" /> 3204 <!-- The view should be as big as its parent (minus padding). 3205 Introduced in API Level 8. --> 3206 <enum name="match_parent" value="-1" /> 3207 <!-- The view should be only big enough to enclose its content (plus padding). --> 3208 <enum name="wrap_content" value="-2" /> 3209 </attr> 3210 </declare-styleable> 3211 3212 <!-- This is the basic set of layout attributes for layout managers that 3213 wish to place margins around their child views. 3214 These attributes are specified with the rest of 3215 a view's normal attributes (such as {@link android.R.attr#background}, 3216 but will be parsed by the view's parent and ignored by the child. 3217 <p>The values defined here correspond to the base layout attribute 3218 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 3219 <declare-styleable name="ViewGroup_MarginLayout"> 3220 <attr name="layout_width" /> 3221 <attr name="layout_height" /> 3222 <!-- Specifies extra space on the left, top, right and bottom 3223 sides of this view. If both layout_margin and any of layout_marginLeft, 3224 layout_marginRight, layout_marginStart, layout_marginEnd, 3225 layout_marginTop, and layout_marginBottom are 3226 also specified, the layout_margin value will take precedence over the 3227 edge-specific values. This space is outside this view's bounds. 3228 Margin values should be positive. --> 3229 <attr name="layout_margin" format="dimension" /> 3230 <!-- Specifies extra space on the left side of this view. 3231 This space is outside this view's bounds. 3232 Margin values should be positive. --> 3233 <attr name="layout_marginLeft" format="dimension" /> 3234 <!-- Specifies extra space on the top side of this view. 3235 This space is outside this view's bounds. 3236 Margin values should be positive.--> 3237 <attr name="layout_marginTop" format="dimension" /> 3238 <!-- Specifies extra space on the right side of this view. 3239 This space is outside this view's bounds. 3240 Margin values should be positive.--> 3241 <attr name="layout_marginRight" format="dimension" /> 3242 <!-- Specifies extra space on the bottom side of this view. 3243 This space is outside this view's bounds. 3244 Margin values should be positive.--> 3245 <attr name="layout_marginBottom" format="dimension" /> 3246 <!-- Specifies extra space on the start side of this view. 3247 This space is outside this view's bounds. 3248 Margin values should be positive.--> 3249 <attr name="layout_marginStart" format="dimension" /> 3250 <!-- Specifies extra space on the end side of this view. 3251 This space is outside this view's bounds. 3252 Margin values should be positive.--> 3253 <attr name="layout_marginEnd" format="dimension" /> 3254 <!-- Specifies extra space on the left and right sides of this view. 3255 Specifying layout_marginHorizontal is equivalent to specifying 3256 layout_marginLeft and layout_marginRight. 3257 If both layout_marginHorizontal and either/both of layout_marginLeft 3258 and layout_marginRight are also specified, the layout_marginHorizontal 3259 value will take precedence over the 3260 edge-specific values. Also, layout_margin will always take precedence over 3261 any of these values, including layout_marginHorizontal. 3262 This space is outside this view's bounds. 3263 Margin values should be positive.--> 3264 <attr name="layout_marginHorizontal" format="dimension" /> 3265 <!-- Specifies extra space on the top and bottom sides of this view. 3266 Specifying layout_marginVertical is equivalent to specifying 3267 layout_marginTop and layout_marginBottom with that same value. 3268 If both layout_marginVertical and either/both of layout_marginTop and 3269 layout_marginBottom are also specified, the layout_marginVertical value 3270 will take precedence over the edge-specific values. 3271 Also, layout_margin will always take precedence over 3272 any of these values, including layout_marginVertical. 3273 This space is outside this view's bounds. 3274 Margin values should be positive.--> 3275 <attr name="layout_marginVertical" format="dimension" /> 3276 </declare-styleable> 3277 3278 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3279 describes an 3280 {@link android.view.inputmethod.InputMethod} service, which is 3281 referenced from its 3282 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3283 meta-data entry. Described here are the attributes that can be 3284 included in that tag. --> 3285 <declare-styleable name="InputMethod"> 3286 <!-- Component name of an activity that allows the user to modify 3287 the settings for this service. --> 3288 <attr name="settingsActivity" format="string" /> 3289 <!-- Set to true in all of the configurations for which this input 3290 method should be considered an option as the default. --> 3291 <attr name="isDefault" format="boolean" /> 3292 <!-- Set to true if this input method supports ways to switch to 3293 a next input method (for example, a globe key.). When this is true and 3294 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3295 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3296 accordingly. 3297 <p> Note that the system determines the most appropriate next input method 3298 and subtype in order to provide the consistent user experience in switching 3299 between IMEs and subtypes. --> 3300 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3301 <!-- Specifies if an IME can only be used while a device is in VR mode or on a dedicated 3302 device --> 3303 <attr name="isVrOnly" format="boolean"/> 3304 <attr name="__removed2" format="boolean" /> 3305 </declare-styleable> 3306 3307 <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and 3308 fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This 3309 subtype allows the system to call the specified subtype of the IME directly. --> 3310 <declare-styleable name="InputMethod_Subtype"> 3311 <!-- The name of the subtype. --> 3312 <attr name="label" /> 3313 <!-- The icon of the subtype. --> 3314 <attr name="icon" /> 3315 <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR) 3316 and will be passed to the IME when the framework calls the IME 3317 with the subtype. This is also used by the framework to know the supported locales 3318 of the IME. --> 3319 <attr name="imeSubtypeLocale" format="string" /> 3320 <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard) 3321 and this string will be passed to the IME when the framework calls the IME with the 3322 subtype. {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the 3323 value specified in this attribute. --> 3324 <attr name="imeSubtypeMode" format="string" /> 3325 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3326 input method selection list in the settings app. 3327 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3328 chooses a target subtype. --> 3329 <attr name="isAuxiliary" format="boolean" /> 3330 <!-- Set true when this subtype should be selected by default if no other subtypes are 3331 selected explicitly. Note that a subtype with this parameter being true will 3332 not be shown in the subtypes list. --> 3333 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3334 <!-- The extra value of the subtype. This string can be any string and will be passed to 3335 the IME when the framework calls the IME with the subtype. --> 3336 <attr name="imeSubtypeExtraValue" format="string" /> 3337 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3338 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3339 if other attributes are different. If the ID is unspecified (by calling the other 3340 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3341 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3342 <attr name="subtypeId" format="integer"/> 3343 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3344 capable, it should guarantee that the user can input ASCII characters with 3345 this subtype. This is important because many password fields only allow 3346 ASCII-characters. --> 3347 <attr name="isAsciiCapable" format="boolean" /> 3348 <!-- The BCP-47 Language Tag of the subtype. This replaces 3349 {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}. --> 3350 <attr name="languageTag" format="string" /> 3351 </declare-styleable> 3352 3353 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3354 describes an 3355 {@link android.service.textservice.SpellCheckerService} service, which is 3356 referenced from its 3357 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3358 meta-data entry. Described here are the attributes that can be 3359 included in that tag. --> 3360 <declare-styleable name="SpellChecker"> 3361 <!-- The name of the spell checker. --> 3362 <attr name="label" /> 3363 <!-- Component name of an activity that allows the user to modify 3364 the settings for this service. --> 3365 <attr name="settingsActivity"/> 3366 </declare-styleable> 3367 3368 <!-- This is the subtype of the spell checker. Subtype can describe locales (for example, 3369 en_US and fr_FR). --> 3370 <declare-styleable name="SpellChecker_Subtype"> 3371 <!-- The name of the subtype. --> 3372 <attr name="label" /> 3373 <!-- The locale of the subtype. This string should be a locale (for example, en_US and 3374 fr_FR). This is also used by the framework to know the supported locales 3375 of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()} 3376 returns the value specified in this attribute. --> 3377 <attr name="subtypeLocale" format="string" /> 3378 <!-- The extra value of the subtype. This string can be any string and will be passed to 3379 the SpellChecker. --> 3380 <attr name="subtypeExtraValue" format="string" /> 3381 <!-- The unique id for the subtype. The text service (spell checker) framework keeps track 3382 of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs 3383 will stay enabled even if other attributes are different. If the ID is unspecified or 3384 explicitly specified to 0 in XML resources, 3385 {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead. 3386 --> 3387 <attr name="subtypeId" /> 3388 <!-- The BCP-47 Language Tag of the subtype. This replaces 3389 {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}. --> 3390 <attr name="languageTag" /> 3391 </declare-styleable> 3392 3393 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3394 describes an {@link android.accessibilityservice.AccessibilityService} service, 3395 which is referenced from its 3396 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3397 meta-data entry. --> 3398 <declare-styleable name="AccessibilityService"> 3399 <!-- The event types this service would like to receive as specified in 3400 {@link android.view.accessibility.AccessibilityEvent}. This setting 3401 can be changed at runtime by calling 3402 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3403 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3404 <attr name="accessibilityEventTypes"> 3405 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3406 <flag name="typeViewClicked" value="0x00000001" /> 3407 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3408 <flag name="typeViewLongClicked" value="0x00000002" /> 3409 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3410 <flag name="typeViewSelected" value="0x00000004" /> 3411 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3412 <flag name="typeViewFocused" value="0x00000008" /> 3413 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3414 <flag name="typeViewTextChanged" value="0x00000010" /> 3415 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3416 <flag name="typeWindowStateChanged" value="0x00000020" /> 3417 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3418 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3419 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3420 <flag name="typeViewHoverEnter" value="0x00000080" /> 3421 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3422 <flag name="typeViewHoverExit" value="0x00000100" /> 3423 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3424 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3425 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3426 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3427 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3428 <flag name="typeWindowContentChanged" value="0x00000800" /> 3429 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3430 <flag name="typeViewScrolled" value="0x000001000" /> 3431 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3432 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3433 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3434 <flag name="typeAnnouncement" value="0x00004000" /> 3435 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3436 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3437 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3438 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3439 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3440 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3441 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3442 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3443 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3444 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3445 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3446 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3447 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3448 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3449 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3450 <flag name="typeWindowsChanged" value="0x00400000" /> 3451 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3452 <flag name="typeContextClicked" value="0x00800000" /> 3453 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3454 <flag name="typeAssistReadingContext" value="0x01000000" /> 3455 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3456 <flag name="typeAllMask" value="0xffffffff" /> 3457 </attr> 3458 <!-- Comma separated package names from which this service would like to receive events (leave out for all packages). 3459 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3460 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3461 <attr name="packageNames" format="string" /> 3462 <!-- The feedback types this service provides as specified in 3463 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3464 can be changed at runtime by calling 3465 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3466 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3467 <attr name="accessibilityFeedbackType"> 3468 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3469 <flag name="feedbackSpoken" value="0x00000001" /> 3470 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3471 <flag name="feedbackHaptic" value="0x00000002" /> 3472 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3473 <flag name="feedbackAudible" value="0x00000004" /> 3474 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3475 <flag name="feedbackVisual" value="0x00000008" /> 3476 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3477 <flag name="feedbackGeneric" value="0x00000010" /> 3478 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3479 <flag name="feedbackAllMask" value="0xffffffff" /> 3480 </attr> 3481 <!-- The minimal period in milliseconds between two accessibility events of the same type 3482 are sent to this service. This setting can be changed at runtime by calling 3483 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3484 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3485 <attr name="notificationTimeout" format="integer" /> 3486 <!-- Additional flags as specified in 3487 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3488 This setting can be changed at runtime by calling 3489 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3490 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3491 <attr name="accessibilityFlags"> 3492 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. --> 3493 <flag name="flagDefault" value="0x00000001" /> 3494 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. --> 3495 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3496 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. --> 3497 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3498 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}. 3499 Not used by the framework. 3500 --> 3501 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3502 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. --> 3503 <flag name="flagReportViewIds" value="0x00000010" /> 3504 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. --> 3505 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3506 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. --> 3507 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3508 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. --> 3509 <flag name="flagEnableAccessibilityVolume" value="0x00000080" /> 3510 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. --> 3511 <flag name="flagRequestAccessibilityButton" value="0x00000100" /> 3512 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES}. --> 3513 <flag name="flagRequestFingerprintGestures" value="0x00000200" /> 3514 </attr> 3515 <!-- Component name of an activity that allows the user to modify 3516 the settings for this service. This setting cannot be changed at runtime. --> 3517 <attr name="settingsActivity" /> 3518 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3519 active window content. This setting cannot be changed at runtime. --> 3520 <attr name="canRetrieveWindowContent" format="boolean" /> 3521 <!-- Attribute whether the accessibility service wants to be able to request touch 3522 exploration mode in which touched items are spoken aloud and the UI can be 3523 explored via gestures. 3524 <p> 3525 Required to allow setting the {@link android.accessibilityservice 3526 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3527 </p> 3528 --> 3529 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3530 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3531 web accessibility enhancements. 3532 {@deprecated Not used by the framework} 3533 --> 3534 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3535 <!-- Attribute whether the accessibility service wants to be able to request to 3536 filter key events. 3537 <p> 3538 Required to allow setting the {@link android.accessibilityservice 3539 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3540 </p> 3541 --> 3542 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3543 <!-- Attribute whether the accessibility service wants to be able to control 3544 display magnification. 3545 --> 3546 <attr name="canControlMagnification" format="boolean" /> 3547 <!-- Attribute whether the accessibility service wants to be able to perform gestures. --> 3548 <attr name="canPerformGestures" format="boolean" /> 3549 <!-- Attribute whether the accessibility service wants to be able to capture gestures from 3550 the fingerprint sensor. 3551 <p> 3552 Required to allow setting the {@link android.accessibilityservice 3553 #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES} flag to have any effect. 3554 </p> 3555 --> 3556 <attr name="canRequestFingerprintGestures" format="boolean" /> 3557 <!-- Short description of the accessibility service purpose or behavior.--> 3558 <attr name="description" /> 3559 <!-- Brief summary of the accessibility service purpose or behavior. --> 3560 <attr name="summary" /> 3561 </declare-styleable> 3562 3563 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3564 describes an {@link android.printservice.PrintService} service, which is 3565 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3566 meta-data entry. --> 3567 <declare-styleable name="PrintService"> 3568 <!-- Fully qualified class name of an activity that allows the user to modify 3569 the settings for this service. --> 3570 <attr name="settingsActivity" /> 3571 <!-- Fully qualified class name of an activity that allows the user to manually 3572 add printers to this print service. --> 3573 <attr name="addPrintersActivity" format="string"/> 3574 <!-- Fully qualified class name of an activity with advanced print options 3575 specific to this print service. --> 3576 <attr name="advancedPrintOptionsActivity" format="string"/> 3577 <!-- The vendor name if this print service is vendor specific. --> 3578 <attr name="vendor" format="string"/> 3579 </declare-styleable> 3580 3581 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3582 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3583 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3584 entry. --> 3585 <declare-styleable name="HostApduService"> 3586 <!-- Short description of the functionality the service implements. This attribute 3587 is mandatory.--> 3588 <attr name="description" /> 3589 <!-- Whether the device must be unlocked before routing data to this service. 3590 The default is false.--> 3591 <attr name="requireDeviceUnlock" format="boolean"/> 3592 <!-- A drawable that can be rendered in Android's system UI for representing 3593 the service. --> 3594 <attr name="apduServiceBanner" format="reference"/> 3595 <!-- Component name of an activity that allows the user to modify 3596 the settings for this service. --> 3597 <attr name="settingsActivity"/> 3598 </declare-styleable> 3599 3600 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3601 describes an {@link android.nfc.cardemulation.OffHostApduService} 3602 service, which is referenced from its 3603 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3604 <declare-styleable name="OffHostApduService"> 3605 <!-- Short description of the functionality the service implements. This attribute 3606 is mandatory.--> 3607 <attr name="description" /> 3608 <!-- A drawable that can be rendered in Android's system UI for representing 3609 the service. --> 3610 <attr name="apduServiceBanner"/> 3611 <!-- Component name of an activity that allows the user to modify 3612 the settings for this service. --> 3613 <attr name="settingsActivity"/> 3614 </declare-styleable> 3615 3616 <!-- Specify one or more <code>aid-group</code> elements inside a 3617 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3618 element to define a group of ISO7816 Application ID (AIDs) that 3619 your service can handle.--> 3620 <declare-styleable name="AidGroup"> 3621 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3622 <attr name="description" /> 3623 <!-- The category attribute will be used by the Android platform to present 3624 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3625 same category uniformly. 3626 Additionally, when a category is specified, Android will ensure that either 3627 all AIDs in this group are routed to this application, or none at all. 3628 This attribute is optional.--> 3629 <attr name="category" format="string" /> 3630 </declare-styleable> 3631 3632 <!-- Specify one or more <code>aid-filter</code> elements inside a 3633 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3634 your service can handle. --> 3635 <declare-styleable name="AidFilter"> 3636 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3637 <attr name="name" /> 3638 </declare-styleable> 3639 3640 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3641 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3642 prefix your service can handle. --> 3643 <declare-styleable name="AidPrefixFilter"> 3644 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3645 <attr name="name" /> 3646 </declare-styleable> 3647 3648 <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that 3649 describes an {@link android.nfc.cardemulation.HostNfcFService} service, which 3650 is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA} 3651 entry. --> 3652 <declare-styleable name="HostNfcFService"> 3653 <!-- Short description of the functionality the service implements. This attribute 3654 is mandatory.--> 3655 <attr name="description" /> 3656 </declare-styleable> 3657 3658 <!-- Specify one or more <code>system-code-filter</code> elements inside a 3659 <code>host-nfcf-service</code> element to specify a System Code 3660 your service can handle. --> 3661 <declare-styleable name="SystemCodeFilter"> 3662 <!-- The System Code. This attribute is mandatory. --> 3663 <attr name="name" /> 3664 </declare-styleable> 3665 3666 <!-- Specify one or more <code>nfcid2-filter</code> elements inside a 3667 <code>host-nfcf-service</code> element to specify a NFCID2 3668 your service can handle. --> 3669 <declare-styleable name="Nfcid2Filter"> 3670 <!-- The NFCID2. This attribute is mandatory. --> 3671 <attr name="name" /> 3672 </declare-styleable> 3673 3674 <!-- Specify one or more <code>t3tPmm-filter</code> elements inside a 3675 <code>host-nfcf-service</code> element to specify a LF_T3T_PMM. --> 3676 <declare-styleable name="T3tPmmFilter"> 3677 <attr name="name" /> 3678 3679 </declare-styleable> 3680 3681 <declare-styleable name="ActionMenuItemView"> 3682 <attr name="minWidth" /> 3683 </declare-styleable> 3684 3685 <!-- =============================== --> 3686 <!-- Widget package class attributes --> 3687 <!-- =============================== --> 3688 <eat-comment /> 3689 3690 <declare-styleable name="AbsListView"> 3691 <!-- Drawable used to indicate the currently selected item in the list. --> 3692 <attr name="listSelector" format="color|reference" /> 3693 <!-- When set to true, the selector will be drawn over the selected item. 3694 Otherwise the selector is drawn behind the selected item. The default 3695 value is false. --> 3696 <attr name="drawSelectorOnTop" format="boolean" /> 3697 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3698 <attr name="stackFromBottom" format="boolean" /> 3699 <!-- When set to true, the list uses a drawing cache during scrolling. 3700 This makes the rendering faster but uses more memory. The default 3701 value is true. --> 3702 <attr name="scrollingCache" format="boolean" /> 3703 <!-- When set to true, the list will filter results as the user types. The 3704 List's adapter must support the Filterable interface for this to work. --> 3705 <attr name="textFilterEnabled" format="boolean" /> 3706 <!-- Sets the transcript mode for the list. In transcript mode, the list 3707 scrolls to the bottom to make new items visible when they are added. --> 3708 <attr name="transcriptMode"> 3709 <!-- Disables transcript mode. This is the default value. --> 3710 <enum name="disabled" value="0"/> 3711 <!-- The list will automatically scroll to the bottom when 3712 a data set change notification is received and only if the last item is 3713 already visible on screen. --> 3714 <enum name="normal" value="1" /> 3715 <!-- The list will automatically scroll to the bottom, no matter what items 3716 are currently visible. --> 3717 <enum name="alwaysScroll" value="2" /> 3718 </attr> 3719 <!-- Indicates that this list will always be drawn on top of solid, single-color 3720 opaque background. This allows the list to optimize drawing. --> 3721 <attr name="cacheColorHint" format="color" /> 3722 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3723 the list. --> 3724 <attr name="fastScrollEnabled" format="boolean" /> 3725 <!-- Specifies the style of the fast scroll decorations. --> 3726 <attr name="fastScrollStyle" format="reference" /> 3727 <!-- When set to true, the list will use a more refined calculation 3728 method based on the pixels height of the items visible on screen. This 3729 property is set to true by default but should be set to false if your adapter 3730 will display items of varying heights. When this property is set to true and 3731 your adapter displays items of varying heights, the scrollbar thumb will 3732 change size as the user scrolls through the list. When set to false, the list 3733 will use only the number of items in the adapter and the number of items visible 3734 on screen to determine the scrollbar's properties. --> 3735 <attr name="smoothScrollbar" format="boolean" /> 3736 <!-- Defines the choice behavior for the view. By default, lists do not have 3737 any choice behavior. By setting the choiceMode to singleChoice, the list 3738 allows up to one item to be in a chosen state. By setting the choiceMode to 3739 multipleChoice, the list allows any number of items to be chosen. 3740 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3741 any number of items to be chosen in a special selection mode. 3742 The application will supply a 3743 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3744 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3745 selection mode. This uses the {@link android.view.ActionMode} API. --> 3746 <attr name="choiceMode"> 3747 <!-- Normal list that does not indicate choices. --> 3748 <enum name="none" value="0" /> 3749 <!-- The list allows up to one choice. --> 3750 <enum name="singleChoice" value="1" /> 3751 <!-- The list allows multiple choices. --> 3752 <enum name="multipleChoice" value="2" /> 3753 <!-- The list allows multiple choices in a custom selection mode. --> 3754 <enum name="multipleChoiceModal" value="3" /> 3755 </attr> 3756 3757 <!-- When set to true, the list will always show the fast scroll interface. 3758 This setting implies fastScrollEnabled. --> 3759 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3760 </declare-styleable> 3761 <!-- @hide --> 3762 <declare-styleable name="RecycleListView"> 3763 <!-- Bottom padding to use when no buttons are present. --> 3764 <attr name="paddingBottomNoButtons" format="dimension" /> 3765 <!-- Top padding to use when no title is present. --> 3766 <attr name="paddingTopNoTitle" format="dimension" /> 3767 </declare-styleable> 3768 <declare-styleable name="AbsSpinner"> 3769 <!-- Reference to an array resource that will populate the Spinner. For static content, 3770 this is simpler than populating the Spinner programmatically. --> 3771 <attr name="entries" /> 3772 </declare-styleable> 3773 <declare-styleable name="AnalogClock"> 3774 <attr name="dial" format="reference"/> 3775 <attr name="hand_hour" format="reference"/> 3776 <attr name="hand_minute" format="reference"/> 3777 </declare-styleable> 3778 <declare-styleable name="Button"> 3779 </declare-styleable> 3780 <declare-styleable name="Chronometer"> 3781 <!-- Format string: if specified, the Chronometer will display this 3782 string, with the first "%s" replaced by the current timer value 3783 in "MM:SS" or "H:MM:SS" form. 3784 If no format string is specified, the Chronometer will simply display 3785 "MM:SS" or "H:MM:SS". --> 3786 <attr name="format" format="string" localization="suggested" /> 3787 <!-- Specifies whether this Chronometer counts down or counts up from the base. 3788 If not specified this is false and the Chronometer counts up. --> 3789 <attr name="countDown" format="boolean" /> 3790 </declare-styleable> 3791 <declare-styleable name="CompoundButton"> 3792 <!-- Indicates the initial checked state of this button. --> 3793 <attr name="checked" format="boolean" /> 3794 <!-- Drawable used for the button graphic (for example, checkbox and radio button). --> 3795 <attr name="button" format="reference" /> 3796 <!-- Tint to apply to the button graphic. --> 3797 <attr name="buttonTint" format="color" /> 3798 <!-- Blending mode used to apply the button graphic tint. --> 3799 <attr name="buttonTintMode"> 3800 <!-- The tint is drawn on top of the drawable. 3801 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3802 <enum name="src_over" value="3" /> 3803 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3804 color channels are thrown out. [Sa * Da, Sc * Da] --> 3805 <enum name="src_in" value="5" /> 3806 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3807 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3808 <enum name="src_atop" value="9" /> 3809 <!-- Multiplies the color and alpha channels of the drawable with those of 3810 the tint. [Sa * Da, Sc * Dc] --> 3811 <enum name="multiply" value="14" /> 3812 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3813 <enum name="screen" value="15" /> 3814 <!-- Combines the tint and drawable color and alpha channels, clamping the 3815 result to valid color values. Saturate(S + D) --> 3816 <enum name="add" value="16" /> 3817 </attr> 3818 </declare-styleable> 3819 <declare-styleable name="CheckedTextView"> 3820 <!-- Indicates the initial checked state of this text. --> 3821 <attr name="checked" /> 3822 <!-- Drawable used for the check mark graphic. --> 3823 <attr name="checkMark" format="reference"/> 3824 <!-- Tint to apply to the check mark. --> 3825 <attr name="checkMarkTint" format="color" /> 3826 <!-- Blending mode used to apply the check mark tint. --> 3827 <attr name="checkMarkTintMode"> 3828 <!-- The tint is drawn on top of the drawable. 3829 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3830 <enum name="src_over" value="3" /> 3831 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3832 color channels are thrown out. [Sa * Da, Sc * Da] --> 3833 <enum name="src_in" value="5" /> 3834 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3835 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3836 <enum name="src_atop" value="9" /> 3837 <!-- Multiplies the color and alpha channels of the drawable with those of 3838 the tint. [Sa * Da, Sc * Dc] --> 3839 <enum name="multiply" value="14" /> 3840 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3841 <enum name="screen" value="15" /> 3842 <!-- Combines the tint and drawable color and alpha channels, clamping the 3843 result to valid color values. Saturate(S + D) --> 3844 <enum name="add" value="16" /> 3845 </attr> 3846 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3847 <attr name="checkMarkGravity"> 3848 <!-- Push object to the left of its container, not changing its size. --> 3849 <flag name="left" value="0x03" /> 3850 <!-- Push object to the right of its container, not changing its size. --> 3851 <flag name="right" value="0x05" /> 3852 <!-- Push object to the beginning of its container, not changing its size. --> 3853 <flag name="start" value="0x00800003" /> 3854 <!-- Push object to the end of its container, not changing its size. --> 3855 <flag name="end" value="0x00800005" /> 3856 </attr> 3857 </declare-styleable> 3858 <declare-styleable name="EditText"> 3859 </declare-styleable> 3860 <declare-styleable name="FastScroll"> 3861 <!-- Drawable used for the scroll bar thumb. --> 3862 <attr name="thumbDrawable" format="reference" /> 3863 <!-- Minimum width of the thumb. --> 3864 <attr name="thumbMinWidth" format="dimension" /> 3865 <!-- Minimum height of the thumb. --> 3866 <attr name="thumbMinHeight" format="dimension" /> 3867 <!-- Drawable used for the scroll bar track. --> 3868 <attr name="trackDrawable" format="reference" /> 3869 <!-- Drawable used for the section header preview when right-aligned. --> 3870 <attr name="backgroundRight" format="reference" /> 3871 <!-- Drawable used for the section header preview when left-aligned. --> 3872 <attr name="backgroundLeft" format="reference" /> 3873 <!-- Position of section header preview. --> 3874 <attr name="position"> 3875 <!-- Floating at the top of the content. --> 3876 <enum name="floating" value="0" /> 3877 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3878 <enum name="atThumb" value="1" /> 3879 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3880 <enum name="aboveThumb" value="2" /> 3881 </attr> 3882 <attr name="textAppearance" /> 3883 <attr name="textColor" /> 3884 <attr name="textSize" /> 3885 <!-- Minimum width of the section header preview. --> 3886 <attr name="minWidth" /> 3887 <!-- Minimum height of the section header preview. --> 3888 <attr name="minHeight" /> 3889 <!-- Padding for the section header preview. --> 3890 <attr name="padding" /> 3891 <!-- Position of thumb in relation to the track. --> 3892 <attr name="thumbPosition"> 3893 <!-- The thumb's midpoint is anchored to the track. At its 3894 extremes, the thumb will extend half-way outside the 3895 track. --> 3896 <enum name="midpoint" value="0" /> 3897 <!-- The thumb is entirely inside the track. At its extremes, 3898 the thumb will be contained entirely within the track. --> 3899 <enum name="inside" value="1" /> 3900 </attr> 3901 </declare-styleable> 3902 <declare-styleable name="FrameLayout"> 3903 <!-- Determines whether to measure all children or just those in 3904 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3905 <attr name="measureAllChildren" format="boolean" /> 3906 </declare-styleable> 3907 <declare-styleable name="ExpandableListView"> 3908 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3909 <attr name="groupIndicator" format="reference" /> 3910 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3911 <attr name="childIndicator" format="reference" /> 3912 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3913 use childIndicatorLeft. --> 3914 <attr name="indicatorLeft" format="dimension" /> 3915 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3916 use childIndicatorRight. --> 3917 <attr name="indicatorRight" format="dimension" /> 3918 <!-- The left bound for a child's indicator. --> 3919 <attr name="childIndicatorLeft" format="dimension" /> 3920 <!-- The right bound for a child's indicator. --> 3921 <attr name="childIndicatorRight" format="dimension" /> 3922 <!-- Drawable or color that is used as a divider for children. (It will drawn 3923 below and above child items.) The height of this will be the same as 3924 the height of the normal list item divider. --> 3925 <attr name="childDivider" format="reference|color" /> 3926 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3927 use childIndicatorStart. --> 3928 <attr name="indicatorStart" format="dimension" /> 3929 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3930 use childIndicatorEnd. --> 3931 <attr name="indicatorEnd" format="dimension" /> 3932 <!-- The start bound for a child's indicator. --> 3933 <attr name="childIndicatorStart" format="dimension" /> 3934 <!-- The end bound for a child's indicator. --> 3935 <attr name="childIndicatorEnd" format="dimension" /> 3936 </declare-styleable> 3937 <declare-styleable name="Gallery"> 3938 <attr name="gravity" /> 3939 <!-- Sets how long a transition animation should run (in milliseconds) 3940 when layout has changed. Only relevant if animation is turned on. --> 3941 <attr name="animationDuration" format="integer" min="0" /> 3942 <attr name="spacing" format="dimension" /> 3943 <!-- Sets the alpha on the items that are not selected. --> 3944 <attr name="unselectedAlpha" format="float" /> 3945 </declare-styleable> 3946 <declare-styleable name="GridView"> 3947 <!-- Defines the default horizontal spacing between columns. --> 3948 <attr name="horizontalSpacing" format="dimension" /> 3949 <!-- Defines the default vertical spacing between rows. --> 3950 <attr name="verticalSpacing" format="dimension" /> 3951 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3952 <attr name="stretchMode"> 3953 <!-- Stretching is disabled. --> 3954 <enum name="none" value="0"/> 3955 <!-- The spacing between each column is stretched. --> 3956 <enum name="spacingWidth" value="1" /> 3957 <!-- Each column is stretched equally. --> 3958 <enum name="columnWidth" value="2" /> 3959 <!-- The spacing between each column is uniformly stretched.. --> 3960 <enum name="spacingWidthUniform" value="3" /> 3961 </attr> 3962 <!-- Specifies the fixed width for each column. --> 3963 <attr name="columnWidth" format="dimension" /> 3964 <!-- Defines how many columns to show. --> 3965 <attr name="numColumns" format="integer" min="0"> 3966 <!-- Display as many columns as possible to fill the available space. --> 3967 <enum name="auto_fit" value="-1" /> 3968 </attr> 3969 <!-- Specifies the gravity within each cell. --> 3970 <attr name="gravity" /> 3971 </declare-styleable> 3972 <declare-styleable name="ImageSwitcher"> 3973 </declare-styleable> 3974 <declare-styleable name="ImageView"> 3975 <!-- Sets a drawable as the content of this ImageView. --> 3976 <attr name="src" format="reference|color" /> 3977 <!-- Controls how the image should be resized or moved to match the size 3978 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 3979 <attr name="scaleType"> 3980 <!-- Scale using the image matrix when drawing. See 3981 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 3982 <enum name="matrix" value="0" /> 3983 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 3984 <enum name="fitXY" value="1" /> 3985 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 3986 <enum name="fitStart" value="2" /> 3987 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 3988 <enum name="fitCenter" value="3" /> 3989 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 3990 <enum name="fitEnd" value="4" /> 3991 <!-- Center the image in the view, but perform no scaling. --> 3992 <enum name="center" value="5" /> 3993 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 3994 (width and height) of the image will be equal to or larger than the corresponding 3995 dimension of the view (minus padding). The image is then centered in the view. --> 3996 <enum name="centerCrop" value="6" /> 3997 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 3998 dimensions (width and height) of the image will be equal to or less than the 3999 corresponding dimension of the view (minus padding). The image is then centered in 4000 the view. --> 4001 <enum name="centerInside" value="7" /> 4002 </attr> 4003 <!-- Set this to true if you want the ImageView to adjust its bounds 4004 to preserve the aspect ratio of its drawable. --> 4005 <attr name="adjustViewBounds" format="boolean" /> 4006 <!-- An optional argument to supply a maximum width for this view. 4007 See {see android.widget.ImageView#setMaxWidth} for details. --> 4008 <attr name="maxWidth" format="dimension" /> 4009 <!-- An optional argument to supply a maximum height for this view. 4010 See {see android.widget.ImageView#setMaxHeight} for details. --> 4011 <attr name="maxHeight" format="dimension" /> 4012 <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode. 4013 Please note that for compatibility reasons, this is NOT consistent with the default 4014 SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by 4015 similar tint attributes on other views. --> 4016 <attr name="tint" format="color" /> 4017 <!-- If true, the image view will be baseline aligned with based on its 4018 bottom edge. --> 4019 <attr name="baselineAlignBottom" format="boolean" /> 4020 <!-- If true, the image will be cropped to fit within its padding. --> 4021 <attr name="cropToPadding" format="boolean" /> 4022 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 4023 for details --> 4024 <attr name="baseline" format="dimension" /> 4025 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 4026 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 4027 <attr name="drawableAlpha" format="integer" /> 4028 <!-- Blending mode used to apply the image tint. --> 4029 <attr name="tintMode" /> 4030 </declare-styleable> 4031 <declare-styleable name="ToggleButton"> 4032 <!-- The text for the button when it is checked. --> 4033 <attr name="textOn" format="string" /> 4034 <!-- The text for the button when it is not checked. --> 4035 <attr name="textOff" format="string" /> 4036 <!-- The alpha to apply to the indicator when disabled. --> 4037 <attr name="disabledAlpha" /> 4038 </declare-styleable> 4039 <declare-styleable name="RelativeLayout"> 4040 <attr name="gravity" /> 4041 <!-- Indicates what view should not be affected by gravity. --> 4042 <attr name="ignoreGravity" format="reference" /> 4043 </declare-styleable> 4044 <declare-styleable name="LinearLayout"> 4045 <!-- Should the layout be a column or a row? Use "horizontal" 4046 for a row, "vertical" for a column. The default is 4047 horizontal. --> 4048 <attr name="orientation" /> 4049 <attr name="gravity" /> 4050 <!-- When set to false, prevents the layout from aligning its children's 4051 baselines. This attribute is particularly useful when the children 4052 use different values for gravity. The default value is true. --> 4053 <attr name="baselineAligned" format="boolean" /> 4054 <!-- When a linear layout is part of another layout that is baseline 4055 aligned, it can specify which of its children to baseline align to 4056 (that is, which child TextView).--> 4057 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 4058 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 4059 by adding the layout_weight of all of the children. This can be 4060 used for instance to give a single child 50% of the total available 4061 space by giving it a layout_weight of 0.5 and setting the weightSum 4062 to 1.0. --> 4063 <attr name="weightSum" format="float" /> 4064 <!-- When set to true, all children with a weight will be considered having 4065 the minimum size of the largest child. If false, all children are 4066 measured normally. --> 4067 <attr name="measureWithLargestChild" format="boolean" /> 4068 <!-- Drawable to use as a vertical divider between buttons. --> 4069 <attr name="divider" /> 4070 <!-- Setting for which dividers to show. --> 4071 <attr name="showDividers"> 4072 <flag name="none" value="0" /> 4073 <flag name="beginning" value="1" /> 4074 <flag name="middle" value="2" /> 4075 <flag name="end" value="4" /> 4076 </attr> 4077 <!-- Size of padding on either end of a divider. --> 4078 <attr name="dividerPadding" format="dimension" /> 4079 </declare-styleable> 4080 <declare-styleable name="GridLayout"> 4081 <!-- The orientation property is not used during layout. It is only used to 4082 allocate row and column parameters when they are not specified by its children's 4083 layout paramters. GridLayout works like LinearLayout in this case; 4084 putting all the components either in a single row or in a single column - 4085 depending on the value of this flag. In the horizontal case, a columnCount 4086 property may be additionally supplied to force new rows to be created when a 4087 row is full. The rowCount attribute may be used similarly in the vertical case. 4088 The default is horizontal. --> 4089 <attr name="orientation" /> 4090 <!-- The maxmimum number of rows to create when automatically positioning children. --> 4091 <attr name="rowCount" format="integer" /> 4092 <!-- The maxmimum number of columns to create when automatically positioning children. --> 4093 <attr name="columnCount" format="integer" /> 4094 <!-- When set to true, tells GridLayout to use default margins when none are specified 4095 in a view's layout parameters. 4096 The default value is false. 4097 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 4098 <attr name="useDefaultMargins" format="boolean" /> 4099 <!-- When set to alignMargins, causes alignment to take place between the outer 4100 boundary of a view, as defined by its margins. When set to alignBounds, 4101 causes alignment to take place between the edges of the view. 4102 The default is alignMargins. 4103 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 4104 <attr name="alignmentMode" /> 4105 <!-- When set to true, forces row boundaries to appear in the same order 4106 as row indices. 4107 The default is true. 4108 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 4109 <attr name="rowOrderPreserved" format="boolean" /> 4110 <!-- When set to true, forces column boundaries to appear in the same order 4111 as column indices. 4112 The default is true. 4113 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 4114 <attr name="columnOrderPreserved" format="boolean" /> 4115 </declare-styleable> 4116 <declare-styleable name="ListView"> 4117 <!-- Reference to an array resource that will populate the ListView. For static content, 4118 this is simpler than populating the ListView programmatically. --> 4119 <attr name="entries" /> 4120 <!-- Drawable or color to draw between list items. --> 4121 <attr name="divider" format="reference|color" /> 4122 <!-- Height of the divider. Will use the intrinsic height of the divider if this 4123 is not specified. --> 4124 <attr name="dividerHeight" format="dimension" /> 4125 <!-- When set to false, the ListView will not draw the divider after each header view. 4126 The default value is true. --> 4127 <attr name="headerDividersEnabled" format="boolean" /> 4128 <!-- When set to false, the ListView will not draw the divider before each footer view. 4129 The default value is true. --> 4130 <attr name="footerDividersEnabled" format="boolean" /> 4131 <!-- Drawable to draw above list content. --> 4132 <attr name="overScrollHeader" format="reference|color" /> 4133 <!-- Drawable to draw below list content. --> 4134 <attr name="overScrollFooter" format="reference|color" /> 4135 </declare-styleable> 4136 <declare-styleable name="PreferenceFrameLayout"> 4137 <!-- Padding to use at the top of the prefs content. --> 4138 <attr name="borderTop" format="dimension" /> 4139 <!-- Padding to use at the bottom of the prefs content. --> 4140 <attr name="borderBottom" format="dimension" /> 4141 <!-- Padding to use at the left of the prefs content. --> 4142 <attr name="borderLeft" format="dimension" /> 4143 <!-- Padding to use at the right of the prefs content. --> 4144 <attr name="borderRight" format="dimension" /> 4145 </declare-styleable> 4146 <declare-styleable name="PreferenceFrameLayout_Layout"> 4147 <!-- Padding to use at the top of the prefs content. --> 4148 <attr name="layout_removeBorders" format="boolean" /> 4149 </declare-styleable> 4150 <declare-styleable name="MenuView"> 4151 <!-- Default appearance of menu item text. --> 4152 <attr name="itemTextAppearance" format="reference" /> 4153 <!-- Default horizontal divider between rows of menu items. --> 4154 <attr name="horizontalDivider" format="reference" /> 4155 <!-- Default vertical divider between menu items. --> 4156 <attr name="verticalDivider" format="reference" /> 4157 <!-- Default background for the menu header. --> 4158 <attr name="headerBackground" format="color|reference" /> 4159 <!-- Default background for each menu item. --> 4160 <attr name="itemBackground" format="color|reference" /> 4161 <!-- Default animations for the menu. --> 4162 <attr name="windowAnimationStyle" /> 4163 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 4164 <attr name="itemIconDisabledAlpha" format="float" /> 4165 <!-- Whether space should be reserved in layout when an icon is missing. --> 4166 <attr name="preserveIconSpacing" format="boolean" /> 4167 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 4168 <attr name="subMenuArrow" format="reference" /> 4169 </declare-styleable> 4170 <declare-styleable name="IconMenuView"> 4171 <!-- Defines the height of each row. --> 4172 <attr name="rowHeight" format="dimension" /> 4173 <!-- Defines the maximum number of rows displayed. --> 4174 <attr name="maxRows" format="integer" /> 4175 <!-- Defines the maximum number of items per row. --> 4176 <attr name="maxItemsPerRow" format="integer" /> 4177 <!-- Defines the maximum number of items to show. --> 4178 <attr name="maxItems" format="integer" /> 4179 <!-- 'More' icon. --> 4180 <attr name="moreIcon" format="reference" /> 4181 </declare-styleable> 4182 4183 <declare-styleable name="ProgressBar"> 4184 <!-- Defines the minimum value. --> 4185 <attr name="min" format="integer" /> 4186 <!-- Defines the maximum value. --> 4187 <attr name="max" format="integer" /> 4188 <!-- Defines the default progress value, between 0 and max. --> 4189 <attr name="progress" format="integer" /> 4190 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 4191 the primary progress and the background. It can be ideal for media scenarios such as 4192 showing the buffering progress while the default progress shows the play progress. --> 4193 <attr name="secondaryProgress" format="integer" /> 4194 <!-- Allows to enable the indeterminate mode. In this mode the progress 4195 bar plays an infinite looping animation. --> 4196 <attr name="indeterminate" format="boolean" /> 4197 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 4198 <attr name="indeterminateOnly" format="boolean" /> 4199 <!-- Drawable used for the indeterminate mode. --> 4200 <attr name="indeterminateDrawable" format="reference" /> 4201 <!-- Drawable used for the progress mode. --> 4202 <attr name="progressDrawable" format="reference" /> 4203 <!-- Duration of the indeterminate animation. --> 4204 <attr name="indeterminateDuration" format="integer" min="1" /> 4205 <!-- Defines how the indeterminate mode should behave when the progress 4206 reaches max. --> 4207 <attr name="indeterminateBehavior"> 4208 <!-- Progress starts over from 0. --> 4209 <enum name="repeat" value="1" /> 4210 <!-- Progress keeps the current value and goes back to 0. --> 4211 <enum name="cycle" value="2" /> 4212 </attr> 4213 <attr name="minWidth" format="dimension" /> 4214 <attr name="maxWidth" /> 4215 <attr name="minHeight" format="dimension" /> 4216 <attr name="maxHeight" /> 4217 <attr name="interpolator" format="reference" /> 4218 <!-- Timeout between frames of animation in milliseconds. 4219 {@deprecated Not used by the framework}. --> 4220 <attr name="animationResolution" format="integer" /> 4221 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 4222 Default is false. --> 4223 <attr name="mirrorForRtl" format="boolean" /> 4224 <!-- Tint to apply to the progress indicator. --> 4225 <attr name="progressTint" format="color" /> 4226 <!-- Blending mode used to apply the progress indicator tint. --> 4227 <attr name="progressTintMode"> 4228 <!-- The tint is drawn on top of the drawable. 4229 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4230 <enum name="src_over" value="3" /> 4231 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4232 color channels are thrown out. [Sa * Da, Sc * Da] --> 4233 <enum name="src_in" value="5" /> 4234 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4235 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4236 <enum name="src_atop" value="9" /> 4237 <!-- Multiplies the color and alpha channels of the drawable with those of 4238 the tint. [Sa * Da, Sc * Dc] --> 4239 <enum name="multiply" value="14" /> 4240 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4241 <enum name="screen" value="15" /> 4242 <!-- Combines the tint and drawable color and alpha channels, clamping the 4243 result to valid color values. Saturate(S + D) --> 4244 <enum name="add" value="16" /> 4245 </attr> 4246 <!-- Tint to apply to the progress indicator background. --> 4247 <attr name="progressBackgroundTint" format="color" /> 4248 <!-- Blending mode used to apply the progress indicator background tint. --> 4249 <attr name="progressBackgroundTintMode"> 4250 <!-- The tint is drawn on top of the drawable. 4251 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4252 <enum name="src_over" value="3" /> 4253 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4254 color channels are thrown out. [Sa * Da, Sc * Da] --> 4255 <enum name="src_in" value="5" /> 4256 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4257 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4258 <enum name="src_atop" value="9" /> 4259 <!-- Multiplies the color and alpha channels of the drawable with those of 4260 the tint. [Sa * Da, Sc * Dc] --> 4261 <enum name="multiply" value="14" /> 4262 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4263 <enum name="screen" value="15" /> 4264 <!-- Combines the tint and drawable color and alpha channels, clamping the 4265 result to valid color values. Saturate(S + D) --> 4266 <enum name="add" value="16" /> 4267 </attr> 4268 <!-- Tint to apply to the secondary progress indicator. --> 4269 <attr name="secondaryProgressTint" format="color" /> 4270 <!-- Blending mode used to apply the secondary progress indicator tint. --> 4271 <attr name="secondaryProgressTintMode"> 4272 <!-- The tint is drawn on top of the drawable. 4273 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4274 <enum name="src_over" value="3" /> 4275 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4276 color channels are thrown out. [Sa * Da, Sc * Da] --> 4277 <enum name="src_in" value="5" /> 4278 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4279 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4280 <enum name="src_atop" value="9" /> 4281 <!-- Multiplies the color and alpha channels of the drawable with those of 4282 the tint. [Sa * Da, Sc * Dc] --> 4283 <enum name="multiply" value="14" /> 4284 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4285 <enum name="screen" value="15" /> 4286 <!-- Combines the tint and drawable color and alpha channels, clamping the 4287 result to valid color values. Saturate(S + D) --> 4288 <enum name="add" value="16" /> 4289 </attr> 4290 <!-- Tint to apply to the indeterminate progress indicator. --> 4291 <attr name="indeterminateTint" format="color" /> 4292 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 4293 <attr name="indeterminateTintMode"> 4294 <!-- The tint is drawn on top of the drawable. 4295 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4296 <enum name="src_over" value="3" /> 4297 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4298 color channels are thrown out. [Sa * Da, Sc * Da] --> 4299 <enum name="src_in" value="5" /> 4300 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4301 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4302 <enum name="src_atop" value="9" /> 4303 <!-- Multiplies the color and alpha channels of the drawable with those of 4304 the tint. [Sa * Da, Sc * Dc] --> 4305 <enum name="multiply" value="14" /> 4306 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4307 <enum name="screen" value="15" /> 4308 <!-- Combines the tint and drawable color and alpha channels, clamping the 4309 result to valid color values. Saturate(S + D) --> 4310 <enum name="add" value="16" /> 4311 </attr> 4312 <!-- Tint to apply to the background. --> 4313 <attr name="backgroundTint" /> 4314 <!-- Blending mode used to apply the background tint. --> 4315 <attr name="backgroundTintMode" /> 4316 </declare-styleable> 4317 4318 <declare-styleable name="SeekBar"> 4319 <!-- Draws the thumb on a seekbar. --> 4320 <attr name="thumb" format="reference" /> 4321 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 4322 <attr name="thumbOffset" format="dimension" /> 4323 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 4324 <attr name="splitTrack" format="boolean" /> 4325 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 4326 when disabled. This is required for Holo and Gingerbread, but 4327 should always be false for Material and beyond. 4328 @hide Developers shouldn't need to change this. --> 4329 <attr name="useDisabledAlpha" format="boolean" /> 4330 <!-- Tint to apply to the thumb drawable. --> 4331 <attr name="thumbTint" format="color" /> 4332 <!-- Blending mode used to apply the thumb tint. --> 4333 <attr name="thumbTintMode"> 4334 <!-- The tint is drawn on top of the drawable. 4335 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4336 <enum name="src_over" value="3" /> 4337 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4338 color channels are thrown out. [Sa * Da, Sc * Da] --> 4339 <enum name="src_in" value="5" /> 4340 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4341 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4342 <enum name="src_atop" value="9" /> 4343 <!-- Multiplies the color and alpha channels of the drawable with those of 4344 the tint. [Sa * Da, Sc * Dc] --> 4345 <enum name="multiply" value="14" /> 4346 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4347 <enum name="screen" value="15" /> 4348 <!-- Combines the tint and drawable color and alpha channels, clamping the 4349 result to valid color values. Saturate(S + D) --> 4350 <enum name="add" value="16" /> 4351 </attr> 4352 <!-- Drawable displayed at each progress position on a seekbar. --> 4353 <attr name="tickMark" format="reference" /> 4354 <!-- Tint to apply to the tick mark drawable. --> 4355 <attr name="tickMarkTint" format="color" /> 4356 <!-- Blending mode used to apply the tick mark tint. --> 4357 <attr name="tickMarkTintMode"> 4358 <!-- The tint is drawn on top of the drawable. 4359 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4360 <enum name="src_over" value="3" /> 4361 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4362 color channels are thrown out. [Sa * Da, Sc * Da] --> 4363 <enum name="src_in" value="5" /> 4364 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4365 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4366 <enum name="src_atop" value="9" /> 4367 <!-- Multiplies the color and alpha channels of the drawable with those of 4368 the tint. [Sa * Da, Sc * Dc] --> 4369 <enum name="multiply" value="14" /> 4370 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4371 <enum name="screen" value="15" /> 4372 <!-- Combines the tint and drawable color and alpha channels, clamping the 4373 result to valid color values. Saturate(S + D) --> 4374 <enum name="add" value="16" /> 4375 </attr> 4376 </declare-styleable> 4377 4378 <declare-styleable name="StackView"> 4379 <!-- Color of the res-out outline. --> 4380 <attr name="resOutColor" format="color" /> 4381 <!-- Color of the outline of click feedback. --> 4382 <attr name="clickColor" format="color" /> 4383 </declare-styleable> 4384 4385 <declare-styleable name="RatingBar"> 4386 <!-- The number of stars (or rating items) to show. --> 4387 <attr name="numStars" format="integer" /> 4388 <!-- The rating to set by default. --> 4389 <attr name="rating" format="float" /> 4390 <!-- The step size of the rating. --> 4391 <attr name="stepSize" format="float" /> 4392 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4393 <attr name="isIndicator" format="boolean" /> 4394 </declare-styleable> 4395 4396 <declare-styleable name="RadioGroup"> 4397 <!-- The id of the child radio button that should be checked by default 4398 within this radio group. --> 4399 <attr name="checkedButton" format="integer" /> 4400 <!-- Should the radio group be a column or a row? Use "horizontal" 4401 for a row, "vertical" for a column. The default is 4402 vertical. --> 4403 <attr name="orientation" /> 4404 </declare-styleable> 4405 <declare-styleable name="TableLayout"> 4406 <!-- The zero-based index of the columns to stretch. The column indices 4407 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4408 indices are ignored. You can stretch all columns by using the 4409 value "*" instead. Note that a column can be marked stretchable 4410 and shrinkable at the same time. --> 4411 <attr name="stretchColumns" format="string" /> 4412 <!-- The zero-based index of the columns to shrink. The column indices 4413 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4414 indices are ignored. You can shrink all columns by using the 4415 value "*" instead. Note that a column can be marked stretchable 4416 and shrinkable at the same time. --> 4417 <attr name="shrinkColumns" format="string" /> 4418 <!-- The zero-based index of the columns to collapse. The column indices 4419 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4420 indices are ignored. --> 4421 <attr name="collapseColumns" format="string" /> 4422 </declare-styleable> 4423 <declare-styleable name="TableRow"> 4424 4425 </declare-styleable> 4426 <declare-styleable name="TableRow_Cell"> 4427 <!-- The index of the column in which this child should be. --> 4428 <attr name="layout_column" format="integer" /> 4429 <!-- Defines how many columns this child should span. Must be >= 1.--> 4430 <attr name="layout_span" format="integer" /> 4431 </declare-styleable> 4432 <declare-styleable name="TabWidget"> 4433 <!-- Drawable used to draw the divider between tabs. --> 4434 <attr name="divider" /> 4435 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4436 <attr name="tabStripEnabled" format="boolean" /> 4437 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4438 <attr name="tabStripLeft" format="reference" /> 4439 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4440 <attr name="tabStripRight" format="reference" /> 4441 <!-- Layout used to organize each tab's content. --> 4442 <attr name="tabLayout" format="reference" /> 4443 </declare-styleable> 4444 <declare-styleable name="TextAppearance"> 4445 <!-- Text color. --> 4446 <attr name="textColor" /> 4447 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4448 <attr name="textSize" /> 4449 <!-- Style (normal, bold, italic, bold|italic) for the text. --> 4450 <attr name="textStyle" /> 4451 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4452 <attr name="typeface" /> 4453 <!-- Font family (named by string or as a font resource reference) for the text. --> 4454 <attr name="fontFamily" /> 4455 <!-- Color of the text selection highlight. --> 4456 <attr name="textColorHighlight" /> 4457 <!-- Color of the hint text. --> 4458 <attr name="textColorHint" /> 4459 <!-- Color of the links. --> 4460 <attr name="textColorLink" /> 4461 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4462 <attr name="textAllCaps" format="boolean" /> 4463 <!-- Place a blurred shadow of text underneath the text, drawn with the 4464 specified color. The text shadow produced does not interact with 4465 properties on View that are responsible for real time shadows, 4466 {@link android.R.styleable#View_elevation elevation} and 4467 {@link android.R.styleable#View_translationZ translationZ}. --> 4468 <attr name="shadowColor" format="color" /> 4469 <!-- Horizontal offset of the text shadow. --> 4470 <attr name="shadowDx" format="float" /> 4471 <!-- Vertical offset of the text shadow. --> 4472 <attr name="shadowDy" format="float" /> 4473 <!-- Blur radius of the text shadow. --> 4474 <attr name="shadowRadius" format="float" /> 4475 <!-- Elegant text height, especially for less compacted complex script text. --> 4476 <attr name="elegantTextHeight" format="boolean" /> 4477 <!-- Whether to respect the ascent and descent of the fallback fonts that are used in 4478 displaying the text. When true, fallback fonts that end up getting used can increase 4479 the ascent and descent of the lines that they are used on. --> 4480 <attr name="fallbackLineSpacing" format="boolean"/> 4481 <!-- Text letter-spacing. --> 4482 <attr name="letterSpacing" format="float" /> 4483 <!-- Font feature settings. --> 4484 <attr name="fontFeatureSettings" format="string" /> 4485 </declare-styleable> 4486 <declare-styleable name="TextClock"> 4487 <!-- Specifies the formatting pattern used to show the time and/or date 4488 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4489 for a complete description of accepted formatting patterns. 4490 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4491 <attr name="format12Hour" format="string"/> 4492 <!-- Specifies the formatting pattern used to show the time and/or date 4493 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4494 for a complete description of accepted formatting patterns. 4495 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4496 <attr name="format24Hour" format="string"/> 4497 <!-- Specifies the time zone to use. When this attribute is specified, the 4498 TextClock will ignore the time zone of the system. To use the user's 4499 time zone, do not specify this attribute. The default value is the 4500 user's time zone. Please refer to {@link java.util.TimeZone} for more 4501 information about time zone ids. --> 4502 <attr name="timeZone" format="string"/> 4503 </declare-styleable> 4504 <declare-styleable name="TextSwitcher"> 4505 </declare-styleable> 4506 <declare-styleable name="TextView"> 4507 <!-- Determines the minimum type that getText() will return. 4508 The default is "normal". 4509 Note that EditText and LogTextBox always return Editable, 4510 even if you specify something less powerful here. --> 4511 <attr name="bufferType"> 4512 <!-- Can return any CharSequence, possibly a 4513 Spanned one if the source text was Spanned. --> 4514 <enum name="normal" value="0" /> 4515 <!-- Can only return Spannable. --> 4516 <enum name="spannable" value="1" /> 4517 <!-- Can only return Spannable and Editable. --> 4518 <enum name="editable" value="2" /> 4519 </attr> 4520 <!-- Text to display. --> 4521 <attr name="text" format="string" localization="suggested" /> 4522 <!-- Hint text to display when the text is empty. --> 4523 <attr name="hint" format="string" /> 4524 <!-- Text color. --> 4525 <attr name="textColor" /> 4526 <!-- Color of the text selection highlight. --> 4527 <attr name="textColorHighlight" /> 4528 <!-- Color of the hint text. --> 4529 <attr name="textColorHint" /> 4530 <!-- Base text color, typeface, size, and style. --> 4531 <attr name="textAppearance" /> 4532 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4533 <attr name="textSize" /> 4534 <!-- Sets the horizontal scaling factor for the text. --> 4535 <attr name="textScaleX" format="float" /> 4536 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4537 <attr name="typeface" /> 4538 <!-- Style (normal, bold, italic, bold|italic) for the text. --> 4539 <attr name="textStyle" /> 4540 <!-- Font family (named by string or as a font resource reference) for the text. --> 4541 <attr name="fontFamily" /> 4542 <!-- Text color for links. --> 4543 <attr name="textColorLink" /> 4544 <!-- Makes the cursor visible (the default) or invisible. --> 4545 <attr name="cursorVisible" format="boolean" /> 4546 <!-- Makes the TextView be at most this many lines tall. 4547 4548 When used on an editable text, the <code>inputType</code> attribute's value must be 4549 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4550 <attr name="maxLines" format="integer" min="0" /> 4551 <!-- Makes the TextView be at most this many pixels tall. --> 4552 <attr name="maxHeight" /> 4553 <!-- Makes the TextView be exactly this many lines tall. --> 4554 <attr name="lines" format="integer" min="0" /> 4555 <!-- Makes the TextView be exactly this tall. 4556 You could get the same effect by specifying this number in the 4557 layout parameters. --> 4558 <attr name="height" format="dimension" /> 4559 <!-- Makes the TextView be at least this many lines tall. 4560 4561 When used on an editable text, the <code>inputType</code> attribute's value must be 4562 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4563 <attr name="minLines" format="integer" min="0" /> 4564 <!-- Makes the TextView be at least this many pixels tall. --> 4565 <attr name="minHeight" /> 4566 <!-- Makes the TextView be at most this many ems wide. --> 4567 <attr name="maxEms" format="integer" min="0" /> 4568 <!-- Makes the TextView be at most this many pixels wide. --> 4569 <attr name="maxWidth" /> 4570 <!-- Makes the TextView be exactly this many ems wide. --> 4571 <attr name="ems" format="integer" min="0" /> 4572 <!-- Makes the TextView be exactly this wide. 4573 You could get the same effect by specifying this number in the 4574 layout parameters. --> 4575 <attr name="width" format="dimension" /> 4576 <!-- Makes the TextView be at least this many ems wide. --> 4577 <attr name="minEms" format="integer" min="0" /> 4578 <!-- Makes the TextView be at least this many pixels wide. --> 4579 <attr name="minWidth" /> 4580 <!-- Specifies how to align the text by the view's x- and/or y-axis 4581 when the text is smaller than the view. --> 4582 <attr name="gravity" /> 4583 <!-- Whether the text is allowed to be wider than the view (and 4584 therefore can be scrolled horizontally). --> 4585 <attr name="scrollHorizontally" format="boolean" /> 4586 <!-- Whether the characters of the field are displayed as 4587 password dots instead of themselves. 4588 {@deprecated Use inputType instead.} --> 4589 <attr name="password" format="boolean" /> 4590 <!-- Constrains the text to a single horizontally scrolling line 4591 instead of letting it wrap onto multiple lines, and advances 4592 focus instead of inserting a newline when you press the 4593 enter key. 4594 4595 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4596 you specify any value for inputType, the default is true (single-line input field mode). 4597 4598 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4599 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4600 inputType attribute instead for editable text views (if both singleLine and inputType 4601 are supplied, the inputType flags will override the value of singleLine). } --> 4602 <attr name="singleLine" format="boolean" /> 4603 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4604 For example, a non-enabled EditText prevents the user from editing the contained text, and 4605 a non-enabled Button prevents the user from tapping the button. 4606 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4607 from evaluating state_enabled differ. --> 4608 <attr name="enabled" format="boolean" /> 4609 <!-- If the text is selectable, select it all when the view takes 4610 focus. --> 4611 <attr name="selectAllOnFocus" format="boolean" /> 4612 <!-- Leave enough room for ascenders and descenders instead of 4613 using the font ascent and descent strictly. (Normally true). --> 4614 <attr name="includeFontPadding" format="boolean" /> 4615 <!-- Set an input filter to constrain the text length to the 4616 specified number. --> 4617 <attr name="maxLength" format="integer" min="0" /> 4618 <!-- Place a blurred shadow of text underneath the text, drawn with the 4619 specified color. The text shadow produced does not interact with 4620 properties on View that are responsible for real time shadows, 4621 {@link android.R.styleable#View_elevation elevation} and 4622 {@link android.R.styleable#View_translationZ translationZ}. --> 4623 <attr name="shadowColor" /> 4624 <!-- Horizontal offset of the text shadow. --> 4625 <attr name="shadowDx" /> 4626 <!-- Vertical offset of the text shadow. --> 4627 <attr name="shadowDy" /> 4628 <!-- Blur radius of the text shadow. --> 4629 <attr name="shadowRadius" /> 4630 <attr name="autoLink" /> 4631 <!-- If set to false, keeps the movement method from being set 4632 to the link movement method even if autoLink causes links 4633 to be found. --> 4634 <attr name="linksClickable" format="boolean" /> 4635 <!-- If set, specifies that this TextView has a numeric input method. 4636 The default is false. 4637 {@deprecated Use inputType instead.} --> 4638 <attr name="numeric"> 4639 <!-- Input is numeric. --> 4640 <flag name="integer" value="0x01" /> 4641 <!-- Input is numeric, with sign allowed. --> 4642 <flag name="signed" value="0x03" /> 4643 <!-- Input is numeric, with decimals allowed. --> 4644 <flag name="decimal" value="0x05" /> 4645 </attr> 4646 <!-- If set, specifies that this TextView has a numeric input method 4647 and that these specific characters are the ones that it will 4648 accept. 4649 If this is set, numeric is implied to be true. 4650 The default is false. --> 4651 <attr name="digits" format="string" /> 4652 <!-- If set, specifies that this TextView has a phone number input 4653 method. The default is false. 4654 {@deprecated Use inputType instead.} --> 4655 <attr name="phoneNumber" format="boolean" /> 4656 <!-- If set, specifies that this TextView should use the specified 4657 input method (specified by fully-qualified class name). 4658 {@deprecated Use inputType instead.} --> 4659 <attr name="inputMethod" format="string" /> 4660 <!-- If set, specifies that this TextView has a textual input method 4661 and should automatically capitalize what the user types. 4662 The default is "none". 4663 {@deprecated Use inputType instead.} --> 4664 <attr name="capitalize"> 4665 <!-- Don't automatically capitalize anything. --> 4666 <enum name="none" value="0" /> 4667 <!-- Capitalize the first word of each sentence. --> 4668 <enum name="sentences" value="1" /> 4669 <!-- Capitalize the first letter of every word. --> 4670 <enum name="words" value="2" /> 4671 <!-- Capitalize every character. --> 4672 <enum name="characters" value="3" /> 4673 </attr> 4674 <!-- If set, specifies that this TextView has a textual input method 4675 and automatically corrects some common spelling errors. 4676 The default is "false". 4677 {@deprecated Use inputType instead.} --> 4678 <attr name="autoText" format="boolean" /> 4679 <!-- If set, specifies that this TextView has an input method. 4680 It will be a textual one unless it has otherwise been specified. 4681 For TextView, this is false by default. For EditText, it is 4682 true by default. 4683 {@deprecated Use inputType instead.} --> 4684 <attr name="editable" format="boolean" /> 4685 <!-- If set, the text view will include its current complete text 4686 inside of its frozen icicle in addition to meta-data such as 4687 the current cursor position. By default this is disabled; 4688 it can be useful when the contents of a text view is not stored 4689 in a persistent place such as a content provider. For 4690 {@link android.widget.EditText} it is always enabled, regardless 4691 of the value of the attribute. --> 4692 <attr name="freezesText" format="boolean" /> 4693 <!-- If set, causes words that are longer than the view is wide 4694 to be ellipsized instead of broken in the middle. 4695 You will often also want to set scrollHorizontally or singleLine 4696 as well so that the text as a whole is also constrained to 4697 a single line instead of still allowed to be broken onto 4698 multiple lines. --> 4699 <attr name="ellipsize" /> 4700 <!-- The drawable to be drawn above the text. --> 4701 <attr name="drawableTop" format="reference|color" /> 4702 <!-- The drawable to be drawn below the text. --> 4703 <attr name="drawableBottom" format="reference|color" /> 4704 <!-- The drawable to be drawn to the left of the text. --> 4705 <attr name="drawableLeft" format="reference|color" /> 4706 <!-- The drawable to be drawn to the right of the text. --> 4707 <attr name="drawableRight" format="reference|color" /> 4708 <!-- The drawable to be drawn to the start of the text. --> 4709 <attr name="drawableStart" format="reference|color" /> 4710 <!-- The drawable to be drawn to the end of the text. --> 4711 <attr name="drawableEnd" format="reference|color" /> 4712 <!-- The padding between the drawables and the text. --> 4713 <attr name="drawablePadding" format="dimension" /> 4714 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4715 <attr name="drawableTint" format="color" /> 4716 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4717 <attr name="drawableTintMode"> 4718 <!-- The tint is drawn on top of the drawable. 4719 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4720 <enum name="src_over" value="3" /> 4721 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4722 color channels are thrown out. [Sa * Da, Sc * Da] --> 4723 <enum name="src_in" value="5" /> 4724 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4725 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4726 <enum name="src_atop" value="9" /> 4727 <!-- Multiplies the color and alpha channels of the drawable with those of 4728 the tint. [Sa * Da, Sc * Dc] --> 4729 <enum name="multiply" value="14" /> 4730 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4731 <enum name="screen" value="15" /> 4732 <!-- Combines the tint and drawable color and alpha channels, clamping the 4733 result to valid color values. Saturate(S + D) --> 4734 <enum name="add" value="16" /> 4735 </attr> 4736 <!-- Extra spacing between lines of text. The value will not be applied for the last 4737 line of text. --> 4738 <attr name="lineSpacingExtra" format="dimension" /> 4739 <!-- Extra spacing between lines of text, as a multiplier. The value will not be applied 4740 for the last line of text.--> 4741 <attr name="lineSpacingMultiplier" format="float" /> 4742 <!-- The number of times to repeat the marquee animation. Only applied if the 4743 TextView has marquee enabled. --> 4744 <attr name="marqueeRepeatLimit" format="integer"> 4745 <!-- Indicates that marquee should repeat indefinitely. --> 4746 <enum name="marquee_forever" value="-1" /> 4747 </attr> 4748 <attr name="inputType" /> 4749 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4750 <attr name="allowUndo" format="boolean" /> 4751 <attr name="imeOptions" /> 4752 <!-- An addition content type description to supply to the input 4753 method attached to the text view, which is private to the 4754 implementation of the input method. This simply fills in 4755 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4756 EditorInfo.privateImeOptions} field when the input 4757 method is connected. --> 4758 <attr name="privateImeOptions" format="string" /> 4759 <!-- Supply a value for 4760 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4761 used when an input method is connected to the text view. --> 4762 <attr name="imeActionLabel" format="string" /> 4763 <!-- Supply a value for 4764 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4765 used when an input method is connected to the text view. --> 4766 <attr name="imeActionId" format="integer" /> 4767 <!-- Reference to an 4768 {@link android.R.styleable#InputExtras <input-extras>} 4769 XML resource containing additional data to 4770 supply to an input method, which is private to the implementation 4771 of the input method. This simply fills in 4772 the {@link android.view.inputmethod.EditorInfo#extras 4773 EditorInfo.extras} field when the input 4774 method is connected. --> 4775 <attr name="editorExtras" format="reference" /> 4776 4777 <!-- Reference to a drawable that will be used to display a text selection 4778 anchor on the left side of a selection region. --> 4779 <attr name="textSelectHandleLeft" /> 4780 <!-- Reference to a drawable that will be used to display a text selection 4781 anchor on the right side of a selection region. --> 4782 <attr name="textSelectHandleRight" /> 4783 <!-- Reference to a drawable that will be used to display a text selection 4784 anchor for positioning the cursor within text. --> 4785 <attr name="textSelectHandle" /> 4786 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4787 TextEdit field. --> 4788 <attr name="textEditPasteWindowLayout" /> 4789 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4790 <attr name="textEditNoPasteWindowLayout" /> 4791 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4792 insertion cursor because it would be clipped if it were positioned on top. --> 4793 <attr name="textEditSidePasteWindowLayout" /> 4794 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4795 <attr name="textEditSideNoPasteWindowLayout" /> 4796 4797 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4798 <attr name="textEditSuggestionItemLayout" /> 4799 <!-- Layout of the container of the suggestion popup window. --> 4800 <attr name="textEditSuggestionContainerLayout" /> 4801 <!-- Style of the highlighted string in the suggestion popup window. --> 4802 <attr name="textEditSuggestionHighlightStyle" /> 4803 4804 4805 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4806 <attr name="textCursorDrawable" /> 4807 4808 <!-- Indicates that the content of a non-editable text can be selected. --> 4809 <attr name="textIsSelectable" /> 4810 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4811 <attr name="textAllCaps" /> 4812 <!-- Elegant text height, especially for less compacted complex script text. --> 4813 <attr name="elegantTextHeight" /> 4814 <!-- Whether to respect the ascent and descent of the fallback fonts that are used in 4815 displaying the text. When true, fallback fonts that end up getting used can increase 4816 the ascent and descent of the lines that they are used on. --> 4817 <attr name="fallbackLineSpacing" format="boolean"/> 4818 <!-- Text letter-spacing. --> 4819 <attr name="letterSpacing" /> 4820 <!-- Font feature settings. --> 4821 <attr name="fontFeatureSettings" /> 4822 <!-- Break strategy (control over paragraph layout). --> 4823 <attr name="breakStrategy"> 4824 <!-- Line breaking uses simple strategy. --> 4825 <enum name="simple" value="0" /> 4826 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4827 <enum name="high_quality" value="1" /> 4828 <!-- Line breaking strategy balances line lengths. --> 4829 <enum name="balanced" value="2" /> 4830 </attr> 4831 <!-- Frequency of automatic hyphenation. --> 4832 <attr name="hyphenationFrequency"> 4833 <!-- No hyphenation. --> 4834 <enum name="none" value="0" /> 4835 <!-- Less frequent hyphenation, useful for informal use cases, such 4836 as chat messages. --> 4837 <enum name="normal" value="1" /> 4838 <!-- Standard amount of hyphenation, useful for running text and for 4839 screens with limited space for text. --> 4840 <enum name="full" value="2" /> 4841 </attr> 4842 <!-- Specify the type of auto-size. Note that this feature is not supported by EditText, 4843 works only for TextView. --> 4844 <attr name="autoSizeTextType" format="enum"> 4845 <!-- No auto-sizing (default). --> 4846 <enum name="none" value="0" /> 4847 <!-- Uniform horizontal and vertical text size scaling to fit within the 4848 container. --> 4849 <enum name="uniform" value="1" /> 4850 </attr> 4851 <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to 4852 <code>uniform</code>. The default is 1px. Overwrites 4853 <code>autoSizePresetSizes</code> if set. --> 4854 <attr name="autoSizeStepGranularity" format="dimension" /> 4855 <!-- Resource array of dimensions to be used in conjunction with 4856 <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides 4857 <code>autoSizeStepGranularity</code> if set. --> 4858 <attr name="autoSizePresetSizes"/> 4859 <!-- The minimum text size constraint to be used when auto-sizing text. --> 4860 <attr name="autoSizeMinTextSize" format="dimension" /> 4861 <!-- The maximum text size constraint to be used when auto-sizing text. --> 4862 <attr name="autoSizeMaxTextSize" format="dimension" /> 4863 <!-- Mode for justification. --> 4864 <attr name="justificationMode"> 4865 <!-- No justification. --> 4866 <enum name="none" value="0" /> 4867 <!-- Justification by stretching word spacing. --> 4868 <enum name="inter_word" value = "1" /> 4869 </attr> 4870 </declare-styleable> 4871 <declare-styleable name="TextViewAppearance"> 4872 <!-- Base text color, typeface, size, and style. --> 4873 <attr name="textAppearance" /> 4874 </declare-styleable> 4875 <declare-styleable name="SelectionModeDrawables"> 4876 <attr name="actionModeSelectAllDrawable" /> 4877 <attr name="actionModeCutDrawable" /> 4878 <attr name="actionModeCopyDrawable" /> 4879 <attr name="actionModePasteDrawable" /> 4880 </declare-styleable> 4881 <declare-styleable name="SuggestionSpan"> 4882 <attr name="textUnderlineColor" /> 4883 <attr name="textUnderlineThickness" /> 4884 </declare-styleable> 4885 <!-- An <code>input-extras</code> is a container for extra data to supply to 4886 an input method. Contains 4887 one more more {@link #Extra <extra>} tags. --> 4888 <declare-styleable name="InputExtras"> 4889 </declare-styleable> 4890 <declare-styleable name="AutoCompleteTextView"> 4891 <!-- Defines the hint displayed in the drop down menu. --> 4892 <attr name="completionHint" format="string" /> 4893 <!-- Defines the hint view displayed in the drop down menu. --> 4894 <attr name="completionHintView" format="reference" /> 4895 <!-- Defines the number of characters that the user must type before 4896 completion suggestions are displayed in a drop down menu. --> 4897 <attr name="completionThreshold" format="integer" min="1" /> 4898 <!-- Selector in a drop down list. --> 4899 <attr name="dropDownSelector" format="reference|color" /> 4900 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4901 is used. --> 4902 <attr name="dropDownAnchor" format="reference" /> 4903 <!-- Specifies the basic width of the dropdown. Its value may 4904 be a dimension (such as "12dip") for a constant width, 4905 fill_parent or match_parent to match the width of the 4906 screen, or wrap_content to match the width of 4907 the anchored view. --> 4908 <attr name="dropDownWidth" format="dimension"> 4909 <!-- The dropdown should fill the width of the screen. 4910 This constant is deprecated starting from API Level 8 and 4911 is replaced by {@code match_parent}. --> 4912 <enum name="fill_parent" value="-1" /> 4913 <!-- The dropdown should fit the width of the screen. 4914 Introduced in API Level 8. --> 4915 <enum name="match_parent" value="-1" /> 4916 <!-- The dropdown should fit the width of its anchor. --> 4917 <enum name="wrap_content" value="-2" /> 4918 </attr> 4919 <!-- Specifies the basic height of the dropdown. Its value may 4920 be a dimension (such as "12dip") for a constant height, 4921 fill_parent or match_parent to fill the height of the 4922 screen, or wrap_content to match the height of 4923 the content of the drop down. --> 4924 <attr name="dropDownHeight" format="dimension"> 4925 <!-- The dropdown should fit the height of the screen. 4926 This constant is deprecated starting from API Level 8 and 4927 is replaced by {@code match_parent}. --> 4928 <enum name="fill_parent" value="-1" /> 4929 <!-- The dropdown should fit the height of the screen. 4930 Introduced in API Level 8. --> 4931 <enum name="match_parent" value="-1" /> 4932 <!-- The dropdown should fit the height of the content. --> 4933 <enum name="wrap_content" value="-2" /> 4934 </attr> 4935 <attr name="inputType" /> 4936 <!-- Theme to use for the completion popup window. --> 4937 <attr name="popupTheme" /> 4938 </declare-styleable> 4939 <declare-styleable name="PopupWindow"> 4940 <!-- The background to use for the popup window. --> 4941 <attr name="popupBackground" format="reference|color" /> 4942 <!-- Window elevation to use for the popup window. --> 4943 <attr name="popupElevation" format="dimension" /> 4944 <!-- The animation style to use for the popup window. --> 4945 <attr name="popupAnimationStyle" format="reference" /> 4946 <!-- Whether the popup window should overlap its anchor view. --> 4947 <attr name="overlapAnchor" format="boolean" /> 4948 <!-- Transition used to move views into the popup window. --> 4949 <attr name="popupEnterTransition" format="reference" /> 4950 <!-- Transition used to move views out of the popup window. --> 4951 <attr name="popupExitTransition" format="reference" /> 4952 </declare-styleable> 4953 <declare-styleable name="ListPopupWindow"> 4954 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4955 <attr name="dropDownVerticalOffset" format="dimension" /> 4956 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4957 <attr name="dropDownHorizontalOffset" format="dimension" /> 4958 </declare-styleable> 4959 <declare-styleable name="ViewAnimator"> 4960 <!-- Identifier for the animation to use when a view is shown. --> 4961 <attr name="inAnimation" format="reference" /> 4962 <!-- Identifier for the animation to use when a view is hidden. --> 4963 <attr name="outAnimation" format="reference" /> 4964 <!-- Defines whether to animate the current View when the ViewAnimation 4965 is first displayed. --> 4966 <attr name="animateFirstView" format="boolean" /> 4967 </declare-styleable> 4968 <declare-styleable name="ViewFlipper"> 4969 <attr name="flipInterval" format="integer" min="0" /> 4970 <!-- When true, automatically start animating. --> 4971 <attr name="autoStart" format="boolean" /> 4972 </declare-styleable> 4973 <declare-styleable name="AdapterViewAnimator"> 4974 <!-- Identifier for the animation to use when a view is shown. --> 4975 <attr name="inAnimation" /> 4976 <!-- Identifier for the animation to use when a view is hidden. --> 4977 <attr name="outAnimation" /> 4978 <!--Defines whether the animator loops to the first view once it 4979 has reached the end of the list. --> 4980 <attr name="loopViews" format="boolean" /> 4981 <!-- Defines whether to animate the current View when the ViewAnimation 4982 is first displayed. --> 4983 <attr name="animateFirstView" /> 4984 </declare-styleable> 4985 <declare-styleable name="AdapterViewFlipper"> 4986 <attr name="flipInterval" /> 4987 <!-- When true, automatically start animating. --> 4988 <attr name="autoStart" /> 4989 </declare-styleable> 4990 <declare-styleable name="ViewSwitcher"> 4991 </declare-styleable> 4992 <declare-styleable name="ScrollView"> 4993 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4994 <attr name="fillViewport" format="boolean" /> 4995 </declare-styleable> 4996 <declare-styleable name="HorizontalScrollView"> 4997 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4998 <attr name="fillViewport" /> 4999 </declare-styleable> 5000 <declare-styleable name="Spinner"> 5001 <!-- The prompt to display when the spinner's dialog is shown. --> 5002 <attr name="prompt" format="reference" /> 5003 <!-- Display mode for spinner options. --> 5004 <attr name="spinnerMode" format="enum"> 5005 <!-- Spinner options will be presented to the user as a dialog window. --> 5006 <enum name="dialog" value="0" /> 5007 <!-- Spinner options will be presented to the user as an inline dropdown 5008 anchored to the spinner widget itself. --> 5009 <enum name="dropdown" value="1" /> 5010 </attr> 5011 <!-- List selector to use for spinnerMode="dropdown" display. --> 5012 <attr name="dropDownSelector" /> 5013 <!-- Theme to use for the drop-down or dialog popup window. --> 5014 <attr name="popupTheme" /> 5015 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 5016 <attr name="popupBackground" /> 5017 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 5018 <attr name="popupElevation" /> 5019 <!-- Width of the dropdown in spinnerMode="dropdown". --> 5020 <attr name="dropDownWidth" /> 5021 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 5022 spinnerMode="dropdown". This layout must contain a TextView with the id 5023 {@code @android:id/text1} to be populated with the prompt text. --> 5024 <attr name="popupPromptView" format="reference" /> 5025 <!-- Gravity setting for positioning the currently selected item. --> 5026 <attr name="gravity" /> 5027 <!-- Whether this spinner should mark child views as enabled/disabled when 5028 the spinner itself is enabled/disabled. --> 5029 <attr name="disableChildrenWhenDisabled" format="boolean" /> 5030 </declare-styleable> 5031 5032 <declare-styleable name="DatePicker"> 5033 <!-- The first day of week according to {@link java.util.Calendar}. --> 5034 <attr name="firstDayOfWeek" /> 5035 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5036 <attr name="minDate" format="string" /> 5037 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5038 <attr name="maxDate" format="string" /> 5039 5040 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 5041 <attr name="spinnersShown" format="boolean" /> 5042 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 5043 <attr name="calendarViewShown" format="boolean" /> 5044 5045 <!-- @hide The layout of the date picker. --> 5046 <attr name="internalLayout" format="reference" /> 5047 <!-- @hide The layout of the legacy DatePicker. --> 5048 <attr name="legacyLayout" /> 5049 5050 <!-- The text color for the selected date header text, ex. "2014" or 5051 "Tue, Mar 18". This should be a color state list where the 5052 activated state will be used when the year picker or day picker is 5053 active.--> 5054 <attr name="headerTextColor" format="color" /> 5055 <!-- The background for the selected date header. --> 5056 <attr name="headerBackground" /> 5057 5058 <!-- The list year's text appearance in the list. 5059 {@deprecated Use yearListTextColor. }--> 5060 <attr name="yearListItemTextAppearance" format="reference" /> 5061 <!-- @hide The list year's text appearance in the list when activated. --> 5062 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 5063 <!-- The text color list of the calendar. --> 5064 <attr name="calendarTextColor" format="color" /> 5065 5066 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5067 spinner. As of L, with the Material theme selected, the default layout is calendar, 5068 but this attribute can be used to force spinner to be used instead. --> 5069 <attr name="datePickerMode"> 5070 <!-- Date picker with spinner controls to select the date. --> 5071 <enum name="spinner" value="1" /> 5072 <!-- Date picker with calendar to select the date. --> 5073 <enum name="calendar" value="2" /> 5074 </attr> 5075 5076 <!-- The first year (inclusive), for example "1940". 5077 {@deprecated Use minDate instead.} --> 5078 <attr name="startYear" format="integer" /> 5079 <!-- The last year (inclusive), for example "2010". 5080 {@deprecated Use maxDate instead.} --> 5081 <attr name="endYear" format="integer" /> 5082 <!-- The text appearance for the month (ex. May) in the selected date header. 5083 {@deprecated Use headerTextColor instead.} --> 5084 <attr name="headerMonthTextAppearance" format="reference" /> 5085 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 5086 {@deprecated Use headerTextColor instead.} --> 5087 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 5088 <!-- The text appearance for the year (ex. 2014) in the selected date header. 5089 {@deprecated Use headerTextColor instead.} --> 5090 <attr name="headerYearTextAppearance" format="reference" /> 5091 <!-- The background color for the header's day of week. 5092 {@deprecated No longer displayed.} --> 5093 <attr name="dayOfWeekBackground" format="color" /> 5094 <!-- The text color for the header's day of week. 5095 {@deprecated No longer displayed.} --> 5096 <attr name="dayOfWeekTextAppearance" format="reference" /> 5097 <!-- The list year's selected circle color in the list. 5098 {@deprecated No longer displayed.} --> 5099 <attr name="yearListSelectorColor" format="color" /> 5100 5101 <!-- @hide Whether this time picker is being displayed within a dialog, 5102 in which case it may ignore the requested time picker mode due to 5103 space considerations. --> 5104 <attr name="dialogMode" format="boolean" /> 5105 </declare-styleable> 5106 5107 <declare-styleable name="TwoLineListItem"> 5108 <attr name="mode"> 5109 <!-- Always show only the first line. --> 5110 <enum name="oneLine" value="1" /> 5111 <!-- When selected show both lines, otherwise show only the first line. 5112 This is the default mode. --> 5113 <enum name="collapsing" value="2" /> 5114 <!-- Always show both lines. --> 5115 <enum name="twoLine" value="3" /> 5116 </attr> 5117 </declare-styleable> 5118 5119 <!-- SlidingDrawer specific attributes. These attributes are used to configure 5120 a SlidingDrawer from XML. --> 5121 <declare-styleable name="SlidingDrawer"> 5122 <!-- Identifier for the child that represents the drawer's handle. --> 5123 <attr name="handle" format="reference" /> 5124 <!-- Identifier for the child that represents the drawer's content. --> 5125 <attr name="content" format="reference" /> 5126 <!-- Orientation of the SlidingDrawer. --> 5127 <attr name="orientation" /> 5128 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 5129 <attr name="bottomOffset" format="dimension" /> 5130 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 5131 <attr name="topOffset" format="dimension" /> 5132 <!-- Indicates whether the drawer can be opened/closed by a single tap 5133 on the handle. (If false, the user must drag or fling, or click 5134 using the trackball, to open/close the drawer.) Default is true. --> 5135 <attr name="allowSingleTap" format="boolean" /> 5136 <!-- Indicates whether the drawer should be opened/closed with an animation 5137 when the user clicks the handle. Default is true. --> 5138 <attr name="animateOnClick" format="boolean" /> 5139 </declare-styleable> 5140 5141 <!-- GestureOverlayView specific attributes. These attributes are used to configure 5142 a GestureOverlayView from XML. --> 5143 <declare-styleable name="GestureOverlayView"> 5144 <!-- Width of the stroke used to draw the gesture. --> 5145 <attr name="gestureStrokeWidth" format="float" /> 5146 <!-- Color used to draw a gesture. --> 5147 <attr name="gestureColor" format="color" /> 5148 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 5149 <attr name="uncertainGestureColor" format="color" /> 5150 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 5151 is done drawing it. --> 5152 <attr name="fadeOffset" format="integer" /> 5153 <!-- Duration, in milliseconds, of the fade out effect after the user is done 5154 drawing a gesture. --> 5155 <attr name="fadeDuration" format="integer" /> 5156 <!-- Defines the type of strokes that define a gesture. --> 5157 <attr name="gestureStrokeType"> 5158 <!-- A gesture is made of only one stroke. --> 5159 <enum name="single" value="0" /> 5160 <!-- A gesture is made of multiple strokes. --> 5161 <enum name="multiple" value="1" /> 5162 </attr> 5163 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 5164 <attr name="gestureStrokeLengthThreshold" format="float" /> 5165 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 5166 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 5167 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 5168 <attr name="gestureStrokeAngleThreshold" format="float" /> 5169 <!-- Defines whether the overlay should intercept the motion events when a gesture 5170 is recognized. --> 5171 <attr name="eventsInterceptionEnabled" format="boolean" /> 5172 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 5173 <attr name="fadeEnabled" format="boolean" /> 5174 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 5175 (when orientation is horizontal) strokes automatically define a gesture. --> 5176 <attr name="orientation" /> 5177 </declare-styleable> 5178 5179 <declare-styleable name="QuickContactBadge"> 5180 <attr name="quickContactWindowSize"> 5181 <enum name="modeSmall" value="1" /> 5182 <enum name="modeMedium" value="2" /> 5183 <enum name="modeLarge" value="3" /> 5184 </attr> 5185 </declare-styleable> 5186 5187 <!-- ======================================= --> 5188 <!-- Widget package parent layout attributes --> 5189 <!-- ======================================= --> 5190 <eat-comment /> 5191 5192 <declare-styleable name="AbsoluteLayout_Layout"> 5193 <attr name="layout_x" format="dimension" /> 5194 <attr name="layout_y" format="dimension" /> 5195 </declare-styleable> 5196 <declare-styleable name="LinearLayout_Layout"> 5197 <attr name="layout_width" /> 5198 <attr name="layout_height" /> 5199 <!-- Indicates how much of the extra space in the LinearLayout is 5200 allocated to the view associated with these LayoutParams. Specify 5201 0 if the view should not be stretched. Otherwise the extra pixels 5202 will be pro-rated among all views whose weight is greater than 0. --> 5203 <attr name="layout_weight" format="float" /> 5204 <!-- Gravity specifies how a component should be placed in its group of cells. 5205 The default is {@link android.view.Gravity#TOP}. 5206 See {@link android.widget.LinearLayout#setGravity(int)}. --> 5207 <attr name="layout_gravity" /> 5208 </declare-styleable> 5209 <declare-styleable name="GridLayout_Layout"> 5210 <!-- The row boundary delimiting the top of the group of cells 5211 occupied by this view. --> 5212 <attr name="layout_row" format="integer" /> 5213 <!-- The row span: the difference between the top and bottom 5214 boundaries delimiting the group of cells occupied by this view. 5215 The default is one. 5216 See {@link android.widget.GridLayout.Spec}. --> 5217 <attr name="layout_rowSpan" format="integer" min="1" /> 5218 <!-- The relative proportion of vertical space that should be allocated to this view 5219 during excess space distribution. --> 5220 <attr name="layout_rowWeight" format="float" /> 5221 <!-- The column boundary delimiting the left of the group of cells 5222 occupied by this view. --> 5223 <attr name="layout_column" /> 5224 <!-- The column span: the difference between the right and left 5225 boundaries delimiting the group of cells occupied by this view. 5226 The default is one. 5227 See {@link android.widget.GridLayout.Spec}. --> 5228 <attr name="layout_columnSpan" format="integer" min="1" /> 5229 <!-- The relative proportion of horizontal space that should be allocated to this view 5230 during excess space distribution. --> 5231 <attr name="layout_columnWeight" format="float" /> 5232 <!-- Gravity specifies how a component should be placed in its group of cells. 5233 The default is LEFT | BASELINE. 5234 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 5235 <attr name="layout_gravity" /> 5236 </declare-styleable> 5237 <declare-styleable name="FrameLayout_Layout"> 5238 <attr name="layout_gravity" /> 5239 </declare-styleable> 5240 <declare-styleable name="RelativeLayout_Layout"> 5241 <!-- Positions the right edge of this view to the left of the given anchor view ID. 5242 Accommodates right margin of this view and left margin of anchor view. --> 5243 <attr name="layout_toLeftOf" format="reference" /> 5244 <!-- Positions the left edge of this view to the right of the given anchor view ID. 5245 Accommodates left margin of this view and right margin of anchor view. --> 5246 <attr name="layout_toRightOf" format="reference" /> 5247 <!-- Positions the bottom edge of this view above the given anchor view ID. 5248 Accommodates bottom margin of this view and top margin of anchor view. --> 5249 <attr name="layout_above" format="reference" /> 5250 <!-- Positions the top edge of this view below the given anchor view ID. 5251 Accommodates top margin of this view and bottom margin of anchor view. --> 5252 <attr name="layout_below" format="reference" /> 5253 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 5254 <attr name="layout_alignBaseline" format="reference" /> 5255 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 5256 Accommodates left margin. --> 5257 <attr name="layout_alignLeft" format="reference" /> 5258 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 5259 Accommodates top margin. --> 5260 <attr name="layout_alignTop" format="reference" /> 5261 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 5262 Accommodates right margin. --> 5263 <attr name="layout_alignRight" format="reference" /> 5264 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 5265 Accommodates bottom margin. --> 5266 <attr name="layout_alignBottom" format="reference" /> 5267 <!-- If true, makes the left edge of this view match the left edge of the parent. 5268 Accommodates left margin. --> 5269 <attr name="layout_alignParentLeft" format="boolean" /> 5270 <!-- If true, makes the top edge of this view match the top edge of the parent. 5271 Accommodates top margin. --> 5272 <attr name="layout_alignParentTop" format="boolean" /> 5273 <!-- If true, makes the right edge of this view match the right edge of the parent. 5274 Accommodates right margin. --> 5275 <attr name="layout_alignParentRight" format="boolean" /> 5276 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 5277 Accommodates bottom margin. --> 5278 <attr name="layout_alignParentBottom" format="boolean" /> 5279 <!-- If true, centers this child horizontally and vertically within its parent. --> 5280 <attr name="layout_centerInParent" format="boolean" /> 5281 <!-- If true, centers this child horizontally within its parent. --> 5282 <attr name="layout_centerHorizontal" format="boolean" /> 5283 <!-- If true, centers this child vertically within its parent. --> 5284 <attr name="layout_centerVertical" format="boolean" /> 5285 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 5286 be found for layout_toLeftOf, layout_toRightOf, etc. --> 5287 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 5288 <!-- Positions the end edge of this view to the start of the given anchor view ID. 5289 Accommodates end margin of this view and start margin of anchor view. --> 5290 <attr name="layout_toStartOf" format="reference" /> 5291 <!-- Positions the start edge of this view to the end of the given anchor view ID. 5292 Accommodates start margin of this view and end margin of anchor view. --> 5293 <attr name="layout_toEndOf" format="reference" /> 5294 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 5295 Accommodates start margin. --> 5296 <attr name="layout_alignStart" format="reference" /> 5297 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 5298 Accommodates end margin. --> 5299 <attr name="layout_alignEnd" format="reference" /> 5300 <!-- If true, makes the start edge of this view match the start edge of the parent. 5301 Accommodates start margin. --> 5302 <attr name="layout_alignParentStart" format="boolean" /> 5303 <!-- If true, makes the end edge of this view match the end edge of the parent. 5304 Accommodates end margin. --> 5305 <attr name="layout_alignParentEnd" format="boolean" /> 5306 </declare-styleable> 5307 <declare-styleable name="VerticalSlider_Layout"> 5308 <attr name="layout_scale" format="float" /> 5309 </declare-styleable> 5310 5311 <!-- @hide --> 5312 <declare-styleable name="WeightedLinearLayout"> 5313 <attr name="majorWeightMin" format="float" /> 5314 <attr name="minorWeightMin" format="float" /> 5315 <attr name="majorWeightMax" format="float" /> 5316 <attr name="minorWeightMax" format="float" /> 5317 </declare-styleable> 5318 5319 <declare-styleable name="CalendarView"> 5320 <!-- The first day of week according to {@link java.util.Calendar}. --> 5321 <attr name="firstDayOfWeek" format="integer" /> 5322 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5323 <attr name="minDate" /> 5324 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5325 <attr name="maxDate" /> 5326 <!-- The text appearance for the month and year in the calendar header. --> 5327 <attr name="monthTextAppearance" format="reference" /> 5328 <!-- The text appearance for the week day abbreviation in the calendar header. --> 5329 <attr name="weekDayTextAppearance" format="reference" /> 5330 <!-- The text appearance for the day numbers in the calendar grid. --> 5331 <attr name="dateTextAppearance" format="reference" /> 5332 <!-- @hide The background color used for the day selection indicator. --> 5333 <attr name="daySelectorColor" format="color" /> 5334 <!-- @hide The background color used for the day highlight indicator. --> 5335 <attr name="dayHighlightColor" format="color" /> 5336 <!-- @hide Which style of calendar delegate to use. --> 5337 <attr name="calendarViewMode"> 5338 <enum name="holo" value="0" /> 5339 <enum name="material" value="1" /> 5340 </attr> 5341 5342 <!-- @deprecated Whether do show week numbers. --> 5343 <attr name="showWeekNumber" format="boolean" /> 5344 <!-- @deprecated The number of weeks to be shown. --> 5345 <attr name="shownWeekCount" format="integer"/> 5346 <!-- @deprecated The background color for the selected week. --> 5347 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 5348 <!-- @deprecated The color for the dates of the focused month. --> 5349 <attr name="focusedMonthDateColor" format="color|reference" /> 5350 <!-- @deprecated The color for the dates of an unfocused month. --> 5351 <attr name="unfocusedMonthDateColor" format="color|reference" /> 5352 <!-- @deprecated The color for the week numbers. --> 5353 <attr name="weekNumberColor" format="color|reference" /> 5354 <!-- @deprecated The color for the separator line between weeks. --> 5355 <attr name="weekSeparatorLineColor" format="color|reference" /> 5356 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 5357 <attr name="selectedDateVerticalBar" format="reference" /> 5358 </declare-styleable> 5359 5360 <declare-styleable name="NumberPicker"> 5361 <!-- @hide Color for the solid color background if such for optimized rendering. --> 5362 <attr name="solidColor" format="color|reference" /> 5363 <!-- @hide The divider for making the selection area. --> 5364 <attr name="selectionDivider" format="reference" /> 5365 <!-- @hide The height of the selection divider. --> 5366 <attr name="selectionDividerHeight" format="dimension" /> 5367 <!-- @hide The distance between the two selection dividers. --> 5368 <attr name="selectionDividersDistance" format="dimension" /> 5369 <!-- @hide The min height of the NumberPicker. --> 5370 <attr name="internalMinHeight" format="dimension" /> 5371 <!-- @hide The max height of the NumberPicker. --> 5372 <attr name="internalMaxHeight" format="dimension" /> 5373 <!-- @hide The min width of the NumberPicker. --> 5374 <attr name="internalMinWidth" format="dimension" /> 5375 <!-- @hide The max width of the NumberPicker. --> 5376 <attr name="internalMaxWidth" format="dimension" /> 5377 <!-- @hide The layout of the number picker. --> 5378 <attr name="internalLayout" /> 5379 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 5380 <attr name="virtualButtonPressedDrawable" format="reference"/> 5381 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 5382 <attr name="hideWheelUntilFocused" format="boolean"/> 5383 </declare-styleable> 5384 5385 <declare-styleable name="TimePicker"> 5386 <!-- @hide The layout of the legacy time picker. --> 5387 <attr name="legacyLayout" format="reference" /> 5388 <!-- @hide The layout of the time picker. --> 5389 <attr name="internalLayout" /> 5390 5391 <!-- The text color for the selected time header text, ex. "12" or 5392 "PM". This should be a color state list where the activated state 5393 will be used when the minute picker or hour picker is active.--> 5394 <attr name="headerTextColor" /> 5395 <!-- The background for the header containing the currently selected time. --> 5396 <attr name="headerBackground" /> 5397 5398 <!-- The color for the hours/minutes numbers. This should be a color 5399 state list where the activated state will be used when the number 5400 is active.--> 5401 <attr name="numbersTextColor" format="color" /> 5402 <!-- The color for the inner hours numbers used in 24-hour mode. This 5403 should be a color state list where the activated state will be 5404 used when the number is active.--> 5405 <attr name="numbersInnerTextColor" format="color" /> 5406 <!-- The background color for the hours/minutes numbers. --> 5407 <attr name="numbersBackgroundColor" format="color" /> 5408 <!-- The color for the hours/minutes selector. --> 5409 <attr name="numbersSelectorColor" format="color" /> 5410 5411 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5412 spinner. As of L, with the Material theme selected, the default layout is clock, 5413 but this attribute can be used to force spinner to be used instead. --> 5414 <attr name="timePickerMode"> 5415 <!-- Time picker with spinner controls to select the time. --> 5416 <enum name="spinner" value="1" /> 5417 <!-- Time picker with clock face to select the time. --> 5418 <enum name="clock" value="2" /> 5419 </attr> 5420 5421 <!-- The text appearance for the AM/PM header. 5422 @deprecated Use headerTextColor instead. --> 5423 <attr name="headerAmPmTextAppearance" format="reference" /> 5424 <!-- The text appearance for the time header. 5425 @deprecated Use headerTextColor instead. --> 5426 <attr name="headerTimeTextAppearance" format="reference" /> 5427 <!-- The color for the AM/PM selectors. 5428 {@deprecated Use headerTextColor instead.}--> 5429 <attr name="amPmTextColor" format="color" /> 5430 <!-- The background color state list for the AM/PM selectors. 5431 {@deprecated Use headerBackground instead.}--> 5432 <attr name="amPmBackgroundColor" format="color" /> 5433 5434 <!-- @hide Whether this time picker is being displayed within a dialog, 5435 in which case it may ignore the requested time picker mode due to 5436 space considerations. --> 5437 <attr name="dialogMode" /> 5438 </declare-styleable> 5439 5440 <!-- ========================= --> 5441 <!-- Drawable class attributes --> 5442 <!-- ========================= --> 5443 <eat-comment /> 5444 5445 <!-- Base attributes that are available to all Drawable objects. --> 5446 <declare-styleable name="Drawable"> 5447 <!-- Provides initial visibility state of the drawable; the default 5448 value is false. See 5449 {@link android.graphics.drawable.Drawable#setVisible}. --> 5450 <attr name="visible" format="boolean" /> 5451 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5452 RTL (right-to-left). See 5453 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5454 <attr name="autoMirrored" format="boolean" /> 5455 </declare-styleable> 5456 5457 <!-- Drawable class used to wrap other drawables. --> 5458 <declare-styleable name="DrawableWrapper"> 5459 <!-- The wrapped drawable. --> 5460 <attr name="drawable" /> 5461 </declare-styleable> 5462 5463 <!-- Drawable used to render several states. Each state is represented by 5464 a child drawable. --> 5465 <declare-styleable name="StateListDrawable"> 5466 <!-- Indicates whether the drawable should be initially visible. --> 5467 <attr name="visible" /> 5468 <!-- If true, allows the drawable's padding to change based on the 5469 current state that is selected. If false, the padding will 5470 stay the same (based on the maximum padding of all the states). 5471 Enabling this feature requires that the owner of the drawable 5472 deal with performing layout when the state changes, which is 5473 often not supported. --> 5474 <attr name="variablePadding" format="boolean" /> 5475 <!-- If true, the drawable's reported internal size will remain 5476 constant as the state changes; the size is the maximum of all 5477 of the states. If false, the size will vary based on the 5478 current state. --> 5479 <attr name="constantSize" format="boolean" /> 5480 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5481 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5482 an RGB 565 screen). --> 5483 <attr name="dither" format="boolean" /> 5484 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5485 <attr name="enterFadeDuration" format="integer" /> 5486 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5487 <attr name="exitFadeDuration" format="integer" /> 5488 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5489 RTL (right-to-left). --> 5490 <attr name="autoMirrored"/> 5491 </declare-styleable> 5492 5493 <!-- Drawable used to render several states with animated transitions. Each state 5494 is represented by a child drawable with an optional keyframe ID. --> 5495 <declare-styleable name="AnimatedStateListDrawable"> 5496 <!-- Indicates whether the drawable should be initially visible. --> 5497 <attr name="visible" /> 5498 <!-- If true, allows the drawable's padding to change based on the 5499 current state that is selected. If false, the padding will 5500 stay the same (based on the maximum padding of all the states). 5501 Enabling this feature requires that the owner of the drawable 5502 deal with performing layout when the state changes, which is 5503 often not supported. --> 5504 <attr name="variablePadding" /> 5505 <!-- If true, the drawable's reported internal size will remain 5506 constant as the state changes; the size is the maximum of all 5507 of the states. If false, the size will vary based on the 5508 current state. --> 5509 <attr name="constantSize" /> 5510 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5511 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5512 an RGB 565 screen). --> 5513 <attr name="dither" /> 5514 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5515 <attr name="enterFadeDuration" /> 5516 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5517 <attr name="exitFadeDuration" /> 5518 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5519 RTL (right-to-left). --> 5520 <attr name="autoMirrored"/> 5521 </declare-styleable> 5522 5523 <!-- Represents a single state inside a StateListDrawable. --> 5524 <declare-styleable name="StateListDrawableItem"> 5525 <!-- Reference to a drawable resource to use for the state. If not 5526 given, the drawable must be defined by the first child tag. --> 5527 <attr name="drawable" /> 5528 </declare-styleable> 5529 5530 <!-- Transition used to animate between states with keyframe IDs. --> 5531 <declare-styleable name="AnimatedStateListDrawableItem"> 5532 <!-- Reference to a drawable resource to use for the frame. If not 5533 given, the drawable must be defined by the first child tag. --> 5534 <attr name="drawable" /> 5535 <!-- Keyframe identifier for use in specifying transitions. --> 5536 <attr name="id" /> 5537 </declare-styleable> 5538 5539 <!-- Transition used to animate between states with keyframe IDs. --> 5540 <declare-styleable name="AnimatedStateListDrawableTransition"> 5541 <!-- Keyframe identifier for the starting state. --> 5542 <attr name="fromId" format="reference" /> 5543 <!-- Keyframe identifier for the ending state. --> 5544 <attr name="toId" format="reference" /> 5545 <!-- Reference to a animation drawable resource to use for the frame. If not 5546 given, the animation drawable must be defined by the first child tag. --> 5547 <attr name="drawable" /> 5548 <!-- Whether this transition is reversible. --> 5549 <attr name="reversible" format="boolean" /> 5550 </declare-styleable> 5551 5552 <!-- Drawable used to render several animated frames. --> 5553 <declare-styleable name="AnimationDrawable"> 5554 <attr name="visible" /> 5555 <attr name="variablePadding" /> 5556 <!-- If true, the animation will only run a single time and then 5557 stop. If false (the default), it will continually run, 5558 restarting at the first frame after the last has finished. --> 5559 <attr name="oneshot" format="boolean" /> 5560 </declare-styleable> 5561 5562 <!-- Represents a single frame inside an AnimationDrawable. --> 5563 <declare-styleable name="AnimationDrawableItem"> 5564 <!-- Amount of time (in milliseconds) to display this frame. --> 5565 <attr name="duration" format="integer" /> 5566 <!-- Reference to a drawable resource to use for the frame. If not 5567 given, the drawable must be defined by the first child tag. --> 5568 <attr name="drawable" format="reference" /> 5569 </declare-styleable> 5570 5571 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5572 <declare-styleable name="StateListAnimatorItem"> 5573 <attr name="animation"/> 5574 </declare-styleable> 5575 5576 <!-- Attributes that can be assigned to a ColorStateList item. --> 5577 <declare-styleable name="ColorStateListItem"> 5578 <!-- Base color for this state. --> 5579 <attr name="color" /> 5580 <!-- Alpha multiplier applied to the base color. --> 5581 <attr name="alpha" /> 5582 </declare-styleable> 5583 5584 <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery 5585 saver mode. It should contain one animatable drawable and one static drawable. 5586 @hide --> 5587 <declare-styleable name="AnimationScaleListDrawable"> 5588 </declare-styleable> 5589 5590 <!-- Attributes that can be assigned to a AnimationScaleListDrawable item. 5591 @hide --> 5592 <declare-styleable name="AnimationScaleListDrawableItem"> 5593 <!-- Reference to a drawable resource to use for the state. If not 5594 given, the drawable must be defined by the first child tag. --> 5595 <attr name="drawable" /> 5596 </declare-styleable> 5597 5598 5599 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5600 <declare-styleable name="GradientDrawable"> 5601 <!-- Indicates whether the drawable should intially be visible. --> 5602 <attr name="visible" /> 5603 <!-- Enables or disables dithering. --> 5604 <attr name="dither" /> 5605 <!-- Indicates what shape to fill with a gradient. --> 5606 <attr name="shape"> 5607 <!-- Rectangle shape, with optional rounder corners. --> 5608 <enum name="rectangle" value="0" /> 5609 <!-- Oval shape. --> 5610 <enum name="oval" value="1" /> 5611 <!-- Line shape. --> 5612 <enum name="line" value="2" /> 5613 <!-- Ring shape. --> 5614 <enum name="ring" value="3" /> 5615 </attr> 5616 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5617 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5618 This value is ignored if innerRadius is defined. Default value is 9. --> 5619 <attr name="innerRadiusRatio" format="float" /> 5620 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5621 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5622 This value is ignored if innerRadius is defined. Default value is 3. --> 5623 <attr name="thicknessRatio" format="float" /> 5624 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5625 <attr name="innerRadius" format="dimension" /> 5626 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5627 <attr name="thickness" format="dimension" /> 5628 <!-- Whether the drawable level value (see 5629 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape. 5630 Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to 5631 360. For all other types, there is no effect. The default value is true. --> 5632 <attr name="useLevel" /> 5633 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5634 no tint is applied. May be a color state list. --> 5635 <attr name="tint" /> 5636 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5637 default value is src_in, which treats the drawable as an alpha mask. --> 5638 <attr name="tintMode" /> 5639 <!-- Left optical inset. 5640 @hide Until optical insets are fully supported. --> 5641 <attr name="opticalInsetLeft" /> 5642 <!-- Top optical inset. 5643 @hide Until optical insets are fully supported. --> 5644 <attr name="opticalInsetTop" /> 5645 <!-- Right optical inset. 5646 @hide Until optical insets are fully supported. --> 5647 <attr name="opticalInsetRight" /> 5648 <!-- Bottom optical inset. 5649 @hide Until optical insets are fully supported. --> 5650 <attr name="opticalInsetBottom" /> 5651 </declare-styleable> 5652 5653 <!-- Used to specify the size of the shape for GradientDrawable. --> 5654 <declare-styleable name="GradientDrawableSize"> 5655 <!-- Width of the gradient shape. --> 5656 <attr name="width" /> 5657 <!-- Height of the gradient shape. --> 5658 <attr name="height" /> 5659 </declare-styleable> 5660 5661 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5662 <declare-styleable name="GradientDrawableGradient"> 5663 <!-- Start color of the gradient. --> 5664 <attr name="startColor" format="color" /> 5665 <!-- Optional center color. For linear gradients, use centerX or centerY to place the center 5666 color. --> 5667 <attr name="centerColor" format="color" /> 5668 <!-- End color of the gradient. --> 5669 <attr name="endColor" format="color" /> 5670 <!-- Whether the drawable level value (see 5671 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient. 5672 Scaling behavior varies based on gradient type. For "linear", adjusts the ending 5673 position along the gradient's axis of orientation. For "radial", adjusts the outer 5674 radius. For "sweep", adjusts the ending angle. The default value is false. --> 5675 <attr name="useLevel" format="boolean" /> 5676 <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the 5677 range [0, 315]. --> 5678 <attr name="angle" format="float" /> 5679 <!-- Type of gradient. The default type is linear. --> 5680 <attr name="type"> 5681 <!-- Linear gradient extending across the center point. --> 5682 <enum name="linear" value="0" /> 5683 <!-- Radial gradient extending from the center point outward. --> 5684 <enum name="radial" value="1" /> 5685 <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. --> 5686 <enum name="sweep" value="2" /> 5687 </attr> 5688 <!-- X-position of the center point of the gradient within the shape as a fraction of the 5689 width. The default value is 0.5. --> 5690 <attr name="centerX" format="float|fraction" /> 5691 <!-- Y-position of the center point of the gradient within the shape as a fraction of the 5692 height. The default value is 0.5. --> 5693 <attr name="centerY" format="float|fraction" /> 5694 <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension 5695 or a fractional value relative to the shape's minimum dimension. --> 5696 <attr name="gradientRadius" format="float|fraction|dimension" /> 5697 </declare-styleable> 5698 5699 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5700 <declare-styleable name="GradientDrawableSolid"> 5701 <!-- Solid color for the gradient shape. --> 5702 <attr name="color" format="color" /> 5703 </declare-styleable> 5704 5705 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5706 <declare-styleable name="GradientDrawableStroke"> 5707 <!-- Width of the gradient shape's stroke. --> 5708 <attr name="width" /> 5709 <!-- Color of the gradient shape's stroke. --> 5710 <attr name="color" /> 5711 <!-- Length of a dash in the stroke. --> 5712 <attr name="dashWidth" format="dimension" /> 5713 <!-- Gap between dashes in the stroke. --> 5714 <attr name="dashGap" format="dimension" /> 5715 </declare-styleable> 5716 5717 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5718 This can be used to render rounded corners. --> 5719 <declare-styleable name="DrawableCorners"> 5720 <!-- Defines the radius of the four corners. --> 5721 <attr name="radius" format="dimension" /> 5722 <!-- Radius of the top left corner. --> 5723 <attr name="topLeftRadius" format="dimension" /> 5724 <!-- Radius of the top right corner. --> 5725 <attr name="topRightRadius" format="dimension" /> 5726 <!-- Radius of the bottom left corner. --> 5727 <attr name="bottomLeftRadius" format="dimension" /> 5728 <!-- Radius of the bottom right corner. --> 5729 <attr name="bottomRightRadius" format="dimension" /> 5730 </declare-styleable> 5731 5732 <!-- Used to specify the optional padding of a GradientDrawable. --> 5733 <declare-styleable name="GradientDrawablePadding"> 5734 <!-- Amount of left padding inside the gradient shape. --> 5735 <attr name="left" format="dimension" /> 5736 <!-- Amount of top padding inside the gradient shape. --> 5737 <attr name="top" format="dimension" /> 5738 <!-- Amount of right padding inside the gradient shape. --> 5739 <attr name="right" format="dimension" /> 5740 <!-- Amount of bottom padding inside the gradient shape. --> 5741 <attr name="bottom" format="dimension" /> 5742 </declare-styleable> 5743 5744 <!-- Drawable used to render several drawables stacked on top of each other. 5745 Each child drawable can be controlled individually. --> 5746 <declare-styleable name="LayerDrawable"> 5747 <!-- Indicates the opacity of the layer. This can be useful to allow the 5748 system to enable drawing optimizations. The default value is 5749 translucent. --> 5750 <attr name="opacity"> 5751 <!-- Indicates that the layer is opaque and contains no transparent 5752 nor translucent pixels. --> 5753 <enum name="opaque" value="-1" /> 5754 <!-- The layer is completely transparent (no pixel will be drawn). --> 5755 <enum name="transparent" value="-2" /> 5756 <!-- The layer has translucent pixels. --> 5757 <enum name="translucent" value="-3" /> 5758 </attr> 5759 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5760 RTL (right-to-left). --> 5761 <attr name="autoMirrored" /> 5762 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5763 The default padding mode value is nest. --> 5764 <attr name="paddingMode"> 5765 <!-- Nest each layer inside the padding of the previous layer. --> 5766 <enum name="nest" value="0" /> 5767 <!-- Stack each layer directly atop the previous layer. --> 5768 <enum name="stack" value="1" /> 5769 </attr> 5770 <!-- Explicit top padding. Overrides child padding. --> 5771 <attr name="paddingTop" /> 5772 <!-- Explicit bottom padding. Overrides child padding. --> 5773 <attr name="paddingBottom" /> 5774 <!-- Explicit left padding. Overrides child padding. --> 5775 <attr name="paddingLeft" /> 5776 <!-- Explicit right padding. Overrides child padding. --> 5777 <attr name="paddingRight" /> 5778 <!-- Explicit start padding. Overrides child padding. Takes precedence 5779 over absolute padding (for example, left when layout direction is LTR). --> 5780 <attr name="paddingStart" /> 5781 <!-- Explicit end padding. Overrides child padding. Takes precedence 5782 over absolute padding (for example, right when layout direction is LTR). --> 5783 <attr name="paddingEnd" /> 5784 </declare-styleable> 5785 5786 <!-- Describes an item (or child) of a LayerDrawable. --> 5787 <declare-styleable name="LayerDrawableItem"> 5788 <!-- Left inset to apply to the layer. --> 5789 <attr name="left" /> 5790 <!-- Top inset to apply to the layer. --> 5791 <attr name="top" /> 5792 <!-- Right inset to apply to the layer. --> 5793 <attr name="right" /> 5794 <!-- Bottom inset to apply to the layer. --> 5795 <attr name="bottom" /> 5796 <!-- Start inset to apply to the layer. Overrides {@code left} or 5797 {@code right} depending on layout direction. --> 5798 <attr name="start" format="dimension" /> 5799 <!-- End inset to apply to the layer. Overrides {@code left} or 5800 {@code right} depending on layout direction. --> 5801 <attr name="end" format="dimension" /> 5802 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5803 <attr name="width" /> 5804 <!-- Height of the layer. Defaults to the layer's intrinsic height. --> 5805 <attr name="height" /> 5806 <!-- Gravity used to align the layer within its container. If no value 5807 is specified, the default behavior depends on whether an explicit 5808 width or height has been set, If no dimension is set, gravity in 5809 that direction defaults to {@code fill_horizontal} or 5810 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5811 {@code top}. --> 5812 <attr name="gravity" /> 5813 <!-- Drawable used to render the layer. --> 5814 <attr name="drawable" /> 5815 <!-- Identifier of the layer. This can be used to retrieve the layer 5816 from a drawable container. --> 5817 <attr name="id" /> 5818 </declare-styleable> 5819 5820 <declare-styleable name="LevelListDrawableItem"> 5821 <!-- The minimum level allowed for this item. --> 5822 <attr name="minLevel" format="integer" /> 5823 <!-- The maximum level allowed for this item. --> 5824 <attr name="maxLevel" format="integer" /> 5825 <attr name="drawable" /> 5826 </declare-styleable> 5827 5828 <!-- Drawable used to rotate another drawable. --> 5829 <declare-styleable name="RotateDrawable"> 5830 <attr name="visible" /> 5831 <attr name="fromDegrees" format="float" /> 5832 <attr name="toDegrees" format="float" /> 5833 <attr name="pivotX" format="float|fraction" /> 5834 <attr name="pivotY" format="float|fraction" /> 5835 <attr name="drawable" /> 5836 </declare-styleable> 5837 5838 <declare-styleable name="AnimatedRotateDrawable"> 5839 <attr name="visible" /> 5840 <attr name="frameDuration" format="integer" /> 5841 <attr name="framesCount" format="integer" /> 5842 <attr name="pivotX" /> 5843 <attr name="pivotY" /> 5844 <attr name="drawable" /> 5845 </declare-styleable> 5846 5847 <!-- Drawable used to render the Material progress indicator. --> 5848 <declare-styleable name="MaterialProgressDrawable"> 5849 <attr name="visible" /> 5850 <attr name="thickness" /> 5851 <attr name="innerRadius" /> 5852 <attr name="width" /> 5853 <attr name="height" /> 5854 <attr name="color" /> 5855 </declare-styleable> 5856 5857 <!-- Drawable used to wrap and inset another drawable. --> 5858 <declare-styleable name="InsetDrawable"> 5859 <attr name="visible" /> 5860 <attr name="drawable" /> 5861 <attr name="inset" format="fraction|dimension"/> 5862 <attr name="insetLeft" format="fraction|dimension" /> 5863 <attr name="insetRight" format="fraction|dimension" /> 5864 <attr name="insetTop" format="fraction|dimension" /> 5865 <attr name="insetBottom" format="fraction|dimension" /> 5866 </declare-styleable> 5867 5868 <!-- Drawable used to draw bitmaps. --> 5869 <declare-styleable name="BitmapDrawable"> 5870 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5871 <attr name="src" /> 5872 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5873 edges of a bitmap when rotated. Default value is false. --> 5874 <attr name="antialias" format="boolean" /> 5875 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5876 shrunk or stretched to smooth its apperance. Default value is true. --> 5877 <attr name="filter" format="boolean" /> 5878 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5879 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5880 an RGB 565 screen). Default value is true. --> 5881 <attr name="dither" /> 5882 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5883 the drawable in its container if the bitmap is smaller than the container. --> 5884 <attr name="gravity" /> 5885 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5886 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5887 <attr name="tileMode"> 5888 <!-- Do not tile the bitmap. This is the default value. --> 5889 <enum name="disabled" value="-1" /> 5890 <!-- Replicates the edge color. --> 5891 <enum name="clamp" value="0" /> 5892 <!-- Repeats the bitmap in both direction. --> 5893 <enum name="repeat" value="1" /> 5894 <!-- Repeats the shader's image horizontally and vertically, alternating 5895 mirror images so that adjacent images always seam. --> 5896 <enum name="mirror" value="2" /> 5897 </attr> 5898 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5899 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5900 <attr name="tileModeX"> 5901 <!-- Do not tile the bitmap. This is the default value. --> 5902 <enum name="disabled" value="-1" /> 5903 <!-- Replicates the edge color. --> 5904 <enum name="clamp" value="0" /> 5905 <!-- Repeats the bitmap horizontally. --> 5906 <enum name="repeat" value="1" /> 5907 <!-- Repeats the shader's image horizontally, alternating 5908 mirror images so that adjacent images always seam. --> 5909 <enum name="mirror" value="2" /> 5910 </attr> 5911 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5912 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5913 <attr name="tileModeY"> 5914 <!-- Do not tile the bitmap. This is the default value. --> 5915 <enum name="disabled" value="-1" /> 5916 <!-- Replicates the edge color. --> 5917 <enum name="clamp" value="0" /> 5918 <!-- Repeats the bitmap vertically. --> 5919 <enum name="repeat" value="1" /> 5920 <!-- Repeats the shader's image vertically, alternating 5921 mirror images so that adjacent images always seam. --> 5922 <enum name="mirror" value="2" /> 5923 </attr> 5924 <!-- Enables or disables the mipmap hint. See 5925 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5926 Default value is false. --> 5927 <attr name="mipMap" format="boolean" /> 5928 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5929 RTL (right-to-left). --> 5930 <attr name="autoMirrored" /> 5931 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5932 no tint is applied. May be a color state list. --> 5933 <attr name="tint" /> 5934 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5935 default value is src_in, which treats the drawable as an alpha mask. --> 5936 <attr name="tintMode"> 5937 <!-- The tint is drawn on top of the drawable. 5938 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5939 <enum name="src_over" value="3" /> 5940 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5941 color channels are thrown out. [Sa * Da, Sc * Da] --> 5942 <enum name="src_in" value="5" /> 5943 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5944 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5945 <enum name="src_atop" value="9" /> 5946 <!-- Multiplies the color and alpha channels of the drawable with those of 5947 the tint. [Sa * Da, Sc * Dc] --> 5948 <enum name="multiply" value="14" /> 5949 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5950 <enum name="screen" value="15" /> 5951 <!-- Combines the tint and drawable color and alpha channels, clamping the 5952 result to valid color values. Saturate(S + D) --> 5953 <enum name="add" value="16" /> 5954 </attr> 5955 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5956 <attr name="alpha" /> 5957 </declare-styleable> 5958 5959 <!-- Drawable used to draw 9-patches. --> 5960 <declare-styleable name="NinePatchDrawable"> 5961 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5962 <attr name="src" /> 5963 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5964 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5965 an RGB 565 screen). --> 5966 <attr name="dither" /> 5967 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5968 RTL (right-to-left). --> 5969 <attr name="autoMirrored" /> 5970 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5971 no tint is applied. May be a color state list. --> 5972 <attr name="tint" /> 5973 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5974 default value is src_in, which treats the drawable as an alpha mask. --> 5975 <attr name="tintMode" /> 5976 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5977 <attr name="alpha" /> 5978 </declare-styleable> 5979 5980 <!-- Drawable used to draw a single color. --> 5981 <declare-styleable name="ColorDrawable"> 5982 <!-- The color to use. --> 5983 <attr name="color" /> 5984 </declare-styleable> 5985 5986 <!-- Drawable used to draw adaptive icons with foreground and background layers. --> 5987 <declare-styleable name="AdaptiveIconDrawableLayer"> 5988 <!-- The drawable to use for the layer. --> 5989 <attr name="drawable" /> 5990 </declare-styleable> 5991 5992 <!-- Drawable used to show animated touch feedback. --> 5993 <declare-styleable name="RippleDrawable"> 5994 <!-- The color to use for ripple effects. This attribute is required. --> 5995 <attr name="color" /> 5996 <!-- The radius of the ripple when fully expanded. By default, the 5997 radius is computed based on the size of the ripple's container. --> 5998 <attr name="radius" /> 5999 </declare-styleable> 6000 6001 <declare-styleable name="ScaleDrawable"> 6002 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 6003 format is XX%. For instance: 100%, 12.5%, etc.--> 6004 <attr name="scaleWidth" format="string" /> 6005 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 6006 format is XX%. For instance: 100%, 12.5%, etc.--> 6007 <attr name="scaleHeight" format="string" /> 6008 <!-- Specifies where the drawable is positioned after scaling. The default value is 6009 left. --> 6010 <attr name="scaleGravity"> 6011 <!-- Push object to the top of its container, not changing its size. --> 6012 <flag name="top" value="0x30" /> 6013 <!-- Push object to the bottom of its container, not changing its size. --> 6014 <flag name="bottom" value="0x50" /> 6015 <!-- Push object to the left of its container, not changing its size. --> 6016 <flag name="left" value="0x03" /> 6017 <!-- Push object to the right of its container, not changing its size. --> 6018 <flag name="right" value="0x05" /> 6019 <!-- Place object in the vertical center of its container, not changing its size. --> 6020 <flag name="center_vertical" value="0x10" /> 6021 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 6022 <flag name="fill_vertical" value="0x70" /> 6023 <!-- Place object in the horizontal center of its container, not changing its size. --> 6024 <flag name="center_horizontal" value="0x01" /> 6025 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 6026 <flag name="fill_horizontal" value="0x07" /> 6027 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 6028 <flag name="center" value="0x11" /> 6029 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 6030 <flag name="fill" value="0x77" /> 6031 <!-- Additional option that can be set to have the top and/or bottom edges of 6032 the child clipped to its container's bounds. 6033 The clip will be based on the vertical gravity: a top gravity will clip the bottom 6034 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 6035 <flag name="clip_vertical" value="0x80" /> 6036 <!-- Additional option that can be set to have the left and/or right edges of 6037 the child clipped to its container's bounds. 6038 The clip will be based on the horizontal gravity: a left gravity will clip the right 6039 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 6040 <flag name="clip_horizontal" value="0x08" /> 6041 <!-- Push object to the beginning of its container, not changing its size. --> 6042 <flag name="start" value="0x00800003" /> 6043 <!-- Push object to the end of its container, not changing its size. --> 6044 <flag name="end" value="0x00800005" /> 6045 </attr> 6046 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 6047 <attr name="level" format="integer" /> 6048 <!-- Reference to a drawable resource to draw with the specified scale. --> 6049 <attr name="drawable" /> 6050 <!-- Use the drawable's intrinsic width and height as minimum size values. 6051 Useful if the target drawable is a 9-patch or otherwise should not be scaled 6052 down beyond a minimum size. --> 6053 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 6054 </declare-styleable> 6055 6056 <declare-styleable name="ClipDrawable"> 6057 <!-- The orientation for the clip. --> 6058 <attr name="clipOrientation"> 6059 <!-- Clip the drawable horizontally. --> 6060 <flag name="horizontal" value="1" /> 6061 <!-- Clip the drawable vertically. --> 6062 <flag name="vertical" value="2" /> 6063 </attr> 6064 <!-- Specifies where to clip within the drawable. The default value is 6065 left. --> 6066 <attr name="gravity" /> 6067 <!-- Reference to a drawable resource to draw with the specified scale. --> 6068 <attr name="drawable" /> 6069 </declare-styleable> 6070 6071 <!-- Defines the padding of a ShapeDrawable. --> 6072 <declare-styleable name="ShapeDrawablePadding"> 6073 <!-- Left padding. --> 6074 <attr name="left" /> 6075 <!-- Top padding. --> 6076 <attr name="top" /> 6077 <!-- Right padding. --> 6078 <attr name="right" /> 6079 <!-- Bottom padding. --> 6080 <attr name="bottom" /> 6081 </declare-styleable> 6082 6083 <!-- Drawable used to draw shapes. --> 6084 <declare-styleable name="ShapeDrawable"> 6085 <!-- Defines the color of the shape. --> 6086 <attr name="color" /> 6087 <!-- Defines the width of the shape. --> 6088 <attr name="width" /> 6089 <!-- Defines the height of the shape. --> 6090 <attr name="height" /> 6091 <!-- Enables or disables dithering. --> 6092 <attr name="dither" /> 6093 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6094 no tint is applied. May be a color state list. --> 6095 <attr name="tint" /> 6096 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6097 default value is src_in, which treats the drawable as an alpha mask. --> 6098 <attr name="tintMode" /> 6099 </declare-styleable> 6100 6101 <!-- ========================== --> 6102 <!-- VectorDrawable class --> 6103 <!-- ========================== --> 6104 <eat-comment /> 6105 6106 <!-- Drawable used to draw vector paths. --> 6107 <declare-styleable name="VectorDrawable"> 6108 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6109 no tint is applied. May be a color state list. --> 6110 <attr name="tint" /> 6111 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6112 default value is src_in, which treats the drawable as an alpha mask. --> 6113 <attr name="tintMode" /> 6114 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6115 RTL (right-to-left). --> 6116 <attr name="autoMirrored" /> 6117 <!-- The intrinsic width of the Vector Drawable. --> 6118 <attr name="width" /> 6119 <!-- The intrinsic height of the Vector Drawable. --> 6120 <attr name="height" /> 6121 <!-- The width of the canvas the drawing is on. --> 6122 <attr name="viewportWidth" format="float"/> 6123 <!-- The height of the canvas the drawing is on. --> 6124 <attr name="viewportHeight" format="float"/> 6125 <!-- The name of this vector drawable. --> 6126 <attr name="name" /> 6127 <!-- The opacity of the whole vector drawable, as a value between 0 6128 (completely transparent) and 1 (completely opaque). --> 6129 <attr name="alpha" /> 6130 <!-- Left optical inset. 6131 @hide Until optical insets are fully supported. --> 6132 <attr name="opticalInsetLeft" format="dimension" /> 6133 <!-- Top optical inset. 6134 @hide Until optical insets are fully supported. --> 6135 <attr name="opticalInsetTop" format="dimension" /> 6136 <!-- Right optical inset. 6137 @hide Until optical insets are fully supported. --> 6138 <attr name="opticalInsetRight" format="dimension" /> 6139 <!-- Bottom optical inset. 6140 @hide Until optical insets are fully supported. --> 6141 <attr name="opticalInsetBottom" format="dimension" /> 6142 </declare-styleable> 6143 6144 <!-- Defines the group used in VectorDrawables. --> 6145 <declare-styleable name="VectorDrawableGroup"> 6146 <!-- The name of this group. --> 6147 <attr name="name" /> 6148 <!-- The amount to rotate the group. --> 6149 <attr name="rotation" /> 6150 <!-- The X coordinate of the center of rotation of a group. --> 6151 <attr name="pivotX" /> 6152 <!-- The Y coordinate of the center of rotation of a group. --> 6153 <attr name="pivotY" /> 6154 <!-- The amount to translate the group on X coordinate. --> 6155 <attr name="translateX" format="float"/> 6156 <!-- The amount to translate the group on Y coordinate. --> 6157 <attr name="translateY" format="float"/> 6158 <!-- The amount to scale the group on X coordinate. --> 6159 <attr name="scaleX" /> 6160 <!-- The amount to scale the group on X coordinate. --> 6161 <attr name="scaleY" /> 6162 </declare-styleable> 6163 6164 <!-- Defines the path used in VectorDrawables. --> 6165 <declare-styleable name="VectorDrawablePath"> 6166 <!-- The name of this path. --> 6167 <attr name="name" /> 6168 <!-- The width a path stroke. --> 6169 <attr name="strokeWidth" format="float" /> 6170 <!-- The color to stroke the path if not defined implies no stroke. --> 6171 <attr name="strokeColor" format="color" /> 6172 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 6173 and 1 (completely opaque). --> 6174 <attr name="strokeAlpha" format="float" /> 6175 <!-- The color to fill the path if not defined implies no fill. --> 6176 <attr name="fillColor" format="color" /> 6177 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 6178 and 1 (completely opaque). --> 6179 <attr name="fillAlpha" format="float" /> 6180 <!-- The specification of the operations that define the path. --> 6181 <attr name="pathData" format="string" /> 6182 <!-- The fraction of the path to trim from the start from 0 to 1. --> 6183 <attr name="trimPathStart" format="float" /> 6184 <!-- The fraction of the path to trim from the end from 0 to 1 . --> 6185 <attr name="trimPathEnd" format="float" /> 6186 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. --> 6187 <attr name="trimPathOffset" format="float" /> 6188 <!-- sets the linecap for a stroked path. --> 6189 <attr name="strokeLineCap" format="enum"> 6190 <enum name="butt" value="0"/> 6191 <enum name="round" value="1"/> 6192 <enum name="square" value="2"/> 6193 </attr> 6194 <!-- sets the lineJoin for a stroked path. --> 6195 <attr name="strokeLineJoin" format="enum"> 6196 <enum name="miter" value="0"/> 6197 <enum name="round" value="1"/> 6198 <enum name="bevel" value="2"/> 6199 </attr> 6200 <!-- sets the Miter limit for a stroked path. --> 6201 <attr name="strokeMiterLimit" format="float"/> 6202 <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties. 6203 For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. --> 6204 <attr name="fillType" format="enum"> 6205 <enum name="nonZero" value="0"/> 6206 <enum name="evenOdd" value="1"/> 6207 </attr> 6208 </declare-styleable> 6209 6210 <!-- Defines the clip path used in VectorDrawables. --> 6211 <declare-styleable name="VectorDrawableClipPath"> 6212 <!-- The Name of this path. --> 6213 <attr name="name" /> 6214 <!-- The specification of the operations that define the path. --> 6215 <attr name="pathData"/> 6216 </declare-styleable> 6217 6218 <!-- ========================== --> 6219 <!-- AnimatedVectorDrawable class --> 6220 <!-- ========================== --> 6221 <eat-comment /> 6222 6223 <!-- Define the AnimatedVectorDrawable. --> 6224 <declare-styleable name="AnimatedVectorDrawable"> 6225 <!-- The static vector drawable. --> 6226 <attr name="drawable" /> 6227 </declare-styleable> 6228 6229 <!-- Defines the target used in the AnimatedVectorDrawable. --> 6230 <declare-styleable name="AnimatedVectorDrawableTarget"> 6231 <!-- The name of the target path, group or vector drawable. --> 6232 <attr name="name" /> 6233 <!-- The animation for the target path, group or vector drawable. --> 6234 <attr name="animation" /> 6235 </declare-styleable> 6236 6237 <!-- ========================== --> 6238 <!-- Animation class attributes --> 6239 <!-- ========================== --> 6240 <eat-comment /> 6241 6242 <declare-styleable name="Animation"> 6243 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6244 <attr name="interpolator" /> 6245 <!-- When set to true, the value of fillBefore is taken into account. --> 6246 <attr name="fillEnabled" format="boolean" /> 6247 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 6248 is applied before the animation has started. The default value is true. --> 6249 <attr name="fillBefore" format="boolean" /> 6250 <!-- When set to true, the animation transformation is applied after the animation is 6251 over. The default value is false. If fillEnabled is not set to true and the 6252 animation is not set on a View, fillAfter is assumed to be true.--> 6253 <attr name="fillAfter" format="boolean" /> 6254 <!-- Amount of time (in milliseconds) for the animation to run. --> 6255 <attr name="duration" /> 6256 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6257 <attr name="startOffset" format="integer" /> 6258 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6259 <attr name="repeatCount" format="integer"> 6260 <enum name="infinite" value="-1" /> 6261 </attr> 6262 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6263 greater than 0 or infinite. The default value is restart. --> 6264 <attr name="repeatMode"> 6265 <!-- The animation starts again from the beginning. --> 6266 <enum name="restart" value="1" /> 6267 <!-- The animation plays backward. --> 6268 <enum name="reverse" value="2" /> 6269 </attr> 6270 <!-- Allows for an adjustment of the Z ordering of the content being 6271 animated for the duration of the animation. The default value is normal. --> 6272 <attr name="zAdjustment"> 6273 <!-- The content being animated be kept in its current Z order. --> 6274 <enum name="normal" value="0" /> 6275 <!-- The content being animated is forced on top of all other 6276 content for the duration of the animation. --> 6277 <enum name="top" value="1" /> 6278 <!-- The content being animated is forced under all other 6279 content for the duration of the animation. --> 6280 <enum name="bottom" value="-1" /> 6281 </attr> 6282 <!-- Special background behind animation. Only for use with window 6283 animations. Can only be a color, and only black. If 0, the 6284 default, there is no background. --> 6285 <attr name="background" /> 6286 <!-- Special option for window animations: if this window is on top 6287 of a wallpaper, don't animate the wallpaper with it. --> 6288 <attr name="detachWallpaper" format="boolean" /> 6289 </declare-styleable> 6290 6291 <declare-styleable name="AnimationSet"> 6292 <attr name="shareInterpolator" format="boolean" /> 6293 <attr name="fillBefore" /> 6294 <attr name="fillAfter" /> 6295 <attr name="duration" /> 6296 <attr name="startOffset" /> 6297 <attr name="repeatMode" /> 6298 </declare-styleable> 6299 6300 <declare-styleable name="RotateAnimation"> 6301 <attr name="fromDegrees" /> 6302 <attr name="toDegrees" /> 6303 <attr name="pivotX" /> 6304 <attr name="pivotY" /> 6305 </declare-styleable> 6306 6307 <declare-styleable name="ScaleAnimation"> 6308 <attr name="fromXScale" format="float|fraction|dimension" /> 6309 <attr name="toXScale" format="float|fraction|dimension" /> 6310 <attr name="fromYScale" format="float|fraction|dimension" /> 6311 <attr name="toYScale" format="float|fraction|dimension" /> 6312 <attr name="pivotX" /> 6313 <attr name="pivotY" /> 6314 </declare-styleable> 6315 6316 <declare-styleable name="TranslateAnimation"> 6317 <attr name="fromXDelta" format="float|fraction" /> 6318 <attr name="toXDelta" format="float|fraction" /> 6319 <attr name="fromYDelta" format="float|fraction" /> 6320 <attr name="toYDelta" format="float|fraction" /> 6321 </declare-styleable> 6322 6323 <declare-styleable name="AlphaAnimation"> 6324 <attr name="fromAlpha" format="float" /> 6325 <attr name="toAlpha" format="float" /> 6326 </declare-styleable> 6327 6328 <declare-styleable name="LayoutAnimation"> 6329 <!-- Fraction of the animation duration used to delay the beginning of 6330 the animation of each child. --> 6331 <attr name="delay" format="float|fraction" /> 6332 <!-- Animation to use on each child. --> 6333 <attr name="animation" format="reference" /> 6334 <!-- The order in which the animations will be started. --> 6335 <attr name="animationOrder"> 6336 <!-- Animations are started in the natural order. --> 6337 <enum name="normal" value="0" /> 6338 <!-- Animations are started in the reverse order. --> 6339 <enum name="reverse" value="1" /> 6340 <!-- Animations are started randomly. --> 6341 <enum name="random" value="2" /> 6342 </attr> 6343 <!-- Interpolator used to interpolate the delay between the start of 6344 each animation. --> 6345 <attr name="interpolator" /> 6346 </declare-styleable> 6347 6348 <declare-styleable name="GridLayoutAnimation"> 6349 <!-- Fraction of the animation duration used to delay the beginning of 6350 the animation of each column. --> 6351 <attr name="columnDelay" format="float|fraction" /> 6352 <!-- Fraction of the animation duration used to delay the beginning of 6353 the animation of each row. --> 6354 <attr name="rowDelay" format="float|fraction" /> 6355 <!-- Direction of the animation in the grid. --> 6356 <attr name="direction"> 6357 <!-- Animates columns from left to right. --> 6358 <flag name="left_to_right" value="0x0" /> 6359 <!-- Animates columns from right to left. --> 6360 <flag name="right_to_left" value="0x1" /> 6361 <!-- Animates rows from top to bottom. --> 6362 <flag name="top_to_bottom" value="0x0" /> 6363 <!-- Animates rows from bottom to top. --> 6364 <flag name="bottom_to_top" value="0x2" /> 6365 </attr> 6366 <!-- Priority of the rows and columns. When the priority is none, 6367 both rows and columns have the same priority. When the priority is 6368 column, the animations will be applied on the columns first. The same 6369 goes for rows. --> 6370 <attr name="directionPriority"> 6371 <!-- Rows and columns are animated at the same time. --> 6372 <enum name="none" value="0" /> 6373 <!-- Columns are animated first. --> 6374 <enum name="column" value="1" /> 6375 <!-- Rows are animated first. --> 6376 <enum name="row" value="2" /> 6377 </attr> 6378 </declare-styleable> 6379 6380 <declare-styleable name="AccelerateInterpolator"> 6381 <!-- This is the amount of deceleration to add when easing in. --> 6382 <attr name="factor" format="float" /> 6383 </declare-styleable> 6384 6385 <declare-styleable name="DecelerateInterpolator"> 6386 <!-- This is the amount of acceleration to add when easing out. --> 6387 <attr name="factor" /> 6388 </declare-styleable> 6389 6390 <declare-styleable name="CycleInterpolator"> 6391 <attr name="cycles" format="float" /> 6392 </declare-styleable> 6393 6394 <declare-styleable name="AnticipateInterpolator"> 6395 <!-- This is the amount of tension. --> 6396 <attr name="tension" format="float" /> 6397 </declare-styleable> 6398 6399 <declare-styleable name="OvershootInterpolator"> 6400 <!-- This is the amount of tension. --> 6401 <attr name="tension" /> 6402 </declare-styleable> 6403 6404 <declare-styleable name="AnticipateOvershootInterpolator"> 6405 <!-- This is the amount of tension. --> 6406 <attr name="tension" /> 6407 <!-- This is the amount by which to multiply the tension. --> 6408 <attr name="extraTension" format="float" /> 6409 </declare-styleable> 6410 6411 <declare-styleable name="PathInterpolator"> 6412 <!-- The x coordinate of the first control point of the cubic Bezier. --> 6413 <attr name="controlX1" format="float" /> 6414 <!-- The y coordinate of the first control point of the cubic Bezier. --> 6415 <attr name="controlY1" format="float" /> 6416 <!-- The x coordinate of the second control point of the cubic Bezier. --> 6417 <attr name="controlX2" format="float" /> 6418 <!-- The y coordinate of the second control point of the cubic Bezier. --> 6419 <attr name="controlY2" format="float" /> 6420 <!-- The control points defined as a path. 6421 When pathData is defined, then both of the control points of the 6422 cubic Bezier will be ignored. --> 6423 <attr name="pathData"/> 6424 </declare-styleable> 6425 6426 <!-- ========================== --> 6427 <!-- Transition attributes --> 6428 <!-- ========================== --> 6429 <eat-comment /> 6430 6431 <!-- Use specific transition subclass names as the root tag of the XML resource that 6432 describes a {@link android.transition.Transition Transition}, 6433 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 6434 <declare-styleable name="Transition"> 6435 <!-- Amount of time (in milliseconds) that the transition should run. --> 6436 <attr name="duration" /> 6437 <!-- Delay in milliseconds before the transition starts. --> 6438 <attr name="startDelay" format="integer" /> 6439 <!-- Interpolator to be used in the animations spawned by this transition. --> 6440 <attr name="interpolator" /> 6441 <!-- The match order to use for the transition. This is a comma-separated 6442 list of values, containing one or more of the following: 6443 id, itemId, name, instance. These correspond to 6444 {@link android.transition.Transition#MATCH_ID}, 6445 {@link android.transition.Transition#MATCH_ITEM_ID}, 6446 {@link android.transition.Transition#MATCH_NAME}, and 6447 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 6448 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 6449 <attr name="matchOrder" format="string" /> 6450 </declare-styleable> 6451 6452 <!-- @hide For internal use only. Use only as directed. --> 6453 <declare-styleable name="EpicenterTranslateClipReveal"> 6454 <attr name="interpolatorX" format="reference" /> 6455 <attr name="interpolatorY" format="reference" /> 6456 <attr name="interpolatorZ" format="reference" /> 6457 </declare-styleable> 6458 6459 <!-- Use <code>fade</code>as the root tag of the XML resource that 6460 describes a {@link android.transition.Fade Fade} transition. 6461 The attributes of the {@link android.R.styleable#Transition Transition} 6462 resource are available in addition to the specific attributes of Fade 6463 described here. --> 6464 <declare-styleable name="Fade"> 6465 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 6466 with the Fade transition. --> 6467 <attr name="fadingMode"> 6468 <!-- Fade will only fade appearing items in. --> 6469 <enum name="fade_in" value="1" /> 6470 <!-- Fade will only fade disappearing items out. --> 6471 <enum name="fade_out" value="2" /> 6472 <!-- Fade will fade appearing items in and disappearing items out. --> 6473 <enum name="fade_in_out" value="3" /> 6474 </attr> 6475 </declare-styleable> 6476 6477 <!-- Use <code>slide</code>as the root tag of the XML resource that 6478 describes a {@link android.transition.Slide Slide} transition. 6479 The attributes of the {@link android.R.styleable#Transition Transition} 6480 resource are available in addition to the specific attributes of Slide 6481 described here. --> 6482 <declare-styleable name="Slide"> 6483 <attr name="slideEdge"> 6484 <!-- Slide to and from the left edge of the Scene. --> 6485 <enum name="left" value="0x03" /> 6486 <!-- Slide to and from the top edge of the Scene. --> 6487 <enum name="top" value="0x30" /> 6488 <!-- Slide to and from the right edge of the Scene. --> 6489 <enum name="right" value="0x05" /> 6490 <!-- Slide to and from the bottom edge of the Scene. --> 6491 <enum name="bottom" value="0x50" /> 6492 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6493 <enum name="start" value="0x00800003"/> 6494 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6495 <enum name="end" value="0x00800005"/> 6496 </attr> 6497 </declare-styleable> 6498 6499 <!-- Use with {@link android.transition.Visibility} transitions, such as 6500 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6501 views are supported. --> 6502 <declare-styleable name="VisibilityTransition"> 6503 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6504 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6505 <attr name="transitionVisibilityMode"> 6506 <!-- Only appearing Views will be supported. --> 6507 <flag name="mode_in" value="1" /> 6508 <!-- Only disappearing Views will be supported. --> 6509 <flag name="mode_out" value="2" /> 6510 </attr> 6511 </declare-styleable> 6512 <!-- Use <code>target</code> as the root tag of the XML resource that 6513 describes a {@link android.transition.Transition#addTarget(int) 6514 targetId} of a transition. There can be one or more targets inside 6515 a <code>targets</code> tag, which is itself inside an appropriate 6516 {@link android.R.styleable#Transition Transition} tag. 6517 --> 6518 <declare-styleable name="TransitionTarget"> 6519 <!-- The id of a target on which this transition will animate changes. --> 6520 <attr name="targetId" format="reference" /> 6521 <!-- The id of a target to exclude from this transition. --> 6522 <attr name="excludeId" format="reference" /> 6523 <!-- The fully-qualified name of the Class to include in this transition. --> 6524 <attr name="targetClass" /> 6525 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6526 <attr name="excludeClass" format="string" /> 6527 <!-- The transitionName of the target on which this transition will animation changes. --> 6528 <attr name="targetName" format="string" /> 6529 <!-- The transitionName of the target to exclude from this transition. --> 6530 <attr name="excludeName" format="string" /> 6531 </declare-styleable> 6532 6533 <!-- Use <code>set</code> as the root tag of the XML resource that 6534 describes a {@link android.transition.TransitionSet 6535 TransitionSet} transition. --> 6536 <declare-styleable name="TransitionSet"> 6537 <attr name="transitionOrdering"> 6538 <!-- child transitions should be played together. --> 6539 <enum name="together" value="0" /> 6540 <!-- child transitions should be played sequentially, in the same order 6541 as the xml. --> 6542 <enum name="sequential" value="1" /> 6543 </attr> 6544 </declare-styleable> 6545 6546 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6547 describes a {@link android.transition.ChangeTransform} transition. --> 6548 <declare-styleable name="ChangeTransform"> 6549 <!-- A parent change should use an overlay or affect the transform of the 6550 transitionining View. Default is true. Corresponds to 6551 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6552 <attr name="reparentWithOverlay" format="boolean"/> 6553 6554 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6555 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6556 <attr name="reparent" format="boolean"/> 6557 </declare-styleable> 6558 6559 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6560 describes a {@link android.transition.ChangeBounds} transition. 6561 The attributes of the {@link android.R.styleable#Transition Transition} 6562 resource are available in addition to the specific attributes of ChangeBounds 6563 described here. --> 6564 <declare-styleable name="ChangeBounds"> 6565 <!-- Resize the view by adjusting the clipBounds rather than changing the 6566 dimensions of the view itself. The default value is false. --> 6567 <attr name="resizeClip" format="boolean"/> 6568 </declare-styleable> 6569 6570 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6571 describes a {@link android.transition.TransitionManager 6572 TransitionManager}. --> 6573 <declare-styleable name="TransitionManager"> 6574 <!-- The id of a transition to be used in a particular scene change. --> 6575 <attr name="transition" format="reference" /> 6576 <!-- The originating scene in this scene change. --> 6577 <attr name="fromScene" format="reference" /> 6578 <!-- The destination scene in this scene change. --> 6579 <attr name="toScene" format="reference" /> 6580 </declare-styleable> 6581 6582 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6583 describes a {@link android.transition.ArcMotion}. This must be used 6584 within a transition with which the PathMotion should be associated. --> 6585 <declare-styleable name="ArcMotion"> 6586 <!-- The minimum arc angle in degrees between the start and end points when 6587 they are close to horizontal. --> 6588 <attr name="minimumHorizontalAngle" format="float" /> 6589 <!-- The minimum arc angle in degrees between the start and end points when 6590 they are close to vertical. --> 6591 <attr name="minimumVerticalAngle" format="float" /> 6592 <!-- The maximum arc angle in degrees between the start and end points. --> 6593 <attr name="maximumAngle" format="float" /> 6594 </declare-styleable> 6595 6596 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6597 describes a {@link android.transition.PatternPathMotion}. This must be used 6598 within a transition with which the PathMotion should be associated. --> 6599 <declare-styleable name="PatternPathMotion"> 6600 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6601 <attr name="patternPathData" format="string" /> 6602 </declare-styleable> 6603 6604 <!-- ========================== --> 6605 <!-- ValueAnimator class attributes --> 6606 <!-- ========================== --> 6607 <eat-comment /> 6608 6609 <declare-styleable name="Animator"> 6610 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6611 <attr name="interpolator" /> 6612 <!-- Amount of time (in milliseconds) for the animation to run. --> 6613 <attr name="duration" /> 6614 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6615 <attr name="startOffset"/> 6616 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6617 <attr name="repeatCount"/> 6618 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6619 greater than 0 or infinite. The default value is restart. --> 6620 <attr name="repeatMode"/> 6621 <!-- Value the animation starts from. --> 6622 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6623 <!-- Value the animation animates to. --> 6624 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6625 <!-- The type of valueFrom and valueTo. --> 6626 <attr name="valueType"> 6627 <!-- The given values are floats. This is the default value if valueType is 6628 unspecified. Note that if any value attribute has a color value 6629 (beginning with "#"), then this attribute is ignored and the color values are 6630 interpreted as integers. --> 6631 <enum name="floatType" value="0" /> 6632 <!-- values are integers. --> 6633 <enum name="intType" value="1" /> 6634 <!-- values are paths defined as strings. 6635 This type is used for path morphing in AnimatedVectorDrawable. --> 6636 <enum name="pathType" value="2" /> 6637 <!-- values are colors, which are integers starting with "#". --> 6638 <enum name="colorType" value="3" /> 6639 </attr> 6640 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6641 <attr name="removeBeforeMRelease" format="integer" /> 6642 </declare-styleable> 6643 6644 <declare-styleable name="PropertyValuesHolder"> 6645 <attr name="valueType" /> 6646 <attr name="propertyName" /> 6647 <attr name="valueFrom" /> 6648 <attr name="valueTo" /> 6649 </declare-styleable> 6650 6651 <declare-styleable name="Keyframe"> 6652 <attr name="valueType" /> 6653 <attr name="value" /> 6654 <attr name="fraction" format="float" /> 6655 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6656 to interpolate between this keyframe and the previous keyframe. --> 6657 <attr name="interpolator" /> 6658 </declare-styleable> 6659 6660 <!-- ========================== --> 6661 <!-- ObjectAnimator class attributes --> 6662 <!-- ========================== --> 6663 <eat-comment /> 6664 6665 <declare-styleable name="PropertyAnimator"> 6666 <!-- Name of the property being animated. --> 6667 <attr name="propertyName" format="string"/> 6668 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6669 <attr name="propertyXName" format="string"/> 6670 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6671 <attr name="propertyYName" format="string"/> 6672 <!-- The path used to animate the properties in the ObjectAnimator. --> 6673 <attr name="pathData"/> 6674 </declare-styleable> 6675 6676 6677 <!-- ========================== --> 6678 <!-- AnimatorSet class attributes --> 6679 <!-- ========================== --> 6680 <eat-comment /> 6681 6682 <declare-styleable name="AnimatorSet"> 6683 <!-- Name of the property being animated. --> 6684 <attr name="ordering"> 6685 <!-- child animations should be played together. --> 6686 <enum name="together" value="0" /> 6687 <!-- child animations should be played sequentially, in the same order as the xml. --> 6688 <enum name="sequentially" value="1" /> 6689 </attr> 6690 </declare-styleable> 6691 6692 <!-- ========================== --> 6693 <!-- State attributes --> 6694 <!-- ========================== --> 6695 <eat-comment /> 6696 6697 <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of 6698 states may vary between view implementations, as documented on the individual state 6699 attributes. --> 6700 <declare-styleable name="DrawableStates"> 6701 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6702 set when a view has input focus. --> 6703 <attr name="state_focused" format="boolean" /> 6704 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6705 set when a view's window has input focus. --> 6706 <attr name="state_window_focused" format="boolean" /> 6707 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6708 set when a view is enabled. --> 6709 <attr name="state_enabled" format="boolean" /> 6710 <!-- State identifier indicating that the object <var>may</var> display a check mark. See 6711 {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6712 actually checked. --> 6713 <attr name="state_checkable" format="boolean"/> 6714 <!-- State identifier indicating that the object is currently checked. See 6715 {@link android.R.attr#state_checkable} for an additional identifier that can indicate 6716 if any object may ever display a check, regardless of whether state_checked is 6717 currently set. --> 6718 <attr name="state_checked" format="boolean"/> 6719 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6720 set when a view (or one of its parents) is currently selected. --> 6721 <attr name="state_selected" format="boolean" /> 6722 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6723 set when the user is pressing down in a view. --> 6724 <attr name="state_pressed" format="boolean" /> 6725 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6726 set when a view or its parent has been "activated" meaning the user has currently 6727 marked it as being of interest. This is an alternative representation of 6728 state_checked for when the state should be propagated down the view hierarchy. --> 6729 <attr name="state_activated" format="boolean" /> 6730 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6731 set when a view or drawable is considered "active" by its host. Actual usage may vary 6732 between views. Consult the host view documentation for details. --> 6733 <attr name="state_active" format="boolean" /> 6734 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6735 set when a view or drawable is considered "single" by its host. Actual usage may vary 6736 between views. Consult the host view documentation for details. --> 6737 <attr name="state_single" format="boolean" /> 6738 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6739 set when a view or drawable is in the first position in an ordered set. Actual usage 6740 may vary between views. Consult the host view documentation for details. --> 6741 <attr name="state_first" format="boolean" /> 6742 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6743 set when a view or drawable is in the middle position in an ordered set. Actual usage 6744 may vary between views. Consult the host view documentation for details. --> 6745 <attr name="state_middle" format="boolean" /> 6746 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6747 set when a view or drawable is in the last position in an ordered set. Actual usage 6748 may vary between views. Consult the host view documentation for details. --> 6749 <attr name="state_last" format="boolean" /> 6750 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6751 indicating that the Drawable is in a view that is hardware accelerated. 6752 This means that the device can at least render a full-screen scaled 6753 bitmap with one layer of text and bitmaps composited on top of it 6754 at 60fps. When this is set, the colorBackgroundCacheHint will be 6755 ignored even if it specifies a solid color, since that optimization 6756 is not needed. --> 6757 <attr name="state_accelerated" format="boolean" /> 6758 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6759 set when a pointer is hovering over the view. --> 6760 <attr name="state_hovered" format="boolean" /> 6761 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6762 indicating that the Drawable is in a view that is capable of accepting a drop of 6763 the content currently being manipulated in a drag-and-drop operation. --> 6764 <attr name="state_drag_can_accept" format="boolean" /> 6765 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6766 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6767 is currently positioned over the Drawable. --> 6768 <attr name="state_drag_hovered" format="boolean" /> 6769 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6770 indicating that a View has accessibility focus. --> 6771 <attr name="state_accessibility_focused" format="boolean" /> 6772 </declare-styleable> 6773 <declare-styleable name="ViewDrawableStates"> 6774 <attr name="state_pressed" /> 6775 <attr name="state_focused" /> 6776 <attr name="state_selected" /> 6777 <attr name="state_window_focused" /> 6778 <attr name="state_enabled" /> 6779 <attr name="state_activated" /> 6780 <attr name="state_accelerated" /> 6781 <attr name="state_hovered" /> 6782 <attr name="state_drag_can_accept" /> 6783 <attr name="state_drag_hovered" /> 6784 </declare-styleable> 6785 <!-- State array representing a menu item that is currently checked. --> 6786 <declare-styleable name="MenuItemCheckedState"> 6787 <attr name="state_checkable" /> 6788 <attr name="state_checked" /> 6789 </declare-styleable> 6790 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6791 <declare-styleable name="MenuItemUncheckedState"> 6792 <attr name="state_checkable" /> 6793 </declare-styleable> 6794 <!-- State array representing a menu item that is currently focused and checked. --> 6795 <declare-styleable name="MenuItemCheckedFocusedState"> 6796 <attr name="state_checkable" /> 6797 <attr name="state_checked" /> 6798 <attr name="state_focused" /> 6799 </declare-styleable> 6800 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6801 <declare-styleable name="MenuItemUncheckedFocusedState"> 6802 <attr name="state_checkable" /> 6803 <attr name="state_focused" /> 6804 </declare-styleable> 6805 <!-- State array representing an expandable list child's indicator. --> 6806 <declare-styleable name="ExpandableListChildIndicatorState"> 6807 <!-- State identifier indicating the child is the last child within its group. --> 6808 <attr name="state_last" /> 6809 </declare-styleable> 6810 <!-- State array representing an expandable list group's indicator. --> 6811 <declare-styleable name="ExpandableListGroupIndicatorState"> 6812 <!-- State identifier indicating the group is expanded. --> 6813 <attr name="state_expanded" format="boolean" /> 6814 <!-- State identifier indicating the group is empty (has no children). --> 6815 <attr name="state_empty" format="boolean" /> 6816 </declare-styleable> 6817 <declare-styleable name="PopupWindowBackgroundState"> 6818 <!-- State identifier indicating the popup will be above the anchor. --> 6819 <attr name="state_above_anchor" format="boolean" /> 6820 </declare-styleable> 6821 <declare-styleable name="TextViewMultiLineBackgroundState"> 6822 <!-- State identifier indicating a TextView has a multi-line layout. --> 6823 <attr name="state_multiline" format="boolean" /> 6824 </declare-styleable> 6825 6826 <!-- ***************************************************************** --> 6827 <!-- Support for Searchable activities. --> 6828 <!-- ***************************************************************** --> 6829 <eat-comment /> 6830 6831 <!-- Searchable activities and applications must provide search configuration information 6832 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6833 For a more in-depth discussion of search configuration, please refer to 6834 {@link android.app.SearchManager}. --> 6835 <declare-styleable name="Searchable"> 6836 <!--<strong>This is deprecated.</strong><br/>The default 6837 application icon is now always used, so this attribute is 6838 obsolete.--> 6839 <attr name="icon" /> 6840 <!-- This is the user-displayed name of the searchable activity. <i>Required 6841 attribute.</i> --> 6842 <attr name="label" /> 6843 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6844 attribute.</i> --> 6845 <attr name="hint" /> 6846 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6847 <i>Optional attribute.</i> 6848 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6849 changing to use only icons for its buttons.}--> 6850 <attr name="searchButtonText" format="string" /> 6851 <attr name="inputType" /> 6852 <attr name="imeOptions" /> 6853 6854 <!-- Additional features are controlled by mode bits in this field. Omitting 6855 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6856 --> 6857 <attr name="searchMode"> 6858 <!-- If set, this flag enables the display of the search target (label) within the 6859 search bar. If neither bad mode is selected, no badge will be shown. --> 6860 <flag name="showSearchLabelAsBadge" value="0x04" /> 6861 <!--<strong>This is deprecated.</strong><br/>The default 6862 application icon is now always used, so this option is 6863 obsolete.--> 6864 <flag name="showSearchIconAsBadge" value="0x08" /> 6865 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6866 be considered as the text for suggestion query rewriting. This should only 6867 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6868 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6869 <flag name="queryRewriteFromData" value="0x10" /> 6870 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6871 be considered as the text for suggestion query rewriting. This should be used 6872 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6873 values are not suitable for user inspection and editing. --> 6874 <flag name="queryRewriteFromText" value="0x20" /> 6875 </attr> 6876 6877 <!-- Voice search features are controlled by mode bits in this field. Omitting 6878 this field, or setting to zero, provides default behavior. 6879 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6880 also be set. <i>Optional attribute.</i> 6881 --> 6882 <attr name="voiceSearchMode"> 6883 <!-- If set, display a voice search button. This only takes effect if voice search is 6884 available on the device. --> 6885 <flag name="showVoiceSearchButton" value="0x01" /> 6886 <!-- If set, the voice search button will take the user directly to a built-in 6887 voice web search activity. Most applications will not use this flag, as it 6888 will take the user away from the activity in which search was invoked. --> 6889 <flag name="launchWebSearch" value="0x02" /> 6890 <!-- If set, the voice search button will take the user directly to a built-in 6891 voice recording activity. This activity will prompt the user to speak, 6892 transcribe the spoken text, and forward the resulting query 6893 text to the searchable activity, just as if the user had typed it into 6894 the search UI and clicked the search button. --> 6895 <flag name="launchRecognizer" value="0x04" /> 6896 </attr> 6897 6898 <!-- If provided, this specifies the language model that should be used by the 6899 voice recognition system. See 6900 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 6901 If not provided, the default value 6902 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 6903 <attr name="voiceLanguageModel" format="string" /> 6904 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 6905 <attr name="voicePromptText" format="string" /> 6906 <!-- If provided, this specifies the spoken language to be expected, and that it will be 6907 different than the one set in the {@link java.util.Locale#getDefault()}. --> 6908 <attr name="voiceLanguage" format="string" /> 6909 <!-- If provided, enforces the maximum number of results to return, including the "best" 6910 result which will always be provided as the SEARCH intent's primary query. Must be one 6911 or greater. If not provided, the recognizer will choose how many results to return. 6912 --> 6913 <attr name="voiceMaxResults" format="integer" /> 6914 6915 <!-- If provided, this is the trigger indicating that the searchable activity 6916 provides suggestions as well. The value must be a fully-qualified content provider 6917 authority (for example, "com.example.android.apis.SuggestionProvider") and should match 6918 the "android:authorities" tag in your content provider's manifest entry. <i>Optional 6919 attribute.</i> --> 6920 <attr name="searchSuggestAuthority" format="string" /> 6921 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 6922 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 6923 --> 6924 <attr name="searchSuggestPath" format="string" /> 6925 <!-- If provided, suggestion queries will be passed into your query function 6926 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 6927 database, and will contain a single question mark, which represents the actual query 6928 string that has been typed by the user. If not provided, then the user query text 6929 will be appended to the query Uri (after an additional "/".) <i>Optional 6930 attribute.</i> --> 6931 <attr name="searchSuggestSelection" format="string" /> 6932 6933 <!-- If provided, and not overridden by an action in the selected suggestion, this 6934 string will be placed in the action field of the {@link android.content.Intent Intent} 6935 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6936 <attr name="searchSuggestIntentAction" format="string" /> 6937 <!-- If provided, and not overridden by an action in the selected suggestion, this 6938 string will be placed in the data field of the {@link android.content.Intent Intent} 6939 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6940 <attr name="searchSuggestIntentData" format="string" /> 6941 6942 <!-- If provided, this is the minimum number of characters needed to trigger 6943 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 6944 <attr name="searchSuggestThreshold" format="integer" /> 6945 6946 <!-- If provided and <code>true</code>, this searchable activity will be 6947 included in any global lists of search targets. 6948 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6949 <attr name="includeInGlobalSearch" format="boolean" /> 6950 6951 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 6952 queries in a particular session. If set to <code>false</code> and the activity 6953 returned zero results for a query, it will not be invoked again in that session for 6954 supersets of that zero-results query. For example, if the activity returned zero 6955 results for "bo", it would not be queried again for "bob". 6956 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6957 <attr name="queryAfterZeroResults" format="boolean" /> 6958 <!-- If provided, this string will be used to describe the searchable item in the 6959 searchable items settings within system search settings. <i>Optional 6960 attribute.</i> --> 6961 <attr name="searchSettingsDescription" format="string" /> 6962 6963 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 6964 within this activity would be detected and treated as URLs (show a 'go' button in the 6965 keyboard and invoke the browser directly when user launches the URL instead of passing 6966 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 6967 normal query text. 6968 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6969 <attr name="autoUrlDetect" format="boolean" /> 6970 6971 </declare-styleable> 6972 6973 <!-- In order to process special action keys during search, you must define them using 6974 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6975 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6976 --> 6977 <declare-styleable name="SearchableActionKey"> 6978 <!-- This attribute denotes the action key you wish to respond to. Note that not 6979 all action keys are actually supported using this mechanism, as many of them are 6980 used for typing, navigation, or system functions. This will be added to the 6981 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6982 searchable activity. To examine the key code, use 6983 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6984 <p>Note, in addition to the keycode, you must also provide one or more of the action 6985 specifier attributes. <i>Required attribute.</i> --> 6986 <attr name="keycode" /> 6987 6988 <!-- If you wish to handle an action key during normal search query entry, you 6989 must define an action string here. This will be added to the 6990 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6991 searchable activity. To examine the string, use 6992 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6993 <i>Optional attribute.</i> --> 6994 <attr name="queryActionMsg" format="string" /> 6995 6996 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6997 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6998 can handle the action key, you can simply define the action message using this 6999 attribute. This will be added to the 7000 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 7001 searchable activity. To examine the string, use 7002 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 7003 <i>Optional attribute.</i> --> 7004 <attr name="suggestActionMsg" format="string" /> 7005 7006 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 7007 selected</i>, but you do not wish to enable this action key for every suggestion, 7008 then you can use this attribute to control it on a suggestion-by-suggestion basis. 7009 First, you must define a column (and name it here) where your suggestions will include 7010 the action string. Then, in your content provider, you must provide this column, and 7011 when desired, provide data in this column. 7012 The search manager will look at your suggestion cursor, using the string 7013 provided here in order to select a column, and will use that to select a string from 7014 the cursor. That string will be added to the 7015 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 7016 your searchable activity. To examine the string, use 7017 {@link android.content.Intent#getStringExtra 7018 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 7019 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 7020 <attr name="suggestActionMsgColumn" format="string" /> 7021 7022 </declare-styleable> 7023 7024 <!-- ***************************************************************** --> 7025 <!-- Support for MapView. --> 7026 <!-- ***************************************************************** --> 7027 <eat-comment /> 7028 7029 <!-- The set of attributes for a MapView. --> 7030 <declare-styleable name="MapView"> 7031 <!-- Value is a string that specifies the Maps API Key to use. --> 7032 <attr name="apiKey" format="string" /> 7033 </declare-styleable> 7034 7035 <!-- **************************************************************** --> 7036 <!-- Menu XML inflation. --> 7037 <!-- **************************************************************** --> 7038 <eat-comment /> 7039 7040 <!-- Base attributes that are available to all Menu objects. --> 7041 <declare-styleable name="Menu"> 7042 </declare-styleable> 7043 7044 <!-- Base attributes that are available to all groups. --> 7045 <declare-styleable name="MenuGroup"> 7046 7047 <!-- The ID of the group. --> 7048 <attr name="id" /> 7049 7050 <!-- The category applied to all items within this group. 7051 (This will be or'ed with the orderInCategory attribute.) --> 7052 <attr name="menuCategory"> 7053 <!-- Items are part of a container. --> 7054 <enum name="container" value="0x00010000" /> 7055 <!-- Items are provided by the system. --> 7056 <enum name="system" value="0x00020000" /> 7057 <!-- Items are user-supplied secondary (infrequently used). --> 7058 <enum name="secondary" value="0x00030000" /> 7059 <!-- Items are alternative actions. --> 7060 <enum name="alternative" value="0x00040000" /> 7061 </attr> 7062 7063 <!-- The order within the category applied to all items within this group. 7064 (This will be or'ed with the category attribute.) --> 7065 <attr name="orderInCategory" format="integer" /> 7066 7067 <!-- Whether the items are capable of displaying a check mark. --> 7068 <attr name="checkableBehavior"> 7069 <!-- The items are not checkable. --> 7070 <enum name="none" value="0" /> 7071 <!-- The items are all checkable. --> 7072 <enum name="all" value="1" /> 7073 <!-- The items are checkable and there will only be a single checked item in 7074 this group. --> 7075 <enum name="single" value="2" /> 7076 </attr> 7077 7078 <!-- Whether the items are shown/visible. --> 7079 <attr name="visible" /> 7080 7081 <!-- Whether the items are enabled. --> 7082 <attr name="enabled" /> 7083 7084 </declare-styleable> 7085 7086 <!-- Base attributes that are available to all Item objects. --> 7087 <declare-styleable name="MenuItem"> 7088 7089 <!-- The ID of the item. --> 7090 <attr name="id" /> 7091 7092 <!-- The category applied to the item. 7093 (This will be or'ed with the orderInCategory attribute.) --> 7094 <attr name="menuCategory" /> 7095 7096 <!-- The order within the category applied to the item. 7097 (This will be or'ed with the category attribute.) --> 7098 <attr name="orderInCategory" /> 7099 7100 <!-- The title associated with the item. --> 7101 <attr name="title" format="string" /> 7102 7103 <!-- The condensed title associated with the item. This is used in situations where the 7104 normal title may be too long to be displayed. --> 7105 <attr name="titleCondensed" format="string" /> 7106 7107 <!-- The icon associated with this item. This icon will not always be shown, so 7108 the title should be sufficient in describing this item. --> 7109 <attr name="icon" /> 7110 7111 <!-- Tint to apply to the icon. --> 7112 <attr name="iconTint" format="color" /> 7113 7114 <!-- Blending mode used to apply the icon tint. --> 7115 <attr name="iconTintMode"> 7116 <!-- The tint is drawn on top of the icon. 7117 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7118 <enum name="src_over" value="3" /> 7119 <!-- The tint is masked by the alpha channel of the icon. The icon’s 7120 color channels are thrown out. [Sa * Da, Sc * Da] --> 7121 <enum name="src_in" value="5" /> 7122 <!-- The tint is drawn above the icon, but with the icon’s alpha 7123 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7124 <enum name="src_atop" value="9" /> 7125 <!-- Multiplies the color and alpha channels of the icon with those of 7126 the tint. [Sa * Da, Sc * Dc] --> 7127 <enum name="multiply" value="14" /> 7128 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7129 <enum name="screen" value="15" /> 7130 <!-- Combines the tint and icon color and alpha channels, clamping the 7131 result to valid color values. Saturate(S + D) --> 7132 <enum name="add" value="16" /> 7133 </attr> 7134 7135 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 7136 with alphabetic keys. --> 7137 <attr name="alphabeticShortcut" format="string" /> 7138 7139 <!-- The alphabetic modifier key. This is the modifier when using a keyboard 7140 with alphabetic keys. The values should be kept in sync with KeyEvent --> 7141 <attr name="alphabeticModifiers"> 7142 <flag name="META" value="0x10000" /> 7143 <flag name="CTRL" value="0x1000" /> 7144 <flag name="ALT" value="0x02" /> 7145 <flag name="SHIFT" value="0x1" /> 7146 <flag name="SYM" value="0x4" /> 7147 <flag name="FUNCTION" value="0x8" /> 7148 </attr> 7149 7150 <!-- The numeric shortcut key. This is the shortcut when using a numeric (for example, 7151 12-key) keyboard. --> 7152 <attr name="numericShortcut" format="string" /> 7153 7154 <!-- The numeric modifier key. This is the modifier when using a numeric (for example, 7155 12-key) keyboard. The values should be kept in sync with KeyEvent --> 7156 <attr name="numericModifiers"> 7157 <flag name="META" value="0x10000" /> 7158 <flag name="CTRL" value="0x1000" /> 7159 <flag name="ALT" value="0x02" /> 7160 <flag name="SHIFT" value="0x1" /> 7161 <flag name="SYM" value="0x4" /> 7162 <flag name="FUNCTION" value="0x8" /> 7163 </attr> 7164 7165 <!-- Whether the item is capable of displaying a check mark. --> 7166 <attr name="checkable" format="boolean" /> 7167 7168 <!-- Whether the item is checked. Note that you must first have enabled checking with 7169 the checkable attribute or else the check mark will not appear. --> 7170 <attr name="checked" /> 7171 7172 <!-- Whether the item is shown/visible. --> 7173 <attr name="visible" /> 7174 7175 <!-- Whether the item is enabled. --> 7176 <attr name="enabled" /> 7177 7178 <!-- Name of a method on the Context used to inflate the menu that will be 7179 called when the item is clicked. --> 7180 <attr name="onClick" /> 7181 7182 <!-- How this item should display in the Action Bar, if present. --> 7183 <attr name="showAsAction"> 7184 <!-- Never show this item in an action bar, show it in the overflow menu instead. 7185 Mutually exclusive with "ifRoom" and "always". --> 7186 <flag name="never" value="0" /> 7187 <!-- Show this item in an action bar if there is room for it as determined 7188 by the system. Favor this option over "always" where possible. 7189 Mutually exclusive with "never" and "always". --> 7190 <flag name="ifRoom" value="1" /> 7191 <!-- Always show this item in an actionbar, even if it would override 7192 the system's limits of how much stuff to put there. This may make 7193 your action bar look bad on some screens. In most cases you should 7194 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 7195 <flag name="always" value="2" /> 7196 <!-- When this item is shown as an action in the action bar, show a text 7197 label with it even if it has an icon representation. --> 7198 <flag name="withText" value="4" /> 7199 <!-- This item's action view collapses to a normal menu 7200 item. When expanded, the action view takes over a 7201 larger segment of its container. --> 7202 <flag name="collapseActionView" value="8" /> 7203 </attr> 7204 7205 <!-- An optional layout to be used as an action view. 7206 See {@link android.view.MenuItem#setActionView(android.view.View)} 7207 for more info. --> 7208 <attr name="actionLayout" format="reference" /> 7209 7210 <!-- The name of an optional View class to instantiate and use as an 7211 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 7212 for more info. --> 7213 <attr name="actionViewClass" format="string" /> 7214 7215 <!-- The name of an optional ActionProvider class to instantiate an action view 7216 and perform operations such as default action for that menu item. 7217 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 7218 for more info. --> 7219 <attr name="actionProviderClass" format="string" /> 7220 7221 <!-- The content description associated with the item. --> 7222 <attr name="contentDescription" format="string" /> 7223 7224 <!-- The tooltip text associated with the item. --> 7225 <attr name="tooltipText" format="string" /> 7226 7227 </declare-styleable> 7228 7229 <!-- Attrbitutes for a ActvityChooserView. --> 7230 <declare-styleable name="ActivityChooserView"> 7231 <!-- The maximal number of items initially shown in the activity list. --> 7232 <attr name="initialActivityCount" format="string" /> 7233 <!-- The drawable to show in the button for expanding the activities overflow popup. 7234 <strong>Note:</strong> Clients would like to set this drawable 7235 as a clue about the action the chosen activity will perform. For 7236 example, if share activity is to be chosen the drawable should 7237 give a clue that sharing is to be performed. 7238 --> 7239 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 7240 </declare-styleable> 7241 7242 <!-- **************************************************************** --> 7243 <!-- Preferences framework. --> 7244 <!-- **************************************************************** --> 7245 <eat-comment /> 7246 7247 <!-- Base attributes available to PreferenceGroup. --> 7248 <declare-styleable name="PreferenceGroup"> 7249 <!-- Whether to order the Preference under this group as they appear in the XML file. 7250 If this is false, the ordering will follow the Preference order attribute and 7251 default to alphabetic for those without the order attribute. --> 7252 <attr name="orderingFromXml" format="boolean" /> 7253 </declare-styleable> 7254 7255 <!-- Attribute for a header describing the item shown in the top-level list 7256 from which the selects the set of preference to dig in to. --> 7257 <declare-styleable name="PreferenceHeader"> 7258 <!-- Identifier value for the header. --> 7259 <attr name="id" /> 7260 <!-- The title of the item that is shown to the user. --> 7261 <attr name="title" /> 7262 <!-- The summary for the item. --> 7263 <attr name="summary" format="string" /> 7264 <!-- The title for the bread crumb of this item. --> 7265 <attr name="breadCrumbTitle" format="string" /> 7266 <!-- The short title for the bread crumb of this item. --> 7267 <attr name="breadCrumbShortTitle" format="string" /> 7268 <!-- An icon for the item. --> 7269 <attr name="icon" /> 7270 <!-- The fragment that is displayed when the user selects this item. --> 7271 <attr name="fragment" format="string" /> 7272 </declare-styleable> 7273 7274 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 7275 with a View's attributes. Some subclasses (for example, EditTextPreference) 7276 proxy all attributes to its EditText widget. --> 7277 <eat-comment /> 7278 7279 <!-- Base attributes available to Preference. --> 7280 <declare-styleable name="Preference"> 7281 <!-- The optional icon for the preference. --> 7282 <attr name="icon" /> 7283 <!-- The key to store the Preference value. --> 7284 <attr name="key" format="string" /> 7285 <!-- The title for the Preference. In API 25 and earlier, this value is read as a 7286 plain string with styling information stripped. --> 7287 <attr name="title" /> 7288 <!-- The summary for the Preference. In API 25 and earlier, this value is read as a 7289 plain string with styling information stripped. --> 7290 <attr name="summary" /> 7291 <!-- The order for the Preference (lower values are to be ordered first). If this is not 7292 specified, the default ordering will be alphabetic. --> 7293 <attr name="order" format="integer" /> 7294 <!-- When used inside of a modern PreferenceActivity, this declares 7295 a new PreferenceFragment to be shown when the user selects this item. --> 7296 <attr name="fragment" /> 7297 <!-- The layout for the Preference in a PreferenceActivity screen. This should 7298 rarely need to be changed, look at widgetLayout instead. --> 7299 <attr name="layout" /> 7300 <!-- The layout for the controllable widget portion of a Preference. This is inflated 7301 into the layout for a Preference and should be used more frequently than 7302 the layout attribute. For example, a checkbox preference would specify 7303 a custom layout (consisting of just the CheckBox) here. --> 7304 <attr name="widgetLayout" format="reference" /> 7305 <!-- Whether the Preference is enabled. --> 7306 <attr name="enabled" /> 7307 <!-- Whether the Preference is selectable. --> 7308 <attr name="selectable" format="boolean" /> 7309 <!-- The key of another Preference that this Preference will depend on. If the other 7310 Preference is not set or is off, this Preference will be disabled. --> 7311 <attr name="dependency" format="string" /> 7312 <!-- Whether the Preference stores its value to the storage. --> 7313 <attr name="persistent" /> 7314 <!-- The default value for the preference, which will be set either if persistence 7315 is off or persistence is on and the preference is not found in the persistent 7316 storage. --> 7317 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 7318 <!-- Whether the view of this Preference should be disabled when 7319 this Preference is disabled. --> 7320 <attr name="shouldDisableView" format="boolean" /> 7321 <!-- Whether the preference has enabled to have its view recycled when used in the list 7322 view. This is true by default. --> 7323 <attr name="recycleEnabled" format="boolean" /> 7324 <!-- Whether to use single line for the preference title text. By default, preference title 7325 will be constrained to one line, so the default value of this attribute is true. --> 7326 <attr name="singleLineTitle" format="boolean" /> 7327 <!-- Whether the space for the preference icon view will be reserved. By default, preference 7328 icon view visibility will be set to GONE when there is no icon provided, so the default 7329 value of this attribute is false. --> 7330 <attr name="iconSpaceReserved" format="boolean" /> 7331 </declare-styleable> 7332 7333 <!-- Base attributes available to CheckBoxPreference. --> 7334 <declare-styleable name="CheckBoxPreference"> 7335 <!-- The summary for the Preference in a PreferenceActivity screen when the 7336 CheckBoxPreference is checked. If separate on/off summaries are not 7337 needed, the summary attribute can be used instead. --> 7338 <attr name="summaryOn" format="string" /> 7339 <!-- The summary for the Preference in a PreferenceActivity screen when the 7340 CheckBoxPreference is unchecked. If separate on/off summaries are not 7341 needed, the summary attribute can be used instead. --> 7342 <attr name="summaryOff" format="string" /> 7343 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7344 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7345 <attr name="disableDependentsState" format="boolean" /> 7346 </declare-styleable> 7347 7348 <!-- Base attributes available to DialogPreference. --> 7349 <declare-styleable name="DialogPreference"> 7350 <!-- The title in the dialog. --> 7351 <attr name="dialogTitle" format="string" /> 7352 <!-- The message in the dialog. If a dialogLayout is provided and contains 7353 a TextView with ID android:id/message, this message will be placed in there. --> 7354 <attr name="dialogMessage" format="string" /> 7355 <!-- The icon for the dialog. --> 7356 <attr name="dialogIcon" format="reference" /> 7357 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 7358 <attr name="positiveButtonText" format="string" /> 7359 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 7360 <attr name="negativeButtonText" format="string" /> 7361 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 7362 be needed. If a custom DialogPreference is required, this should be set. For example, 7363 the EditTextPreference uses a layout with an EditText as this attribute. --> 7364 <attr name="dialogLayout" format="reference" /> 7365 </declare-styleable> 7366 7367 <!-- Base attributes available to ListPreference. --> 7368 <declare-styleable name="ListPreference"> 7369 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7370 index in entryValues. --> 7371 <attr name="entries" /> 7372 <!-- The array to find the value to save for a preference when an entry from 7373 entries is selected. If a user clicks on the second item in entries, the 7374 second item in this array will be saved to the preference. --> 7375 <attr name="entryValues" format="reference" /> 7376 </declare-styleable> 7377 7378 <declare-styleable name="MultiSelectListPreference"> 7379 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7380 index in entryValues. --> 7381 <attr name="entries" /> 7382 <!-- The array to find the value to save for a preference when an entry from 7383 entries is selected. If a user clicks the second item in entries, the 7384 second item in this array will be saved to the preference. --> 7385 <attr name="entryValues" /> 7386 </declare-styleable> 7387 7388 <!-- Base attributes available to RingtonePreference. --> 7389 <declare-styleable name="RingtonePreference"> 7390 <!-- Which ringtone type(s) to show in the picker. --> 7391 <attr name="ringtoneType"> 7392 <!-- Ringtones. --> 7393 <flag name="ringtone" value="1" /> 7394 <!-- Notification sounds. --> 7395 <flag name="notification" value="2" /> 7396 <!-- Alarm sounds. --> 7397 <flag name="alarm" value="4" /> 7398 <!-- All available ringtone sounds. --> 7399 <flag name="all" value="7" /> 7400 </attr> 7401 <!-- Whether to show an item for a default sound. --> 7402 <attr name="showDefault" format="boolean" /> 7403 <!-- Whether to show an item for 'Silent'. --> 7404 <attr name="showSilent" format="boolean" /> 7405 </declare-styleable> 7406 7407 <!-- Base attributes available to VolumePreference. --> 7408 <declare-styleable name="VolumePreference"> 7409 <!-- Different audio stream types. --> 7410 <attr name="streamType"> 7411 <enum name="voice" value="0" /> 7412 <enum name="system" value="1" /> 7413 <enum name="ring" value="2" /> 7414 <enum name="music" value="3" /> 7415 <enum name="alarm" value="4" /> 7416 </attr> 7417 </declare-styleable> 7418 7419 <declare-styleable name="InputMethodService"> 7420 <!-- Background to use for entire input method when it is being 7421 shown in fullscreen mode with the extract view, to ensure 7422 that it completely covers the application. This allows, 7423 for example, the candidate view to be hidden 7424 while in fullscreen mode without having the application show through 7425 behind it.--> 7426 <attr name="imeFullscreenBackground" format="reference|color" /> 7427 <!-- Animation to use when showing the fullscreen extract UI after 7428 it had previously been hidden. --> 7429 <attr name="imeExtractEnterAnimation" format="reference" /> 7430 <!-- Animation to use when hiding the fullscreen extract UI after 7431 it had previously been shown. --> 7432 <attr name="imeExtractExitAnimation" format="reference" /> 7433 </declare-styleable> 7434 7435 <declare-styleable name="VoiceInteractionSession"> 7436 </declare-styleable> 7437 7438 <declare-styleable name="KeyboardView"> 7439 <!-- Default KeyboardView style. --> 7440 <attr name="keyboardViewStyle" format="reference" /> 7441 7442 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 7443 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 7444 checkable+checked+pressed. --> 7445 <attr name="keyBackground" format="reference" /> 7446 7447 <!-- Size of the text for character keys. --> 7448 <attr name="keyTextSize" format="dimension" /> 7449 7450 <!-- Size of the text for custom keys with some text and no icon. --> 7451 <attr name="labelTextSize" format="dimension" /> 7452 7453 <!-- Color to use for the label in a key. --> 7454 <attr name="keyTextColor" format="color" /> 7455 7456 <!-- Layout resource for key press feedback.--> 7457 <attr name="keyPreviewLayout" format="reference" /> 7458 7459 <!-- Vertical offset of the key press feedback from the key. --> 7460 <attr name="keyPreviewOffset" format="dimension" /> 7461 7462 <!-- Height of the key press feedback popup. --> 7463 <attr name="keyPreviewHeight" format="dimension" /> 7464 7465 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 7466 <attr name="verticalCorrection" format="dimension" /> 7467 7468 <!-- Layout resource for popup keyboards. --> 7469 <attr name="popupLayout" format="reference" /> 7470 7471 <attr name="shadowColor" /> 7472 <attr name="shadowRadius" /> 7473 </declare-styleable> 7474 7475 <declare-styleable name="KeyboardViewPreviewState"> 7476 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 7477 key preview background. --> 7478 <attr name="state_long_pressable" format="boolean" /> 7479 </declare-styleable> 7480 7481 <declare-styleable name="Keyboard"> 7482 <!-- Default width of a key, in pixels or percentage of display width. --> 7483 <attr name="keyWidth" format="dimension|fraction" /> 7484 <!-- Default height of a key, in pixels or percentage of display width. --> 7485 <attr name="keyHeight" format="dimension|fraction" /> 7486 <!-- Default horizontal gap between keys. --> 7487 <attr name="horizontalGap" format="dimension|fraction" /> 7488 <!-- Default vertical gap between rows of keys. --> 7489 <attr name="verticalGap" format="dimension|fraction" /> 7490 </declare-styleable> 7491 7492 <declare-styleable name="Keyboard_Row"> 7493 <!-- Row edge flags. --> 7494 <attr name="rowEdgeFlags"> 7495 <!-- Row is anchored to the top of the keyboard. --> 7496 <flag name="top" value="4" /> 7497 <!-- Row is anchored to the bottom of the keyboard. --> 7498 <flag name="bottom" value="8" /> 7499 </attr> 7500 <!-- Mode of the keyboard. If the mode doesn't match the 7501 requested keyboard mode, the row will be skipped. --> 7502 <attr name="keyboardMode" format="reference" /> 7503 </declare-styleable> 7504 7505 <declare-styleable name="Keyboard_Key"> 7506 <!-- The unicode value or comma-separated values that this key outputs. --> 7507 <attr name="codes" format="integer|string" /> 7508 <!-- The XML keyboard layout of any popup keyboard. --> 7509 <attr name="popupKeyboard" format="reference" /> 7510 <!-- The characters to display in the popup keyboard. --> 7511 <attr name="popupCharacters" format="string" /> 7512 <!-- Key edge flags. --> 7513 <attr name="keyEdgeFlags"> 7514 <!-- Key is anchored to the left of the keyboard. --> 7515 <flag name="left" value="1" /> 7516 <!-- Key is anchored to the right of the keyboard. --> 7517 <flag name="right" value="2" /> 7518 </attr> 7519 <!-- Whether this is a modifier key such as Alt or Shift. --> 7520 <attr name="isModifier" format="boolean" /> 7521 <!-- Whether this is a toggle key. --> 7522 <attr name="isSticky" format="boolean" /> 7523 <!-- Whether long-pressing on this key will make it repeat. --> 7524 <attr name="isRepeatable" format="boolean" /> 7525 <!-- The icon to show in the popup preview. --> 7526 <attr name="iconPreview" format="reference" /> 7527 <!-- The string of characters to output when this key is pressed. --> 7528 <attr name="keyOutputText" format="string" /> 7529 <!-- The label to display on the key. --> 7530 <attr name="keyLabel" format="string" /> 7531 <!-- The icon to display on the key instead of the label. --> 7532 <attr name="keyIcon" format="reference" /> 7533 <!-- Mode of the keyboard. If the mode doesn't match the 7534 requested keyboard mode, the key will be skipped. --> 7535 <attr name="keyboardMode" /> 7536 </declare-styleable> 7537 7538 <!-- =============================== --> 7539 <!-- AppWidget package class attributes --> 7540 <!-- =============================== --> 7541 <eat-comment /> 7542 7543 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 7544 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 7545 package for more info. 7546 --> 7547 <declare-styleable name="AppWidgetProviderInfo"> 7548 <!-- Minimum width of the AppWidget. --> 7549 <attr name="minWidth"/> 7550 <!-- Minimum height of the AppWidget. --> 7551 <attr name="minHeight"/> 7552 <!-- Minimum width that the AppWidget can be resized to. --> 7553 <attr name="minResizeWidth" format="dimension"/> 7554 <!-- Minimum height that the AppWidget can be resized to. --> 7555 <attr name="minResizeHeight" format="dimension"/> 7556 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 7557 <attr name="updatePeriodMillis" format="integer" /> 7558 <!-- A resource id of a layout. --> 7559 <attr name="initialLayout" format="reference" /> 7560 <!-- A resource id of a layout. --> 7561 <attr name="initialKeyguardLayout" format="reference" /> 7562 <!-- A class name in the AppWidget's package to be launched to configure. 7563 If not supplied, then no activity will be launched. --> 7564 <attr name="configure" format="string" /> 7565 <!-- A preview of what the AppWidget will look like after it's configured. 7566 If not supplied, the AppWidget's icon will be used. --> 7567 <attr name="previewImage" format="reference" /> 7568 <!-- The view id of the AppWidget subview which should be auto-advanced. 7569 by the widget's host. --> 7570 <attr name="autoAdvanceViewId" format="reference" /> 7571 <!-- Optional parameter which indicates if and how this widget can be 7572 resized. Supports combined values using | operator. --> 7573 <attr name="resizeMode" format="integer"> 7574 <flag name="none" value="0x0" /> 7575 <flag name="horizontal" value="0x1" /> 7576 <flag name="vertical" value="0x2" /> 7577 </attr> 7578 <!-- Optional parameter which indicates where this widget can be shown, 7579 ie. home screen, keyguard, search bar or any combination thereof. 7580 Supports combined values using | operator. --> 7581 <attr name="widgetCategory" format="integer"> 7582 <flag name="home_screen" value="0x1" /> 7583 <flag name="keyguard" value="0x2" /> 7584 <flag name="searchbox" value="0x4" /> 7585 </attr> 7586 <!-- Flags indicating various features supported by the widget. These are hints to the 7587 widget host, and do not actually change the behavior of the widget. --> 7588 <attr name="widgetFeatures" format="integer"> 7589 <!-- The widget can be reconfigured anytime after it is bound --> 7590 <flag name="reconfigurable" value="0x1" /> 7591 <!-- The widget is added directly by the app, and does not need to appear in 7592 the global list of available widgets --> 7593 <flag name="hide_from_picker" value="0x2" /> 7594 </attr> 7595 </declare-styleable> 7596 7597 <!-- =============================== --> 7598 <!-- Wallpaper preview attributes --> 7599 <!-- =============================== --> 7600 <eat-comment /> 7601 7602 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 7603 describes a wallpaper preview. --> 7604 <declare-styleable name="WallpaperPreviewInfo"> 7605 <!-- A resource id of a static drawable. --> 7606 <attr name="staticWallpaperPreview" format="reference" /> 7607 </declare-styleable> 7608 7609 <!-- =============================== --> 7610 <!-- App package class attributes --> 7611 <!-- =============================== --> 7612 <eat-comment /> 7613 7614 <!-- ============================= --> 7615 <!-- View package class attributes --> 7616 <!-- ============================= --> 7617 <eat-comment /> 7618 7619 <!-- Attributes that can be used with <code><fragment></code> 7620 tags inside of the layout of an Activity. This instantiates 7621 the given {@link android.app.Fragment} and inserts its content 7622 view into the current location in the layout. --> 7623 <declare-styleable name="Fragment"> 7624 <!-- Supply the name of the fragment class to instantiate. --> 7625 <attr name="name" /> 7626 7627 <!-- Supply an identifier name for the top-level view, to later retrieve it 7628 with {@link android.view.View#findViewById View.findViewById()} or 7629 {@link android.app.Activity#findViewById Activity.findViewById()}. 7630 This must be a 7631 resource reference; typically you set this using the 7632 <code>@+</code> syntax to create a new ID resources. 7633 For example: <code>android:id="@+id/my_id"</code> which 7634 allows you to later retrieve the view 7635 with <code>findViewById(R.id.my_id)</code>. --> 7636 <attr name="id" /> 7637 7638 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7639 later with {@link android.view.View#getTag View.getTag()} or 7640 searched for with {@link android.view.View#findViewWithTag 7641 View.findViewWithTag()}. It is generally preferable to use 7642 IDs (through the android:id attribute) instead of tags because 7643 they are faster and allow for compile-time type checking. --> 7644 <attr name="tag" /> 7645 7646 <!-- The Transition that will be used to move Views out of the scene when the 7647 fragment is removed, hidden, or detached when not popping the back stack. 7648 Corresponds to {@link android.app.Fragment#setExitTransition( 7649 android.transition.Transition)} --> 7650 <attr name="fragmentExitTransition" format="reference"/> 7651 7652 <!-- The Transition that will be used to move Views into the initial scene. 7653 Corresponds to {@link android.app.Fragment#setEnterTransition( 7654 android.transition.Transition)} --> 7655 <attr name="fragmentEnterTransition" format="reference"/> 7656 7657 <!-- The Transition that will be used for shared elements transferred into the content 7658 Scene. 7659 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7660 android.transition.Transition)} --> 7661 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7662 7663 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7664 preparing to be removed, hidden, or detached because of popping the back stack. 7665 Corresponds to {@link android.app.Fragment#setReturnTransition( 7666 android.transition.Transition)} --> 7667 <attr name="fragmentReturnTransition" format="reference"/> 7668 7669 <!-- The Transition that will be used for shared elements transferred back during a 7670 pop of the back stack. This Transition acts in the leaving Fragment. 7671 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7672 android.transition.Transition)} --> 7673 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7674 7675 <!-- The Transition that will be used to move Views in to the scene when returning due 7676 to popping a back stack. 7677 Corresponds to {@link android.app.Fragment#setReenterTransition( 7678 android.transition.Transition)} --> 7679 <attr name="fragmentReenterTransition" format="reference"/> 7680 7681 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7682 forward. 7683 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7684 boolean)} --> 7685 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7686 7687 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7688 because of popping the back stack. 7689 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7690 boolean)} --> 7691 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7692 </declare-styleable> 7693 7694 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7695 describes a 7696 {@link android.app.admin.DeviceAdminReceiver}, which is 7697 referenced from its 7698 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7699 meta-data entry. Described here are the attributes that can be 7700 included in that tag. --> 7701 <declare-styleable name="DeviceAdmin"> 7702 <!-- Control whether the admin is visible to the user, even when it 7703 is not enabled. This is true by default. You may want to make 7704 it false if your admin does not make sense to be turned on 7705 unless some explicit action happens in your app. --> 7706 <attr name="visible" /> 7707 </declare-styleable> 7708 7709 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7710 describes an 7711 {@link android.service.wallpaper.WallpaperService}, which is 7712 referenced from its 7713 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7714 meta-data entry. Described here are the attributes that can be 7715 included in that tag. --> 7716 <declare-styleable name="Wallpaper"> 7717 <attr name="settingsActivity" /> 7718 7719 <!-- Reference to the wallpaper's thumbnail bitmap. --> 7720 <attr name="thumbnail" format="reference" /> 7721 7722 <!-- Name of the author and/or source/collection of this component, for example, 7723 Art Collection, Picasso. --> 7724 <attr name="author" format="reference" /> 7725 7726 <!-- Short description of the component's purpose or behavior. --> 7727 <attr name="description" /> 7728 7729 <!-- Uri that specifies a link for further context of this wallpaper, for example, 7730 http://www.picasso.org. --> 7731 <attr name="contextUri" format="reference" /> 7732 7733 <!-- Title of the uri that specifies a link for further context of this wallpaper, 7734 for example, Explore collection. --> 7735 <attr name="contextDescription" format="reference" /> 7736 7737 <!-- Whether to show any metadata when previewing the wallpaper. If this value is 7738 set to true, any component that shows a preview of this live wallpaper should also show 7739 accompanying information like the title, the description, the author and the context 7740 description of this wallpaper so the user gets to know further information about this 7741 wallpaper. --> 7742 <attr name="showMetadataInPreview" format="boolean" /> 7743 7744 <!-- Wallpapers optimized and capable of drawing in ambient mode will return true. 7745 @hide --> 7746 <attr name="supportsAmbientMode" format="boolean" /> 7747 7748 </declare-styleable> 7749 7750 <!-- Use <code>dream</code> as the root tag of the XML resource that 7751 describes an 7752 {@link android.service.dreams.DreamService}, which is 7753 referenced from its 7754 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7755 meta-data entry. Described here are the attributes that can be 7756 included in that tag. --> 7757 <declare-styleable name="Dream"> 7758 <!-- Component name of an activity that allows the user to modify 7759 the settings for this dream. --> 7760 <attr name="settingsActivity" /> 7761 </declare-styleable> 7762 7763 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 7764 describes an {@link android.service.trust.TrustAgentService}, which is 7765 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7766 meta-data entry. Described here are the attributes that can be included in that tag. 7767 @hide --> 7768 <declare-styleable name="TrustAgent"> 7769 <!-- @SystemApi Component name of an activity that allows the user to modify 7770 the settings for this trust agent. @hide --> 7771 <attr name="settingsActivity" /> 7772 <!-- @SystemApi Title for a preference that allows that user to launch the 7773 activity to modify trust agent settings. @hide --> 7774 <attr name="title" /> 7775 <!-- @SystemApi Summary for the same preference as the title. @hide --> 7776 <attr name="summary" /> 7777 <!-- @SystemApi Whether trust agent can unlock a user profile @hide --> 7778 <attr name="unlockProfile" format="boolean"/> 7779 </declare-styleable> 7780 7781 <!-- =============================== --> 7782 <!-- Accounts package class attributes --> 7783 <!-- =============================== --> 7784 <eat-comment /> 7785 7786 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7787 describes an account authenticator. 7788 --> 7789 <declare-styleable name="AccountAuthenticator"> 7790 <!-- The account type this authenticator handles. --> 7791 <attr name="accountType" format="string"/> 7792 <!-- The user-visible name of the authenticator. --> 7793 <attr name="label"/> 7794 <!-- The icon of the authenticator. --> 7795 <attr name="icon"/> 7796 <!-- Smaller icon of the authenticator. --> 7797 <attr name="smallIcon" format="reference"/> 7798 <!-- A preferences.xml file for authenticator-specific settings. --> 7799 <attr name="accountPreferences" format="reference"/> 7800 <!-- Account handles its own token storage and permissions. 7801 Default to false 7802 --> 7803 <attr name="customTokens" format="boolean"/> 7804 </declare-styleable> 7805 7806 <!-- =============================== --> 7807 <!-- Accounts package class attributes --> 7808 <!-- =============================== --> 7809 <eat-comment /> 7810 7811 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7812 describes an account authenticator. 7813 --> 7814 <declare-styleable name="SyncAdapter"> 7815 <!-- the authority of a content provider. --> 7816 <attr name="contentAuthority" format="string"/> 7817 <attr name="accountType"/> 7818 <attr name="userVisible" format="boolean"/> 7819 <attr name="supportsUploading" format="boolean"/> 7820 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7821 multiple simultaneous syncs for the same account type and authority. 7822 Otherwise the SyncManager will be sure not to issue a start sync request 7823 to this SyncAdapter if the SyncAdapter is already syncing another account. 7824 Defaults to false. 7825 --> 7826 <attr name="allowParallelSyncs" format="boolean"/> 7827 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7828 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7829 Defaults to false. 7830 --> 7831 <attr name="isAlwaysSyncable" format="boolean"/> 7832 <!-- If provided, specifies the action of the settings 7833 activity for this SyncAdapter. 7834 --> 7835 <attr name="settingsActivity"/> 7836 </declare-styleable> 7837 7838 <!-- =============================== --> 7839 <!-- Autofill attributes --> 7840 <!-- =============================== --> 7841 <eat-comment /> 7842 7843 <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a 7844 {@link android.service.autofill.AutofillService}, which is referenced from its 7845 {@link android.service.autofill#SERVICE_META_DATA} meta-data entry. 7846 --> 7847 <declare-styleable name="AutofillService"> 7848 <!-- Fully qualified class name of an activity that allows the user to modify 7849 the settings for this service. --> 7850 <attr name="settingsActivity" /> 7851 </declare-styleable> 7852 7853 <!-- =============================== --> 7854 <!-- Contacts meta-data attributes --> 7855 <!-- =============================== --> 7856 <eat-comment /> 7857 7858 <!-- TODO: remove this deprecated styleable. --> 7859 <eat-comment /> 7860 <declare-styleable name="Icon"> 7861 <attr name="icon" /> 7862 <attr name="mimeType" /> 7863 </declare-styleable> 7864 7865 <!-- TODO: remove this deprecated styleable --> 7866 <eat-comment /> 7867 <declare-styleable name="IconDefault"> 7868 <attr name="icon" /> 7869 </declare-styleable> 7870 7871 <!-- Maps a specific contact data MIME-type to styling information. --> 7872 <declare-styleable name="ContactsDataKind"> 7873 <!-- Mime-type handled by this mapping. --> 7874 <attr name="mimeType" /> 7875 <!-- Icon used to represent data of this kind. --> 7876 <attr name="icon" /> 7877 <!-- Column in data table that summarizes this data. --> 7878 <attr name="summaryColumn" format="string" /> 7879 <!-- Column in data table that contains details for this data. --> 7880 <attr name="detailColumn" format="string" /> 7881 <!-- Flag indicating that detail should be built from SocialProvider. --> 7882 <attr name="detailSocialSummary" format="boolean" /> 7883 <!-- Resource representing the term "All Contacts" (for example, "All Friends" or 7884 "All connections"). Optional (Default is "All Contacts"). --> 7885 <attr name="allContactsName" format="string" /> 7886 </declare-styleable> 7887 7888 <!-- =============================== --> 7889 <!-- TabSelector class attributes --> 7890 <!-- =============================== --> 7891 <eat-comment /> 7892 7893 <declare-styleable name="SlidingTab"> 7894 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 7895 <attr name="orientation" /> 7896 </declare-styleable> 7897 7898 <!-- =============================== --> 7899 <!-- GlowPadView class attributes --> 7900 <!-- =============================== --> 7901 <eat-comment /> 7902 <declare-styleable name="GlowPadView"> 7903 <!-- Reference to an array resource that be used as description for the targets around the circle. 7904 {@deprecated Removed.} --> 7905 <attr name="targetDescriptions" format="reference" /> 7906 7907 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 7908 {@deprecated Removed.} --> 7909 <attr name="directionDescriptions" format="reference" /> 7910 </declare-styleable> 7911 7912 <!-- =============================== --> 7913 <!-- Location package class attributes --> 7914 <!-- =============================== --> 7915 <eat-comment /> 7916 7917 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 7918 describes an injected "Location services" setting. Note that the status value (subtitle) 7919 for the setting is specified dynamically by a subclass of SettingInjectorService. 7920 --> 7921 <declare-styleable name="SettingInjectorService"> 7922 <!-- The title for the preference. --> 7923 <attr name="title"/> 7924 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 7925 a generic icon for the developer. --> 7926 <attr name="icon"/> 7927 <!-- The activity to launch when the setting is clicked on. --> 7928 <attr name="settingsActivity"/> 7929 </declare-styleable> 7930 7931 <!-- =============================== --> 7932 <!-- LockPatternView class attributes --> 7933 <!-- =============================== --> 7934 <eat-comment /> 7935 7936 <declare-styleable name="LockPatternView"> 7937 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 7938 or "lock_height" --> 7939 <attr name="aspect" format="string" /> 7940 <!-- Color to use when drawing LockPatternView paths. --> 7941 <attr name="pathColor" format="color|reference" /> 7942 <!-- The regular pattern color --> 7943 <attr name="regularColor" format="color|reference" /> 7944 <!-- The error color --> 7945 <attr name="errorColor" format="color|reference" /> 7946 <!-- The success color --> 7947 <attr name="successColor" format="color|reference"/> 7948 </declare-styleable> 7949 7950 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 7951 describes a {@link android.speech.RecognitionService}, which is referenced from 7952 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 7953 Described here are the attributes that can be included in that tag. --> 7954 <declare-styleable name="RecognitionService"> 7955 <attr name="settingsActivity" /> 7956 </declare-styleable> 7957 7958 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 7959 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 7960 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 7961 Described here are the attributes that can be included in that tag. --> 7962 <declare-styleable name="VoiceInteractionService"> 7963 <!-- The service that hosts active voice interaction sessions. This is required. --> 7964 <attr name="sessionService" format="string" /> 7965 <!-- The service that provides voice recognition. This is required. When the user 7966 selects this voice interaction service, they will also be implicitly selecting 7967 the component here for their recognition service. --> 7968 <attr name="recognitionService" format="string" /> 7969 <attr name="settingsActivity" /> 7970 <!-- Flag indicating whether this voice interaction service is capable of handling the 7971 assist action. --> 7972 <attr name="supportsAssist" format="boolean" /> 7973 <!-- Flag indicating whether this voice interaction service is capable of being launched 7974 from the keyguard. --> 7975 <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" /> 7976 <!-- Flag indicating whether this voice interaction service can handle local voice 7977 interaction requests from an Activity. This flag is new in 7978 {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. --> 7979 <attr name="supportsLocalInteraction" format="boolean" /> 7980 </declare-styleable> 7981 7982 <!-- Use <code>voice-enrollment-application</code> 7983 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 7984 by the enrollment application. 7985 Described here are the attributes that can be included in that tag. 7986 @hide 7987 @SystemApi --> 7988 <declare-styleable name="VoiceEnrollmentApplication"> 7989 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 7990 <attr name="searchKeyphraseId" format="integer" /> 7991 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 7992 <attr name="searchKeyphrase" format="string" /> 7993 <!-- A comma separated list of BCP-47 language tag for locales that are supported 7994 for this keyphrase, or empty if not locale dependent. @hide @SystemApi --> 7995 <attr name="searchKeyphraseSupportedLocales" format="string" /> 7996 <!-- Flags for supported recognition modes. @hide @SystemApi --> 7997 <attr name="searchKeyphraseRecognitionFlags"> 7998 <flag name="none" value="0" /> 7999 <flag name="voiceTrigger" value="0x1" /> 8000 <flag name="userIdentification" value="0x2" /> 8001 </attr> 8002 </declare-styleable> 8003 8004 <!-- Attributes used to style the Action Bar. --> 8005 <declare-styleable name="ActionBar"> 8006 <!-- The type of navigation to use. --> 8007 <attr name="navigationMode"> 8008 <!-- Normal static title text. --> 8009 <enum name="normal" value="0" /> 8010 <!-- The action bar will use a selection list for navigation. --> 8011 <enum name="listMode" value="1" /> 8012 <!-- The action bar will use a series of horizontal tabs for navigation. --> 8013 <enum name="tabMode" value="2" /> 8014 </attr> 8015 <!-- Options affecting how the action bar is displayed. --> 8016 <attr name="displayOptions"> 8017 <flag name="none" value="0" /> 8018 <flag name="useLogo" value="0x1" /> 8019 <flag name="showHome" value="0x2" /> 8020 <flag name="homeAsUp" value="0x4" /> 8021 <flag name="showTitle" value="0x8" /> 8022 <flag name="showCustom" value="0x10" /> 8023 <flag name="disableHome" value="0x20" /> 8024 </attr> 8025 <!-- Specifies title text used for navigationMode="normal". --> 8026 <attr name="title" /> 8027 <!-- Specifies subtitle text used for navigationMode="normal". --> 8028 <attr name="subtitle" format="string" /> 8029 <!-- Specifies a style to use for title text. --> 8030 <attr name="titleTextStyle" format="reference" /> 8031 <!-- Specifies a style to use for subtitle text. --> 8032 <attr name="subtitleTextStyle" format="reference" /> 8033 <!-- Specifies the drawable used for the application icon. --> 8034 <attr name="icon" /> 8035 <!-- Specifies the drawable used for the application logo. --> 8036 <attr name="logo" /> 8037 <!-- Specifies the drawable used for item dividers. --> 8038 <attr name="divider" /> 8039 <!-- Specifies a background drawable for the action bar. --> 8040 <attr name="background" /> 8041 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 8042 <attr name="backgroundStacked" format="reference|color" /> 8043 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 8044 <attr name="backgroundSplit" format="reference|color" /> 8045 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 8046 <attr name="customNavigationLayout" format="reference" /> 8047 <!-- Specifies a fixed height. --> 8048 <attr name="height" /> 8049 <!-- Specifies a layout to use for the "home" section of the action bar. --> 8050 <attr name="homeLayout" format="reference" /> 8051 <!-- Specifies a style resource to use for an embedded progress bar. --> 8052 <attr name="progressBarStyle" /> 8053 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 8054 <attr name="indeterminateProgressStyle" format="reference" /> 8055 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 8056 <attr name="progressBarPadding" format="dimension" /> 8057 <!-- Up navigation glyph. --> 8058 <attr name="homeAsUpIndicator" /> 8059 <!-- Specifies padding that should be applied to the left and right sides of 8060 system-provided items in the bar. --> 8061 <attr name="itemPadding" format="dimension" /> 8062 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 8063 <attr name="hideOnContentScroll" format="boolean" /> 8064 <!-- Minimum inset for content views within a bar. Navigation buttons and 8065 menu views are excepted. Only valid for some themes and configurations. --> 8066 <attr name="contentInsetStart" format="dimension" /> 8067 <!-- Minimum inset for content views within a bar. Navigation buttons and 8068 menu views are excepted. Only valid for some themes and configurations. --> 8069 <attr name="contentInsetEnd" format="dimension" /> 8070 <!-- Minimum inset for content views within a bar. Navigation buttons and 8071 menu views are excepted. Only valid for some themes and configurations. --> 8072 <attr name="contentInsetLeft" format="dimension" /> 8073 <!-- Minimum inset for content views within a bar. Navigation buttons and 8074 menu views are excepted. Only valid for some themes and configurations. --> 8075 <attr name="contentInsetRight" format="dimension" /> 8076 <!-- Minimum inset for content views within a bar when a navigation button 8077 is present, such as the Up button. Only valid for some themes and configurations. --> 8078 <attr name="contentInsetStartWithNavigation" format="dimension" /> 8079 <!-- Minimum inset for content views within a bar when actions from a menu 8080 are present. Only valid for some themes and configurations. --> 8081 <attr name="contentInsetEndWithActions" format="dimension" /> 8082 <!-- Elevation for the action bar itself. --> 8083 <attr name="elevation" /> 8084 <!-- Reference to a theme that should be used to inflate popups 8085 shown by widgets in the action bar. --> 8086 <attr name="popupTheme" /> 8087 </declare-styleable> 8088 8089 <declare-styleable name="ActionMode"> 8090 <!-- Specifies a style to use for title text. --> 8091 <attr name="titleTextStyle" /> 8092 <!-- Specifies a style to use for subtitle text. --> 8093 <attr name="subtitleTextStyle" /> 8094 <!-- Specifies a background for the action mode bar. --> 8095 <attr name="background" /> 8096 <!-- Specifies a background for the split action mode bar. --> 8097 <attr name="backgroundSplit" /> 8098 <!-- Specifies a fixed height for the action mode bar. --> 8099 <attr name="height" /> 8100 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 8101 <attr name="closeItemLayout" format="reference" /> 8102 </declare-styleable> 8103 8104 <declare-styleable name="SearchView"> 8105 <!-- The layout to use for the search view. --> 8106 <attr name="layout" /> 8107 <!-- The default state of the SearchView. If true, it will be iconified when not in 8108 use and expanded when clicked. --> 8109 <attr name="iconifiedByDefault" format="boolean" /> 8110 <!-- An optional maximum width of the SearchView. --> 8111 <attr name="maxWidth" /> 8112 <!-- An optional query hint string to be displayed in the empty query field. --> 8113 <attr name="queryHint" format="string" /> 8114 <!-- Default query hint used when {@code queryHint} is undefined and 8115 the search view's {@code SearchableInfo} does not provide a hint. 8116 @hide --> 8117 <attr name="defaultQueryHint" format="string" /> 8118 <!-- The IME options to set on the query text field. --> 8119 <attr name="imeOptions" /> 8120 <!-- The input type to set on the query text field. --> 8121 <attr name="inputType" /> 8122 <!-- Close button icon. --> 8123 <attr name="closeIcon" format="reference" /> 8124 <!-- Go button icon. --> 8125 <attr name="goIcon" format="reference" /> 8126 <!-- Search icon. --> 8127 <attr name="searchIcon" format="reference" /> 8128 <!-- Search icon displayed as a text field hint. --> 8129 <attr name="searchHintIcon" format="reference" /> 8130 <!-- Voice button icon. --> 8131 <attr name="voiceIcon" format="reference" /> 8132 <!-- Commit icon shown in the query suggestion row. --> 8133 <attr name="commitIcon" format="reference" /> 8134 <!-- Layout for query suggestion rows. --> 8135 <attr name="suggestionRowLayout" format="reference" /> 8136 <!-- Background for the section containing the search query. --> 8137 <attr name="queryBackground" format="reference" /> 8138 <!-- Background for the section containing the action (for example, voice search). --> 8139 <attr name="submitBackground" format="reference" /> 8140 </declare-styleable> 8141 8142 <declare-styleable name="Switch"> 8143 <!-- Drawable to use as the "thumb" that switches back and forth. --> 8144 <attr name="thumb" /> 8145 <!-- Tint to apply to the thumb. --> 8146 <attr name="thumbTint" /> 8147 <!-- Blending mode used to apply the thumb tint. --> 8148 <attr name="thumbTintMode" /> 8149 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 8150 <attr name="track" format="reference" /> 8151 <!-- Tint to apply to the track. --> 8152 <attr name="trackTint" format="color" /> 8153 <!-- Blending mode used to apply the track tint. --> 8154 <attr name="trackTintMode"> 8155 <!-- The tint is drawn on top of the drawable. 8156 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 8157 <enum name="src_over" value="3" /> 8158 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 8159 color channels are thrown out. [Sa * Da, Sc * Da] --> 8160 <enum name="src_in" value="5" /> 8161 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 8162 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 8163 <enum name="src_atop" value="9" /> 8164 <!-- Multiplies the color and alpha channels of the drawable with those of 8165 the tint. [Sa * Da, Sc * Dc] --> 8166 <enum name="multiply" value="14" /> 8167 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 8168 <enum name="screen" value="15" /> 8169 <!-- Combines the tint and drawable color and alpha channels, clamping the 8170 result to valid color values. Saturate(S + D) --> 8171 <enum name="add" value="16" /> 8172 </attr> 8173 <!-- Text to use when the switch is in the checked/"on" state. --> 8174 <attr name="textOn" /> 8175 <!-- Text to use when the switch is in the unchecked/"off" state. --> 8176 <attr name="textOff" /> 8177 <!-- Amount of padding on either side of text within the switch thumb. --> 8178 <attr name="thumbTextPadding" format="dimension" /> 8179 <!-- TextAppearance style for text displayed on the switch thumb. --> 8180 <attr name="switchTextAppearance" format="reference" /> 8181 <!-- Minimum width for the switch component. --> 8182 <attr name="switchMinWidth" format="dimension" /> 8183 <!-- Minimum space between the switch and caption text. --> 8184 <attr name="switchPadding" format="dimension" /> 8185 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 8186 <attr name="splitTrack" /> 8187 <!-- Whether to draw on/off text. --> 8188 <attr name="showText" format="boolean" /> 8189 </declare-styleable> 8190 8191 <declare-styleable name="Pointer"> 8192 <!-- Reference to a pointer icon drawable with STYLE_ARROW. --> 8193 <attr name="pointerIconArrow" format="reference" /> 8194 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. --> 8195 <attr name="pointerIconSpotHover" format="reference" /> 8196 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. --> 8197 <attr name="pointerIconSpotTouch" format="reference" /> 8198 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. --> 8199 <attr name="pointerIconSpotAnchor" format="reference" /> 8200 <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. --> 8201 <attr name="pointerIconContextMenu" format="reference"/> 8202 <!-- Reference to a pointer drawable with STYLE_HAND. --> 8203 <attr name="pointerIconHand" format="reference"/> 8204 <!-- Reference to a pointer drawable with STYLE_HELP. --> 8205 <attr name="pointerIconHelp" format="reference"/> 8206 <!-- Reference to a pointer drawable with STYLE_WAIT. --> 8207 <attr name="pointerIconWait" format="reference"/> 8208 <!-- Reference to a pointer drawable with STYLE_CELL. --> 8209 <attr name="pointerIconCell" format="reference"/> 8210 <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. --> 8211 <attr name="pointerIconCrosshair" format="reference"/> 8212 <!-- Reference to a pointer drawable with STYLE_TEXT. --> 8213 <attr name="pointerIconText" format="reference"/> 8214 <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. --> 8215 <attr name="pointerIconVerticalText" format="reference"/> 8216 <!-- Reference to a pointer drawable with STYLE_ALIAS. --> 8217 <attr name="pointerIconAlias" format="reference"/> 8218 <!-- Reference to a pointer drawable with STYLE_COPY. --> 8219 <attr name="pointerIconCopy" format="reference"/> 8220 <!-- Reference to a pointer drawable with STYLE_NODROP. --> 8221 <attr name="pointerIconNodrop" format="reference"/> 8222 <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. --> 8223 <attr name="pointerIconAllScroll" format="reference"/> 8224 <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. --> 8225 <attr name="pointerIconHorizontalDoubleArrow" format="reference"/> 8226 <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. --> 8227 <attr name="pointerIconVerticalDoubleArrow" format="reference"/> 8228 <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. --> 8229 <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/> 8230 <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. --> 8231 <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/> 8232 <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. --> 8233 <attr name="pointerIconZoomIn" format="reference"/> 8234 <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. --> 8235 <attr name="pointerIconZoomOut" format="reference"/> 8236 <!-- Reference to a pointer drawable with STYLE_GRAB. --> 8237 <attr name="pointerIconGrab" format="reference"/> 8238 <!-- Reference to a pointer drawable with STYLE_GRABBING. --> 8239 <attr name="pointerIconGrabbing" format="reference"/> 8240 </declare-styleable> 8241 8242 <declare-styleable name="PointerIcon"> 8243 <!-- Drawable to use as the icon bitmap. --> 8244 <attr name="bitmap" format="reference" /> 8245 <!-- X coordinate of the icon hot spot. --> 8246 <attr name="hotSpotX" format="dimension" /> 8247 <!-- Y coordinate of the icon hot spot. --> 8248 <attr name="hotSpotY" format="dimension" /> 8249 </declare-styleable> 8250 8251 <declare-styleable name="Storage"> 8252 <!-- path to mount point for the storage. --> 8253 <attr name="mountPoint" format="string" /> 8254 <!-- user visible description of the storage. --> 8255 <attr name="storageDescription" format="string" /> 8256 <!-- true if the storage is the primary external storage. --> 8257 <attr name="primary" format="boolean" /> 8258 <!-- true if the storage is removable. --> 8259 <attr name="removable" format="boolean" /> 8260 <!-- true if the storage is emulated via the FUSE sdcard daemon. --> 8261 <attr name="emulated" format="boolean" /> 8262 <!-- number of megabytes of storage MTP should reserve for free storage 8263 (used for emulated storage that is shared with system's data partition). --> 8264 <attr name="mtpReserve" format="integer" /> 8265 <!-- true if the storage can be shared via USB mass storage. --> 8266 <attr name="allowMassStorage" format="boolean" /> 8267 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. --> 8268 <attr name="maxFileSize" format="integer" /> 8269 </declare-styleable> 8270 8271 <declare-styleable name="SwitchPreference"> 8272 <!-- The summary for the Preference in a PreferenceActivity screen when the 8273 SwitchPreference is checked. If separate on/off summaries are not 8274 needed, the summary attribute can be used instead. --> 8275 <attr name="summaryOn" /> 8276 <!-- The summary for the Preference in a PreferenceActivity screen when the 8277 SwitchPreference is unchecked. If separate on/off summaries are not 8278 needed, the summary attribute can be used instead. --> 8279 <attr name="summaryOff" /> 8280 <!-- The text used on the switch itself when in the "on" state. 8281 This should be a very SHORT string, as it appears in a small space. --> 8282 <attr name="switchTextOn" format="string" /> 8283 <!-- The text used on the switch itself when in the "off" state. 8284 This should be a very SHORT string, as it appears in a small space. --> 8285 <attr name="switchTextOff" format="string" /> 8286 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 8287 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 8288 <attr name="disableDependentsState" /> 8289 </declare-styleable> 8290 8291 <declare-styleable name="SeekBarPreference"> 8292 <attr name="layout" /> 8293 <!-- Attribute indicating whether the slider within this preference can be adjusted, that is 8294 pressing left/right keys when this preference is focused will move the slider accordingly 8295 (for example, inline adjustable preferences). False, if the slider within the preference is 8296 read-only and cannot be adjusted. By default, the seekbar is adjustable. --> 8297 <attr name="adjustable" format="boolean" /> 8298 <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be 8299 displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. --> 8300 <attr name="showSeekBarValue" format="boolean" /> 8301 </declare-styleable> 8302 8303 <!-- Base attributes available to PreferenceFragment. --> 8304 <declare-styleable name="PreferenceFragment"> 8305 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 8306 <attr name="layout" /> 8307 <attr name="divider" /> 8308 </declare-styleable> 8309 8310 <!-- Base attributes available to PreferenceScreen. --> 8311 <declare-styleable name="PreferenceScreen"> 8312 <!-- The layout for the PreferenceScreen. This should rarely need to be changed. --> 8313 <attr name="screenLayout" format="reference" /> 8314 <attr name="divider" /> 8315 </declare-styleable> 8316 8317 <!-- Base attributes available to PreferenceActivity. --> 8318 <declare-styleable name="PreferenceActivity"> 8319 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 8320 <attr name="layout" /> 8321 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 8322 <attr name="headerLayout" format="reference" /> 8323 <!-- true if the Icon view will be removed when there is none and thus not showing 8324 the fixed margins. --> 8325 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 8326 </declare-styleable> 8327 8328 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 8329 describes a text to speech engine implemented as a subclass of 8330 {@link android.speech.tts.TextToSpeechService}. 8331 8332 The XML resource must be referenced from its 8333 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 8334 entry. --> 8335 <declare-styleable name="TextToSpeechEngine"> 8336 <attr name="settingsActivity" /> 8337 </declare-styleable> 8338 8339 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 8340 describes a collection of keyboard layouts provided by an application. 8341 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 8342 with these attributes. 8343 8344 The XML resource that contains the keyboard layouts must be referenced from its 8345 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 8346 meta-data entry used with broadcast receivers for 8347 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 8348 <declare-styleable name="KeyboardLayout"> 8349 <!-- The name of the keyboard layout, must be unique in the receiver. --> 8350 <attr name="name" /> 8351 <!-- The display label of the keyboard layout. --> 8352 <attr name="label" /> 8353 <!-- The key character map file resource. --> 8354 <attr name="keyboardLayout" format="reference" /> 8355 <!-- The locales the given keyboard layout corresponds to. --> 8356 <attr name="locale" format="string" /> 8357 <!-- The vendor ID of the hardware the given layout corresponds to. @hide --> 8358 <attr name="vendorId" format="integer" /> 8359 <!-- The product ID of the hardware the given layout corresponds to. @hide --> 8360 <attr name="productId" format="integer" /> 8361 </declare-styleable> 8362 8363 <declare-styleable name="MediaRouteButton"> 8364 <!-- This drawable is a state list where the "activated" state 8365 indicates active media routing. Non-activated indicates 8366 that media is playing to the local device only. 8367 @hide --> 8368 <attr name="externalRouteEnabledDrawable" format="reference" /> 8369 8370 <!-- The types of media routes the button and its resulting 8371 chooser will filter by. --> 8372 <attr name="mediaRouteTypes" format="integer"> 8373 <!-- Allow selection of live audio routes. --> 8374 <enum name="liveAudio" value="0x1" /> 8375 <!-- Allow selection of user (app-specified) routes. --> 8376 <enum name="user" value="0x800000" /> 8377 </attr> 8378 8379 <attr name="minWidth" /> 8380 <attr name="minHeight" /> 8381 </declare-styleable> 8382 8383 <!-- PagedView specific attributes. These attributes are used to customize 8384 a PagedView view in XML files. --> 8385 <declare-styleable name="PagedView"> 8386 <!-- The space between adjacent pages of the PagedView. --> 8387 <attr name="pageSpacing" format="dimension" /> 8388 <!-- The padding for the scroll indicator area. --> 8389 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 8390 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 8391 </declare-styleable> 8392 8393 <declare-styleable name="KeyguardGlowStripView"> 8394 <attr name="dotSize" format="dimension" /> 8395 <attr name="numDots" format="integer" /> 8396 <attr name="glowDot" format="reference" /> 8397 <attr name="leftToRight" format="boolean" /> 8398 </declare-styleable> 8399 8400 <!-- Some child types have special behavior. --> 8401 <attr name="layout_childType"> 8402 <!-- No special behavior. Layout will proceed as normal. --> 8403 <enum name="none" value="0" /> 8404 <!-- Widget container. 8405 This will be resized in response to certain events. --> 8406 <enum name="widget" value="1" /> 8407 <!-- Security challenge container. 8408 This will be dismissed/shown in response to certain events, 8409 possibly obscuring widget elements. --> 8410 <enum name="challenge" value="2" /> 8411 <!-- User switcher. 8412 This will consume space from the total layout area. --> 8413 <enum name="userSwitcher" value="3" /> 8414 <!-- Scrim. This will block access to child views that 8415 come before it in the child list in bouncer mode. --> 8416 <enum name="scrim" value="4" /> 8417 <!-- The home for widgets. All widgets will be descendents of this. --> 8418 <enum name="widgets" value="5" /> 8419 <!-- This is a handle that is used for expanding the 8420 security challenge container when it is collapsed. --> 8421 <enum name="expandChallengeHandle" value="6" /> 8422 <!-- Delete drop target. This will be the drop target to delete pages. --> 8423 <enum name="pageDeleteDropTarget" value="7" /> 8424 </attr> 8425 8426 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 8427 tags. --> 8428 <declare-styleable name="FragmentBreadCrumbs"> 8429 <attr name="gravity" /> 8430 <attr name="itemLayout" format="reference" /> 8431 <attr name="itemColor" format="color|reference" /> 8432 </declare-styleable> 8433 8434 <declare-styleable name="Toolbar"> 8435 <attr name="titleTextAppearance" format="reference" /> 8436 <attr name="subtitleTextAppearance" format="reference" /> 8437 <attr name="title" /> 8438 <attr name="subtitle" /> 8439 <attr name="gravity" /> 8440 <!-- Specifies extra space on the left, start, right and end sides 8441 of the toolbar's title. Margin values should be positive. --> 8442 <attr name="titleMargin" format="dimension" /> 8443 <!-- Specifies extra space on the start side of the toolbar's title. 8444 If both this attribute and titleMargin are specified, then this 8445 attribute takes precedence. Margin values should be positive. --> 8446 <attr name="titleMarginStart" format="dimension" /> 8447 <!-- Specifies extra space on the end side of the toolbar's title. 8448 If both this attribute and titleMargin are specified, then this 8449 attribute takes precedence. Margin values should be positive. --> 8450 <attr name="titleMarginEnd" format="dimension" /> 8451 <!-- Specifies extra space on the top side of the toolbar's title. 8452 If both this attribute and titleMargin are specified, then this 8453 attribute takes precedence. Margin values should be positive. --> 8454 <attr name="titleMarginTop" format="dimension" /> 8455 <!-- Specifies extra space on the bottom side of the toolbar's title. 8456 If both this attribute and titleMargin are specified, then this 8457 attribute takes precedence. Margin values should be positive. --> 8458 <attr name="titleMarginBottom" format="dimension" /> 8459 <attr name="contentInsetStart" /> 8460 <attr name="contentInsetEnd" /> 8461 <attr name="contentInsetLeft" /> 8462 <attr name="contentInsetRight" /> 8463 <attr name="contentInsetStartWithNavigation" /> 8464 <attr name="contentInsetEndWithActions" /> 8465 <attr name="maxButtonHeight" format="dimension" /> 8466 <attr name="navigationButtonStyle" format="reference" /> 8467 <attr name="buttonGravity"> 8468 <!-- Push object to the top of its container, not changing its size. --> 8469 <flag name="top" value="0x30" /> 8470 <!-- Push object to the bottom of its container, not changing its size. --> 8471 <flag name="bottom" value="0x50" /> 8472 </attr> 8473 <!-- Icon drawable to use for the collapse button. --> 8474 <attr name="collapseIcon" format="reference" /> 8475 <!-- Text to set as the content description for the collapse button. --> 8476 <attr name="collapseContentDescription" format="string" /> 8477 <!-- Reference to a theme that should be used to inflate popups 8478 shown by widgets in the toolbar. --> 8479 <attr name="popupTheme" format="reference" /> 8480 <!-- Icon drawable to use for the navigation button located at 8481 the start of the toolbar. --> 8482 <attr name="navigationIcon" format="reference" /> 8483 <!-- Text to set as the content description for the navigation button 8484 located at the start of the toolbar. --> 8485 <attr name="navigationContentDescription" format="string" /> 8486 <!-- Drawable to set as the logo that appears at the starting side of 8487 the Toolbar, just after the navigation button. --> 8488 <attr name="logo" /> 8489 <!-- A content description string to describe the appearance of the 8490 associated logo image. --> 8491 <attr name="logoDescription" format="string" /> 8492 <!-- A color to apply to the title string. --> 8493 <attr name="titleTextColor" format="color" /> 8494 <!-- A color to apply to the subtitle string. --> 8495 <attr name="subtitleTextColor" format="color" /> 8496 </declare-styleable> 8497 8498 <declare-styleable name="Toolbar_LayoutParams"> 8499 <attr name="layout_gravity" /> 8500 </declare-styleable> 8501 8502 <declare-styleable name="ActionBar_LayoutParams"> 8503 <attr name="layout_gravity" /> 8504 </declare-styleable> 8505 8506 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 8507 <declare-styleable name="EdgeEffect"> 8508 <attr name="colorEdgeEffect" /> 8509 </declare-styleable> 8510 8511 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 8512 {@link android.media.tv.TvInputService}, which is referenced from its 8513 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 8514 Described here are the attributes that can be included in that tag. --> 8515 <declare-styleable name="TvInputService"> 8516 <!-- Component name of an activity that allows the user to set up this service. --> 8517 <attr name="setupActivity" format="string" /> 8518 <!-- Component name of an activity that allows the user to modify the settings for this 8519 service. 8520 {@deprecated This value is deprecated and not used by the framework starting from API 8521 level 26. Use setupActivity instead.} --> 8522 <attr name="settingsActivity" /> 8523 <!-- Attribute whether the TV input service can record programs. This value can be changed 8524 at runtime by calling 8525 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8526 <attr name="canRecord" format="boolean" /> 8527 <!-- The number of tuners that the TV input service is associated with. This value can be 8528 changed at runtime by calling 8529 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8530 <attr name="tunerCount" format="integer" /> 8531 </declare-styleable> 8532 8533 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 8534 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8535 which is referenced from its 8536 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8537 <declare-styleable name="RatingSystemDefinition"> 8538 <!-- The unique name of the content rating system. --> 8539 <attr name="name" /> 8540 <!-- The title of the content rating system which is shown to the user. --> 8541 <attr name="title" /> 8542 <!-- The short description of the content rating system. --> 8543 <attr name="description" /> 8544 <!-- The country code associated with the content rating system, which consists of two 8545 uppercase letters that conform to the ISO 3166 standard. --> 8546 <attr name="country" format="string" /> 8547 </declare-styleable> 8548 8549 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 8550 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8551 which is referenced from its 8552 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8553 <declare-styleable name="RatingDefinition"> 8554 <!-- The unique name of the content rating. --> 8555 <attr name="name" /> 8556 <!-- The title of the content rating which is shown to the user. --> 8557 <attr name="title" /> 8558 <!-- The short description of the content rating. --> 8559 <attr name="description" /> 8560 <!-- The age associated with the content rating. The content of this rating is suitable for 8561 people of this age or above. --> 8562 <attr name="contentAgeHint" format="integer" /> 8563 </declare-styleable> 8564 8565 <declare-styleable name="ResolverDrawerLayout"> 8566 <attr name="maxWidth" /> 8567 <attr name="maxCollapsedHeight" format="dimension" /> 8568 <attr name="maxCollapsedHeightSmall" format="dimension" /> 8569 <!-- Whether the Drawer should be positioned at the top rather than at the bottom. --> 8570 <attr name="showAtTop" format="boolean" /> 8571 </declare-styleable> 8572 8573 <declare-styleable name="MessagingLinearLayout"> 8574 <attr name="spacing" /> 8575 </declare-styleable> 8576 8577 <declare-styleable name="DateTimeView"> 8578 <attr name="showRelative" format="boolean" /> 8579 </declare-styleable> 8580 8581 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 8582 <attr name="layout_alwaysShow" format="boolean" /> 8583 <attr name="layout_ignoreOffset" format="boolean" /> 8584 <attr name="layout_gravity" /> 8585 <attr name="layout_hasNestedScrollIndicator" format="boolean" /> 8586 </declare-styleable> 8587 8588 <!-- @hide --> 8589 <declare-styleable name="Lighting"> 8590 <attr name="lightY" /> 8591 <attr name="lightZ" /> 8592 <attr name="lightRadius" /> 8593 <attr name="ambientShadowAlpha" /> 8594 <attr name="spotShadowAlpha" /> 8595 </declare-styleable> 8596 8597 <declare-styleable name="RestrictionEntry"> 8598 <attr name="key" /> 8599 <attr name="restrictionType"> 8600 <enum name="hidden" value="0" /> 8601 <enum name="bool" value="1" /> 8602 <enum name="choice" value="2" /> 8603 <enum name="multi-select" value="4" /> 8604 <enum name="integer" value="5" /> 8605 <enum name="string" value="6" /> 8606 <enum name="bundle" value="7" /> 8607 <enum name="bundle_array" value="8" /> 8608 </attr> 8609 <attr name="title" /> 8610 <attr name="description" /> 8611 <attr name="defaultValue" /> 8612 <attr name="entries" /> 8613 <attr name="entryValues" /> 8614 </declare-styleable> 8615 8616 <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. --> 8617 <declare-styleable name="GradientColor"> 8618 <!-- Start color of the gradient. --> 8619 <attr name="startColor" /> 8620 <!-- Optional center color. --> 8621 <attr name="centerColor" /> 8622 <!-- End color of the gradient. --> 8623 <attr name="endColor" /> 8624 <!-- Type of gradient. The default type is linear. --> 8625 <attr name="type" /> 8626 8627 <!-- Only applied to RadialGradient--> 8628 <!-- Radius of the gradient, used only with radial gradient. --> 8629 <attr name="gradientRadius" /> 8630 8631 <!-- Only applied to SweepGradient / RadialGradient--> 8632 <!-- X coordinate of the center of the gradient within the path. --> 8633 <attr name="centerX" /> 8634 <!-- Y coordinate of the center of the gradient within the path. --> 8635 <attr name="centerY" /> 8636 8637 <!-- LinearGradient specific --> 8638 <!-- X coordinate of the start point origin of the gradient. 8639 Defined in same coordinates as the path itself --> 8640 <attr name="startX" format="float" /> 8641 <!-- Y coordinate of the start point of the gradient within the shape. 8642 Defined in same coordinates as the path itself --> 8643 <attr name="startY" format="float" /> 8644 <!-- X coordinate of the end point origin of the gradient. 8645 Defined in same coordinates as the path itself --> 8646 <attr name="endX" format="float" /> 8647 <!-- Y coordinate of the end point of the gradient within the shape. 8648 Defined in same coordinates as the path itself --> 8649 <attr name="endY" format="float" /> 8650 8651 <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. --> 8652 <attr name="tileMode"/> 8653 </declare-styleable> 8654 8655 <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient 8656 Colors defined in <item> override the simple color attributes such as 8657 "startColor / centerColor / endColor" are ignored. --> 8658 <declare-styleable name="GradientColorItem"> 8659 <!-- The offset (or ratio) of this current color item inside the gradient. 8660 The value is only meaningful when it is between 0 and 1. --> 8661 <attr name="offset" format="float" /> 8662 <!-- The current color for the offset inside the gradient. --> 8663 <attr name="color" /> 8664 </declare-styleable> 8665 8666 <!-- @hide Attributes which will be read by the Activity to intialize the 8667 base activity TaskDescription. --> 8668 <declare-styleable name="ActivityTaskDescription"> 8669 <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 8670 color. --> 8671 <attr name="colorPrimary" /> 8672 <!-- @hide From Theme.colorBackground, used for the TaskDescription background 8673 color. --> 8674 <attr name="colorBackground" /> 8675 <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. --> 8676 <attr name="statusBarColor"/> 8677 <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar 8678 color. --> 8679 <attr name="navigationBarColor"/> 8680 </declare-styleable> 8681 8682 <declare-styleable name="Shortcut"> 8683 <attr name="shortcutId" format="string" /> 8684 <attr name="enabled" /> 8685 <attr name="icon" /> 8686 <attr name="shortcutShortLabel" format="reference" /> 8687 <attr name="shortcutLongLabel" format="reference" /> 8688 <attr name="shortcutDisabledMessage" format="reference" /> 8689 </declare-styleable> 8690 8691 <declare-styleable name="ShortcutCategories"> 8692 <attr name="name" /> 8693 </declare-styleable> 8694 8695 <!-- Attributes that are read when parsing a <font> tag, which is a child of 8696 <font-family>. This represents an actual font file and its attributes. --> 8697 <declare-styleable name="FontFamilyFont"> 8698 <!-- The style of the given font file. This will be used when the font is being loaded into 8699 the font stack and will override any style information in the font's header tables. If 8700 unspecified, the value in the font's header tables will be used. --> 8701 <attr name="fontStyle"> 8702 <enum name="normal" value="0" /> 8703 <enum name="italic" value="1" /> 8704 </attr> 8705 <!-- The reference to the font file to be used. This should be a file in the res/font folder 8706 and should therefore have an R reference value. E.g. @font/myfont --> 8707 <attr name="font" format="reference" /> 8708 <!-- The weight of the given font file. This will be used when the font is being loaded into 8709 the font stack and will override any weight information in the font's header tables. Must 8710 be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most 8711 common values are 400 for regular weight and 700 for bold weight. If unspecified, the value 8712 in the font's header tables will be used. --> 8713 <attr name="fontWeight" format="integer" /> 8714 <!-- The index of the font in the ttc (TrueType Collection) font file. If the font file 8715 referenced is not in the ttc format, this attribute needs not be specified. 8716 {@see android.graphics.Typeface#Builder.setTtcIndex(int)}. 8717 The default value is 0. More details about the TrueType Collection font format can be found 8718 here: https://en.wikipedia.org/wiki/TrueType#TrueType_Collection. --> 8719 <attr name="ttcIndex" format="integer" /> 8720 <!-- The variation settings to be applied to the font. The string should be in the following 8721 format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be 8722 used, or the font used does not support variation settings, this attribute needs not be 8723 specified. --> 8724 <attr name="fontVariationSettings" format="string" /> 8725 </declare-styleable> 8726 8727 <!-- Attributes that are read when parsing a <fontfamily> tag. --> 8728 <declare-styleable name="FontFamily"> 8729 <!-- The authority of the Font Provider to be used for the request. --> 8730 <attr name="fontProviderAuthority" format="string" /> 8731 <!-- The package for the Font Provider to be used for the request. This is used to verify 8732 the identity of the provider. --> 8733 <attr name="fontProviderPackage" format="string" /> 8734 <!-- The query to be sent over to the provider. Refer to your font provider's documentation 8735 on the format of this string. --> 8736 <attr name="fontProviderQuery" format="string" /> 8737 <!-- The sets of hashes for the certificates the provider should be signed with. This is 8738 used to verify the identity of the provider, and is only required if the provider is not 8739 part of the system image. This value may point to one list or a list of lists, where each 8740 individual list represents one collection of signature hashes. Refer to your font provider's 8741 documentation for these values. --> 8742 <attr name="fontProviderCerts" format="reference" /> 8743 </declare-styleable> 8744 8745 <!-- @hide --> 8746 <declare-styleable name="RecyclerView"> 8747 <attr name="layoutManager" format="string" /> 8748 <attr name="orientation" /> 8749 <attr name="descendantFocusability" /> 8750 <attr name="spanCount" format="integer"/> 8751 <attr name="reverseLayout" format="boolean" /> 8752 <attr name="stackFromEnd" format="boolean" /> 8753 </declare-styleable> 8754 8755 <!-- @hide --> 8756 <declare-styleable name="NotificationTheme"> 8757 <attr name="notificationHeaderStyle" format="reference" /> 8758 <attr name="notificationHeaderTextAppearance" format="reference" /> 8759 <attr name="notificationHeaderIconSize" format="dimension" /> 8760 <attr name="notificationHeaderAppNameVisibility" format="enum"> 8761 <!-- Visible on screen; the default value. --> 8762 <enum name="visible" value="0" /> 8763 <!-- Not displayed, but taken into account during layout (space is left for it). --> 8764 <enum name="invisible" value="1" /> 8765 <!-- Completely hidden, as if the view had not been added. --> 8766 <enum name="gone" value="2" /> 8767 </attr> 8768 </declare-styleable> 8769 8770 <attr name="lockPatternStyle" format="reference" /> 8771</resources> 8772