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