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