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