attrs.xml revision 6934044fd7d2de12c21e3cc9b7da589ec3b71e8e
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 <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> 44 <attr name="disabledAlpha" format="float" /> 45 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 46 <attr name="backgroundDimAmount" format="float" /> 47 <!-- Control whether dimming behind the window is enabled. The default 48 theme does not set this value, meaning it is based on whether the 49 window is floating. --> 50 <attr name="backgroundDimEnabled" format="boolean" /> 51 52 <!-- =========== --> 53 <!-- Text styles --> 54 <!-- =========== --> 55 <eat-comment /> 56 57 <!-- Default appearance of text: color, typeface, size, and style. --> 58 <attr name="textAppearance" format="reference" /> 59 <!-- Default appearance of text against an inverted background: 60 color, typeface, size, and style. --> 61 <attr name="textAppearanceInverse" format="reference" /> 62 63 <!-- The most prominent text color. --> 64 <attr name="textColorPrimary" format="reference|color" /> 65 <!-- Secondary text color. --> 66 <attr name="textColorSecondary" format="reference|color" /> 67 <!-- Tertiary text color. --> 68 <attr name="textColorTertiary" format="reference|color" /> 69 70 <!-- Primary inverse text color, useful for inverted backgrounds. --> 71 <attr name="textColorPrimaryInverse" format="reference|color" /> 72 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 73 <attr name="textColorSecondaryInverse" format="reference|color" /> 74 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 75 <attr name="textColorTertiaryInverse" format="reference|color" /> 76 77 <!-- Inverse hint text color. --> 78 <attr name="textColorHintInverse" format="reference|color" /> 79 80 <!-- Bright text color. Only differentiates based on the disabled state. --> 81 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 82 83 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 84 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 85 86 <!-- Bright text color. This does not differentiate the disabled state. As an example, 87 buttons use this since they display the disabled state via the background and not the 88 foreground text color. --> 89 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 90 <!-- Dim text color. This does not differentiate the disabled state. --> 91 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 92 93 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 94 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 95 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 96 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 97 98 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 99 <attr name="textColorSearchUrl" format="reference|color" /> 100 101 <!-- Color of highlighted text, when used in a light theme. --> 102 <attr name="textColorHighlightInverse" format="reference|color" /> 103 <!-- Color of link text (URLs), when used in a light theme. --> 104 <attr name="textColorLinkInverse" format="reference|color" /> 105 106 <!-- Color of list item text in alert dialogs. --> 107 <attr name="textColorAlertDialogListItem" format="reference|color" /> 108 109 <!-- Search widget more corpus result item background. --> 110 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 111 112 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 113 <attr name="textAppearanceLarge" format="reference" /> 114 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 115 <attr name="textAppearanceMedium" format="reference" /> 116 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 117 <attr name="textAppearanceSmall" format="reference" /> 118 119 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 120 <attr name="textAppearanceLargeInverse" format="reference" /> 121 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 122 <attr name="textAppearanceMediumInverse" format="reference" /> 123 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 124 <attr name="textAppearanceSmallInverse" format="reference" /> 125 126 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 127 <attr name="textAppearanceSearchResultTitle" format="reference" /> 128 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 129 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 130 131 <!-- Text color, typeface, size, and style for the text inside of a button. --> 132 <attr name="textAppearanceButton" format="reference" /> 133 134 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 135 <attr name="textAppearanceLargePopupMenu" format="reference" /> 136 137 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 138 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 139 140 <!-- EditText text foreground color. --> 141 <attr name="editTextColor" format="reference|color" /> 142 <!-- EditText background drawable. --> 143 <attr name="editTextBackground" format="reference" /> 144 145 <!-- Popup text displayed in TextView when setError is used. --> 146 <attr name="errorMessageBackground" format="reference" /> 147 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 148 <attr name="errorMessageAboveBackground" format="reference" /> 149 150 <!-- A styled string, specifying the style to be used for showing 151 inline candidate text when composing with an input method. The 152 text itself will be ignored, but the style spans will be applied 153 to the candidate text as it is edited. --> 154 <attr name="candidatesTextStyleSpans" format="reference|string" /> 155 156 <!-- Drawable to use for check marks. --> 157 <attr name="textCheckMark" format="reference" /> 158 <attr name="textCheckMarkInverse" format="reference" /> 159 160 <!-- Drawable to use for multiple choice indicators. --> 161 <attr name="listChoiceIndicatorMultiple" format="reference" /> 162 163 <!-- Drawable to use for single choice indicators. --> 164 <attr name="listChoiceIndicatorSingle" format="reference" /> 165 166 <!-- Drawable used as a background for selected list items. --> 167 <attr name="listChoiceBackgroundIndicator" format="reference" /> 168 169 <!-- Drawable used as a background for activated items. --> 170 <attr name="activatedBackgroundIndicator" format="reference" /> 171 172 <!-- ============= --> 173 <!-- Button styles --> 174 <!-- ============= --> 175 <eat-comment /> 176 177 <!-- Normal Button style. --> 178 <attr name="buttonStyle" format="reference" /> 179 180 <!-- Small Button style. --> 181 <attr name="buttonStyleSmall" format="reference" /> 182 183 <!-- Button style to inset into an EditText. --> 184 <attr name="buttonStyleInset" format="reference" /> 185 186 <!-- ToggleButton style. --> 187 <attr name="buttonStyleToggle" format="reference" /> 188 189 <!-- ============== --> 190 <!-- Gallery styles --> 191 <!-- ============== --> 192 <eat-comment /> 193 194 <!-- The preferred background for gallery items. This should be set 195 as the background of any Views you provide from the Adapter. --> 196 <attr name="galleryItemBackground" format="reference" /> 197 198 <!-- =========== --> 199 <!-- List styles --> 200 <!-- =========== --> 201 <eat-comment /> 202 203 <!-- The preferred list item height. --> 204 <attr name="listPreferredItemHeight" format="dimension" /> 205 <!-- The drawable for the list divider. --> 206 <!-- The list item height for search results. @hide --> 207 <attr name="searchResultListItemHeight" format="dimension" /> 208 <attr name="listDivider" format="reference" /> 209 <!-- The list divider used in alert dialogs. --> 210 <attr name="listDividerAlertDialog" format="reference" /> 211 <!-- TextView style for list separators. --> 212 <attr name="listSeparatorTextViewStyle" format="reference" /> 213 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 214 use expandableListPreferredChildPaddingLeft). This takes into account 215 the indicator that will be shown to next to the item. --> 216 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 217 <!-- The preferred left padding for an expandable list item that is a child. 218 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 219 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 220 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 221 indicator, use expandableListPreferredChildIndicatorLeft. --> 222 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 223 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 224 indicator, use expandableListPreferredChildIndicatorRight. --> 225 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 226 <!-- The preferred left bound for an expandable list child's indicator. --> 227 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 228 <!-- The preferred right bound for an expandable list child's indicator. --> 229 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 230 231 <!-- The preferred item height for dropdown lists. --> 232 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 233 234 <!-- ============= --> 235 <!-- Window styles --> 236 <!-- ============= --> 237 <eat-comment /> 238 239 <!-- Drawable to use as the overall window background. As of 240 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 241 be a selector that uses state_accelerated to pick a non-solid 242 color when running on devices that can draw such a bitmap 243 with complex compositing on top at 60fps. 244 245 <p>There are a few special considerations to use when setting this 246 drawable: 247 <ul> 248 <li> This information will be used to infer the pixel format 249 for your window's surface. If the drawable has any 250 non-opaque pixels, your window will be translucent 251 (32 bpp). 252 <li> If you want to draw the entire background 253 yourself, you should set this drawable to some solid 254 color that closely matches that background (so the 255 system's preview of your window will match), and 256 then in code manually set your window's background to 257 null so it will not be drawn. 258 </ul> --> 259 <attr name="windowBackground" format="reference" /> 260 <!-- Drawable to use as a frame around the window. --> 261 <attr name="windowFrame" format="reference" /> 262 <!-- Flag indicating whether there should be no title on this window. --> 263 <attr name="windowNoTitle" format="boolean" /> 264 <!-- Flag indicating whether this window should fill the entire screen. --> 265 <attr name="windowFullscreen" format="boolean" /> 266 <!-- Flag indicating whether this is a floating window. --> 267 <attr name="windowIsFloating" format="boolean" /> 268 <!-- Flag indicating whether this is a translucent window. --> 269 <attr name="windowIsTranslucent" format="boolean" /> 270 <!-- Flag indicating that this window's background should be the 271 user's current wallpaper. --> 272 <attr name="windowShowWallpaper" format="boolean" /> 273 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 274 to place a shadow below the title. --> 275 <attr name="windowContentOverlay" format="reference" /> 276 <!-- The style resource to use for a window's title bar height. --> 277 <attr name="windowTitleSize" format="dimension" /> 278 <!-- The style resource to use for a window's title text. --> 279 <attr name="windowTitleStyle" format="reference" /> 280 <!-- The style resource to use for a window's title area. --> 281 <attr name="windowTitleBackgroundStyle" format="reference" /> 282 283 <!-- Reference to a style resource holding 284 the set of window animations to use, which can be 285 any of the attributes defined by 286 {@link android.R.styleable#WindowAnimation}. --> 287 <attr name="windowAnimationStyle" format="reference" /> 288 289 <!-- Flag indicating whether this window should have an Action Bar 290 in place of the usual title bar. --> 291 <attr name="windowActionBar" format="boolean" /> 292 293 <!-- Flag indicating whether this window's Action Bar should overlay 294 application content. Does nothing if the window would not 295 have an Action Bar. --> 296 <attr name="windowActionBarOverlay" format="boolean" /> 297 298 <!-- Flag indicating whether action modes should overlay window content 299 when there is not reserved space for their UI (such as an Action Bar). --> 300 <attr name="windowActionModeOverlay" format="boolean" /> 301 302 <!-- Defines the default soft input state that this window would 303 like when it is displayed. --> 304 <attr name="windowSoftInputMode"> 305 <!-- Not specified, use what the system thinks is best. This 306 is the default. --> 307 <flag name="stateUnspecified" value="0" /> 308 <!-- Leave the soft input window as-is, in whatever state it 309 last was. --> 310 <flag name="stateUnchanged" value="1" /> 311 <!-- Make the soft input area hidden when normally appropriate 312 (when the user is navigating forward to your window). --> 313 <flag name="stateHidden" value="2" /> 314 <!-- Always make the soft input area hidden when this window 315 has input focus. --> 316 <flag name="stateAlwaysHidden" value="3" /> 317 <!-- Make the soft input area visible when normally appropriate 318 (when the user is navigating forward to your window). --> 319 <flag name="stateVisible" value="4" /> 320 <!-- Always make the soft input area visible when this window 321 has input focus. --> 322 <flag name="stateAlwaysVisible" value="5" /> 323 324 <!-- The window resize/pan adjustment has not been specified, 325 the system will automatically select between resize and pan 326 modes, depending 327 on whether the content of the window has any layout views 328 that can scroll their contents. If there is such a view, 329 then the window will be resized, with the assumption being 330 that the resizeable area can be reduced to make room for 331 the input UI. --> 332 <flag name="adjustUnspecified" value="0x00" /> 333 <!-- Always resize the window: the content area of the window is 334 reduced to make room for the soft input area. --> 335 <flag name="adjustResize" value="0x10" /> 336 <!-- Don't resize the window to make room for the soft input area; 337 instead pan the contents of the window as focus moves inside 338 of it so that the user can see what they are typing. This is 339 generally less desireable than panning because the user may 340 need to close the input area to get at and interact with 341 parts of the window. --> 342 <flag name="adjustPan" value="0x20" /> 343 <!-- Don't resize <em>or</em> pan the window to make room for the 344 soft input area; the window is never adjusted for it. --> 345 <flag name="adjustNothing" value="0x30" /> 346 </attr> 347 348 <!-- Flag allowing you to disable the preview animation for a window. 349 The default value is false; if set to true, the system can never 350 use the window's theme to show a preview of it before your 351 actual instance is shown to the user. --> 352 <attr name="windowDisablePreview" format="boolean" /> 353 354 <!-- Flag indicating that this window should not be displayed at all. 355 The default value is false; if set to true, and this window is 356 the main window of an Activity, then it will never actually 357 be added to the window manager. This means that your activity 358 must immediately quit without waiting for user interaction, 359 because there will be no such interaction coming. --> 360 <attr name="windowNoDisplay" format="boolean" /> 361 362 <!-- Flag indicating that this window should allow touches to be split 363 across other windows that also support split touch. 364 The default value is true for applications with a targetSdkVersion 365 of Honeycomb or newer; false otherwise. 366 When this flag is false, the first pointer that goes down determines 367 the window to which all subsequent touches go until all pointers go up. 368 When this flag is true, each pointer (not necessarily the first) that 369 goes down determines the window to which all subsequent touches of that 370 pointer will go until that pointers go up thereby enabling touches 371 with multiple pointers to be split across multiple windows. --> 372 <attr name="windowEnableSplitTouch" format="boolean" /> 373 374 <!-- Control whether a container should automatically close itself if 375 the user touches outside of it. This only applies to activities 376 and dialogs. 377 378 <p>Note: this attribute will only be respected for applications 379 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 380 or later. --> 381 <attr name="windowCloseOnTouchOutside" format="boolean" /> 382 383 <!-- ============ --> 384 <!-- Alert Dialog styles --> 385 <!-- ============ --> 386 <eat-comment /> 387 <attr name="alertDialogStyle" format="reference" /> 388 <attr name="alertDialogButtonGroupStyle" format="reference" /> 389 <attr name="alertDialogCenterButtons" format="boolean" /> 390 391 <!-- ============== --> 392 <!-- Image elements --> 393 <!-- ============== --> 394 <eat-comment /> 395 396 <!-- Background that can be used behind parts of a UI that provide 397 details on data the user is selecting. For example, this is 398 the background element of PreferenceActivity's embedded 399 preference fragment. --> 400 <attr name="detailsElementBackground" format="reference" /> 401 402 <!-- ============ --> 403 <!-- Panel styles --> 404 <!-- ============ --> 405 <eat-comment /> 406 407 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 408 <attr name="panelBackground" format="reference|color" /> 409 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 410 <attr name="panelFullBackground" format="reference|color" /> 411 <!-- Default color of foreground panel imagery. --> 412 <attr name="panelColorForeground" format="reference|color" /> 413 <!-- Color that matches (as closely as possible) the panel background. --> 414 <attr name="panelColorBackground" format="reference|color" /> 415 <!-- Default appearance of panel text. --> 416 <attr name="panelTextAppearance" format="reference" /> 417 418 <!-- =================== --> 419 <!-- Other widget styles --> 420 <!-- =================== --> 421 <eat-comment /> 422 423 <!-- Default AbsListView style. --> 424 <attr name="absListViewStyle" format="reference" /> 425 <!-- Default AutoCompleteTextView style. --> 426 <attr name="autoCompleteTextViewStyle" format="reference" /> 427 <!-- Default Checkbox style. --> 428 <attr name="checkboxStyle" format="reference" /> 429 <!-- Default ListView style for drop downs. --> 430 <attr name="dropDownListViewStyle" format="reference" /> 431 <!-- Default EditText style. --> 432 <attr name="editTextStyle" format="reference" /> 433 <!-- Default ExpandableListView style. --> 434 <attr name="expandableListViewStyle" format="reference" /> 435 <!-- ExpandableListView with white background. --> 436 <attr name="expandableListViewWhiteStyle" format="reference" /> 437 <!-- Default Gallery style. --> 438 <attr name="galleryStyle" format="reference" /> 439 <!-- Default GestureOverlayView style. --> 440 <attr name="gestureOverlayViewStyle" format="reference" /> 441 <!-- Default GridView style. --> 442 <attr name="gridViewStyle" format="reference" /> 443 <!-- The style resource to use for an ImageButton. --> 444 <attr name="imageButtonStyle" format="reference" /> 445 <!-- The style resource to use for an ImageButton that is an image well. --> 446 <attr name="imageWellStyle" format="reference" /> 447 <!-- Default ListView style. --> 448 <attr name="listViewStyle" format="reference" /> 449 <!-- ListView with white background. --> 450 <attr name="listViewWhiteStyle" format="reference" /> 451 <!-- Default PopupWindow style. --> 452 <attr name="popupWindowStyle" format="reference" /> 453 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 454 <attr name="progressBarStyle" format="reference" /> 455 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 456 <attr name="progressBarStyleHorizontal" format="reference" /> 457 <!-- Small ProgressBar style. This is a small circular progress bar. --> 458 <attr name="progressBarStyleSmall" format="reference" /> 459 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 460 <attr name="progressBarStyleSmallTitle" format="reference" /> 461 <!-- Large ProgressBar style. This is a large circular progress bar. --> 462 <attr name="progressBarStyleLarge" format="reference" /> 463 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 464 <attr name="progressBarStyleInverse" format="reference" /> 465 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 466 <attr name="progressBarStyleSmallInverse" format="reference" /> 467 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 468 <attr name="progressBarStyleLargeInverse" format="reference" /> 469 <!-- Default SeekBar style. --> 470 <attr name="seekBarStyle" format="reference" /> 471 <!-- Default RatingBar style. --> 472 <attr name="ratingBarStyle" format="reference" /> 473 <!-- Indicator RatingBar style. --> 474 <attr name="ratingBarStyleIndicator" format="reference" /> 475 <!-- Small indicator RatingBar style. --> 476 <attr name="ratingBarStyleSmall" format="reference" /> 477 <!-- Default RadioButton style. --> 478 <attr name="radioButtonStyle" format="reference" /> 479 <!-- Default ScrollView style. --> 480 <attr name="scrollViewStyle" format="reference" /> 481 <!-- Default HorizontalScrollView style. --> 482 <attr name="horizontalScrollViewStyle" format="reference" /> 483 <!-- Default Spinner style. --> 484 <attr name="spinnerStyle" format="reference" /> 485 <!-- Default dropdown Spinner style. --> 486 <attr name="dropDownSpinnerStyle" format="reference" /> 487 <!-- Default ActionBar dropdown style. --> 488 <attr name="actionDropDownStyle" format="reference" /> 489 <!-- Default action button style. --> 490 <attr name="actionButtonStyle" format="reference" /> 491 <!-- Default Star style. --> 492 <attr name="starStyle" format="reference" /> 493 <!-- Default TabWidget style. --> 494 <attr name="tabWidgetStyle" format="reference" /> 495 <!-- Default TextView style. --> 496 <attr name="textViewStyle" format="reference" /> 497 <!-- Default WebTextView style. --> 498 <attr name="webTextViewStyle" format="reference" /> 499 <!-- Default WebView style. --> 500 <attr name="webViewStyle" format="reference" /> 501 <!-- Default style for drop down items. --> 502 <attr name="dropDownItemStyle" format="reference" /> 503 <!-- Default style for spinner drop down items. --> 504 <attr name="spinnerDropDownItemStyle" format="reference" /> 505 <!-- Default style for drop down hints. --> 506 <attr name="dropDownHintAppearance" format="reference" /> 507 <!-- Default spinner item style. --> 508 <attr name="spinnerItemStyle" format="reference" /> 509 <!-- Default MapView style. --> 510 <attr name="mapViewStyle" format="reference" /> 511 <!-- Drawable used as an overlay on top of quickcontact photos. --> 512 <attr name="quickContactBadgeOverlay" format="reference" /> 513 <!-- Default quickcontact badge style with small quickcontact window. --> 514 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 515 <!-- Default quickcontact badge style with medium quickcontact window. --> 516 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 517 <!-- Default quickcontact badge style with large quickcontact window. --> 518 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 519 <!-- Default quickcontact badge style with small quickcontact window. --> 520 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 521 <!-- Default quickcontact badge style with medium quickcontact window. --> 522 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 523 <!-- Default quickcontact badge style with large quickcontact window. --> 524 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 525 <!-- Reference to a style that will be used for the window containing a text 526 selection anchor. --> 527 <attr name="textSelectHandleWindowStyle" format="reference" /> 528 <!-- Reference to a style that will be used for the window containing a list of possible 529 text suggestions in an EditText. --> 530 <attr name="textSuggestionsWindowStyle" format="reference" /> 531 <!-- Default ListPopupWindow style. --> 532 <attr name="listPopupWindowStyle" format="reference" /> 533 <!-- Default PopupMenu style. --> 534 <attr name="popupMenuStyle" format="reference" /> 535 536 <!-- NumberPicker style. --> 537 <attr name="numberPickerStyle" format="reference" /> 538 <!-- NumberPicker up button style. --> 539 <attr name="numberPickerUpButtonStyle" format="reference" /> 540 <!-- NumberPicker down button style. --> 541 <attr name="numberPickerDownButtonStyle" format="reference" /> 542 <!-- NumberPicker input text style. --> 543 <attr name="numberPickerInputTextStyle" format="reference" /> 544 545 <!-- The CalndarView style. --> 546 <attr name="calendarViewStyle" format="reference" /> 547 548 <!-- The TimePicker style. --> 549 <attr name="timePickerStyle" format="reference" /> 550 551 <!-- The DatePicker style. --> 552 <attr name="datePickerStyle" format="reference" /> 553 554 <!-- Fast scroller styles --> 555 <eat-comment /> 556 557 <!-- Drawable to use as the fast scroll thumb. --> 558 <attr name="fastScrollThumbDrawable" format="reference" /> 559 <!-- Drawable to use as the fast scroll index preview window background 560 when shown on the right. --> 561 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 562 <!-- Drawable to use as the fast scroll index preview window background 563 when shown on the left. --> 564 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 565 <!-- Drawable to use as the track for the fast scroll thumb. 566 This may be null. --> 567 <attr name="fastScrollTrackDrawable" format="reference" /> 568 <!-- Position of the fast scroll index overlay window. --> 569 <attr name="fastScrollOverlayPosition"> 570 <enum name="floating" value="0" /> 571 <enum name="atThumb" value="1" /> 572 </attr> 573 <!-- Text color for the fast scroll index overlay. Make sure it 574 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 575 <attr name="fastScrollTextColor" format="color" /> 576 577 <!-- =================== --> 578 <!-- Action bar styles --> 579 <!-- =================== --> 580 <eat-comment /> 581 <!-- Default style for tabs within an action bar --> 582 <attr name="actionBarTabStyle" format="reference" /> 583 <attr name="actionBarTabBarStyle" format="reference" /> 584 <attr name="actionBarTabTextStyle" format="reference" /> 585 <attr name="actionOverflowButtonStyle" format="reference" /> 586 <!-- Reference to a style for the Action Bar --> 587 <attr name="actionBarStyle" format="reference" /> 588 <!-- Size of the Action Bar, including the contextual 589 bar used to present Action Modes. --> 590 <attr name="actionBarSize" format="dimension" > 591 <enum name="wrap_content" value="0" /> 592 </attr> 593 <!-- TextAppearance style that will be applied to text that 594 appears within action menu items. --> 595 <attr name="actionMenuTextAppearance" format="reference" /> 596 <!-- Color for text that appears within action menu items. --> 597 <attr name="actionMenuTextColor" format="color|reference" /> 598 599 <!-- =================== --> 600 <!-- Action mode styles --> 601 <!-- =================== --> 602 <eat-comment /> 603 <attr name="actionModeStyle" format="reference" /> 604 <attr name="actionModeCloseButtonStyle" format="reference" /> 605 <!-- Background drawable to use for action mode UI --> 606 <attr name="actionModeBackground" format="reference" /> 607 <!-- Drawable to use for the close action mode button --> 608 <attr name="actionModeCloseDrawable" format="reference" /> 609 610 <!-- Drawable to use for the Cut action button in Contextual Action Bar --> 611 <attr name="actionModeCutDrawable" format="reference" /> 612 <!-- Drawable to use for the Copy action button in Contextual Action Bar --> 613 <attr name="actionModeCopyDrawable" format="reference" /> 614 <!-- Drawable to use for the Paste action button in Contextual Action Bar --> 615 <attr name="actionModePasteDrawable" format="reference" /> 616 <!-- Drawable to use for the Share action button in WebView selection action modes --> 617 <attr name="actionModeShareDrawable" format="reference" /> 618 <!-- Drawable to use for the Find action button in WebView selection action modes --> 619 <attr name="actionModeFindDrawable" format="reference" /> 620 <!-- Drawable to use for the Web Search action button in WebView selection action modes --> 621 <attr name="actionModeWebSearchDrawable" format="reference" /> 622 623 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 624 <attr name="actionModePopupWindowStyle" format="reference" /> 625 626 <!-- =================== --> 627 <!-- Preference styles --> 628 <!-- =================== --> 629 <eat-comment /> 630 631 <!-- Default style for PreferenceScreen. --> 632 <attr name="preferenceScreenStyle" format="reference" /> 633 <!-- Default style for PreferenceCategory. --> 634 <attr name="preferenceCategoryStyle" format="reference" /> 635 <!-- Default style for Preference. --> 636 <attr name="preferenceStyle" format="reference" /> 637 <!-- Default style for informational Preference. --> 638 <attr name="preferenceInformationStyle" format="reference" /> 639 <!-- Default style for CheckBoxPreference. --> 640 <attr name="checkBoxPreferenceStyle" format="reference" /> 641 <!-- Default style for YesNoPreference. --> 642 <attr name="yesNoPreferenceStyle" format="reference" /> 643 <!-- Default style for DialogPreference. --> 644 <attr name="dialogPreferenceStyle" format="reference" /> 645 <!-- Default style for EditTextPreference. --> 646 <attr name="editTextPreferenceStyle" format="reference" /> 647 <!-- Default style for RingtonePreference. --> 648 <attr name="ringtonePreferenceStyle" format="reference" /> 649 <!-- The preference layout that has the child/tabbed effect. --> 650 <attr name="preferenceLayoutChild" format="reference" /> 651 <!-- Preference panel style --> 652 <attr name="preferencePanelStyle" format="reference" /> 653 654 <!-- ============================ --> 655 <!-- Text selection handle styles --> 656 <!-- ============================ --> 657 <eat-comment /> 658 659 <!-- Reference to a drawable that will be used to display a text selection 660 anchor on the left side of a selection region. --> 661 <attr name="textSelectHandleLeft" format="reference" /> 662 <!-- Reference to a drawable that will be used to display a text selection 663 anchor on the right side of a selection region. --> 664 <attr name="textSelectHandleRight" format="reference" /> 665 <!-- Reference to a drawable that will be used to display a text selection 666 anchor for positioning the cursor within text. --> 667 <attr name="textSelectHandle" format="reference" /> 668 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 669 TextEdit field. --> 670 <attr name="textEditPasteWindowLayout" format="reference" /> 671 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 672 <attr name="textEditNoPasteWindowLayout" format="reference" /> 673 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 674 insertion cursor because it would be clipped if it were positioned on top. --> 675 <attr name="textEditSidePasteWindowLayout" format="reference" /> 676 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 677 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 678 679 <!-- Layout of a the view that is used to create the text suggestions popup window in an 680 EditText. This window will be displayed below the text line. --> 681 <attr name="textEditSuggestionsBottomWindowLayout" format="reference" /> 682 <!-- Same as textEditSuggestionsBottomWindowLayout, but used when the popup is displayed 683 above the current line of text instead of below. --> 684 <attr name="textEditSuggestionsTopWindowLayout" format="reference" /> 685 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 686 <attr name="textEditSuggestionItemLayout" format="reference" /> 687 688 <!-- Theme to use for dialogs spawned from this theme. --> 689 <attr name="dialogTheme" format="reference" /> 690 <!-- Window decor layout to use in dialog mode with icons --> 691 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 692 <!-- Window decor layout to use in dialog mode with custom titles --> 693 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 694 <!-- Window decor layout to use in dialog mode with title only --> 695 <attr name="dialogTitleDecorLayout" format="reference" /> 696 <!-- Theme to use for alert dialogs spawned from this theme. --> 697 <attr name="alertDialogTheme" format="reference" /> 698 <!-- Icon drawable to use for alerts --> 699 <attr name="alertDialogIcon" format="reference" /> 700 701 <!-- Drawable to use for generic vertical dividers. --> 702 <attr name="dividerVertical" format="reference" /> 703 704 <!-- Drawable to use for generic horizontal dividers. --> 705 <attr name="dividerHorizontal" format="reference" /> 706 707 <!-- Style for button bars --> 708 <attr name="buttonBarStyle" format="reference" /> 709 710 <!-- Style for buttons within button bars --> 711 <attr name="buttonBarButtonStyle" format="reference" /> 712 713 <!-- Style for segmented buttons - a container that houses several buttons 714 with the appearance of a singel button broken into segments. --> 715 <attr name="segmentedButtonStyle" format="reference" /> 716 717 <!-- Background drawable for standalone items that need focus/pressed states. --> 718 <attr name="selectableItemBackground" format="reference" /> 719 720 <!-- Style for buttons without an explicit border, often used in groups. --> 721 <attr name="borderlessButtonStyle" format="reference" /> 722 723 <!-- Background to use for toasts --> 724 <attr name="toastFrameBackground" format="reference" /> 725 726 <!-- ============================ --> 727 <!-- SearchView styles and assets --> 728 <!-- ============================ --> 729 <eat-comment /> 730 <!-- SearchView dropdown background --> 731 <attr name="searchDropdownBackground" format="reference" /> 732 <!-- SearchView close button icon --> 733 <attr name="searchViewCloseIcon" format="reference" /> 734 <!-- SearchView Go button icon --> 735 <attr name="searchViewGoIcon" format="reference" /> 736 <!-- SearchView Search icon --> 737 <attr name="searchViewSearchIcon" format="reference" /> 738 <!-- SearchView Voice button icon --> 739 <attr name="searchViewVoiceIcon" format="reference" /> 740 <!-- SearchView query refinement icon --> 741 <attr name="searchViewEditQuery" format="reference" /> 742 <!-- SearchView query refinement icon background --> 743 <attr name="searchViewEditQueryBackground" format="reference" /> 744 <!-- SearchView text field background for the left section --> 745 <attr name="searchViewTextField" format="reference" /> 746 <!-- SearchView text field background for the right section --> 747 <attr name="searchViewTextFieldRight" format="reference" /> 748 749 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 750 <attr name="homeAsUpIndicator" format="reference" /> 751 752 <!-- Preference frame layout styles. --> 753 <attr name="preferenceFrameLayoutStyle" format="reference" /> 754 755 <!-- Default style for the Switch widget. --> 756 <attr name="switchStyle" format="reference" /> 757 758 </declare-styleable> 759 760 <!-- **************************************************************** --> 761 <!-- Other non-theme attributes. --> 762 <!-- **************************************************************** --> 763 <eat-comment /> 764 765 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 766 Supported values include the following:<p/> 767 <ul> 768 <li><b>px</b> Pixels</li> 769 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 770 <li><b>pt</b> Points</li> 771 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 772 </ul> 773 --> 774 <attr name="textSize" format="dimension" /> 775 776 <!-- Default text typeface. --> 777 <attr name="typeface"> 778 <enum name="normal" value="0" /> 779 <enum name="sans" value="1" /> 780 <enum name="serif" value="2" /> 781 <enum name="monospace" value="3" /> 782 </attr> 783 784 <!-- Default text typeface style. --> 785 <attr name="textStyle"> 786 <flag name="normal" value="0" /> 787 <flag name="bold" value="1" /> 788 <flag name="italic" value="2" /> 789 </attr> 790 791 <!-- Color of text (usually same as colorForeground). --> 792 <attr name="textColor" format="reference|color" /> 793 794 <!-- Color of highlighted text. --> 795 <attr name="textColorHighlight" format="reference|color" /> 796 797 <!-- Color of hint text (displayed when the field is empty). --> 798 <attr name="textColorHint" format="reference|color" /> 799 800 <!-- Color of link text (URLs). --> 801 <attr name="textColorLink" format="reference|color" /> 802 803 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 804 <attr name="textCursorDrawable" format="reference" /> 805 806 <!-- Indicates that the content of a non-editable TextView can be selected. 807 Default value is false. EditText content is always selectable. --> 808 <attr name="textIsSelectable" format="boolean" /> 809 810 <!-- Where to ellipsize text. --> 811 <attr name="ellipsize"> 812 <enum name="none" value="0" /> 813 <enum name="start" value="1" /> 814 <enum name="middle" value="2" /> 815 <enum name="end" value="3" /> 816 <enum name="marquee" value="4" /> 817 </attr> 818 819 <!-- The type of data being placed in a text field, used to help an 820 input method decide how to let the user enter text. The constants 821 here correspond to those defined by 822 {@link android.text.InputType}. Generally you can select 823 a single value, though some can be combined together as 824 indicated. Setting this attribute to anything besides 825 <var>none</var> also implies that the text is editable. --> 826 <attr name="inputType"> 827 <!-- There is no content type. The text is not editable. --> 828 <flag name="none" value="0x00000000" /> 829 <!-- Just plain old text. Corresponds to 830 {@link android.text.InputType#TYPE_CLASS_TEXT} | 831 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 832 <flag name="text" value="0x00000001" /> 833 <!-- Can be combined with <var>text</var> and its variations to 834 request capitalization of all characters. Corresponds to 835 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 836 <flag name="textCapCharacters" value="0x00001001" /> 837 <!-- Can be combined with <var>text</var> and its variations to 838 request capitalization of the first character of every word. Corresponds to 839 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 840 <flag name="textCapWords" value="0x00002001" /> 841 <!-- Can be combined with <var>text</var> and its variations to 842 request capitalization of the first character of every sentence. Corresponds to 843 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 844 <flag name="textCapSentences" value="0x00004001" /> 845 <!-- Can be combined with <var>text</var> and its variations to 846 request auto-correction of text being input. Corresponds to 847 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 848 <flag name="textAutoCorrect" value="0x00008001" /> 849 <!-- Can be combined with <var>text</var> and its variations to 850 specify that this field will be doing its own auto-completion and 851 talking with the input method appropriately. Corresponds to 852 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 853 <flag name="textAutoComplete" value="0x00010001" /> 854 <!-- Can be combined with <var>text</var> and its variations to 855 allow multiple lines of text in the field. If this flag is not set, 856 the text field will be constrained to a single line. Corresponds to 857 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 858 <flag name="textMultiLine" value="0x00020001" /> 859 <!-- Can be combined with <var>text</var> and its variations to 860 indicate that though the regular text view should not be multiple 861 lines, the IME should provide multiple lines if it can. Corresponds to 862 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 863 <flag name="textImeMultiLine" value="0x00040001" /> 864 <!-- Can be combined with <var>text</var> and its variations to 865 indicate that the IME should not show any 866 dictionary-based word suggestions. Corresponds to 867 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 868 <flag name="textNoSuggestions" value="0x00080001" /> 869 <!-- Text that will be used as a URI. Corresponds to 870 {@link android.text.InputType#TYPE_CLASS_TEXT} | 871 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 872 <flag name="textUri" value="0x00000011" /> 873 <!-- Text that will be used as an e-mail address. Corresponds to 874 {@link android.text.InputType#TYPE_CLASS_TEXT} | 875 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 876 <flag name="textEmailAddress" value="0x00000021" /> 877 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 878 {@link android.text.InputType#TYPE_CLASS_TEXT} | 879 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 880 <flag name="textEmailSubject" value="0x00000031" /> 881 <!-- Text that is the content of a short message. Corresponds to 882 {@link android.text.InputType#TYPE_CLASS_TEXT} | 883 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 884 <flag name="textShortMessage" value="0x00000041" /> 885 <!-- Text that is the content of a long message. Corresponds to 886 {@link android.text.InputType#TYPE_CLASS_TEXT} | 887 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 888 <flag name="textLongMessage" value="0x00000051" /> 889 <!-- Text that is the name of a person. Corresponds to 890 {@link android.text.InputType#TYPE_CLASS_TEXT} | 891 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 892 <flag name="textPersonName" value="0x00000061" /> 893 <!-- Text that is being supplied as a postal mailing address. Corresponds to 894 {@link android.text.InputType#TYPE_CLASS_TEXT} | 895 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 896 <flag name="textPostalAddress" value="0x00000071" /> 897 <!-- Text that is a password. Corresponds to 898 {@link android.text.InputType#TYPE_CLASS_TEXT} | 899 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 900 <flag name="textPassword" value="0x00000081" /> 901 <!-- Text that is a password that should be visible. Corresponds to 902 {@link android.text.InputType#TYPE_CLASS_TEXT} | 903 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 904 <flag name="textVisiblePassword" value="0x00000091" /> 905 <!-- Text that is being supplied as text in a web form. Corresponds to 906 {@link android.text.InputType#TYPE_CLASS_TEXT} | 907 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 908 <flag name="textWebEditText" value="0x000000a1" /> 909 <!-- Text that is filtering some other data. Corresponds to 910 {@link android.text.InputType#TYPE_CLASS_TEXT} | 911 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 912 <flag name="textFilter" value="0x000000b1" /> 913 <!-- Text that is for phonetic pronunciation, such as a phonetic name 914 field in a contact entry. Corresponds to 915 {@link android.text.InputType#TYPE_CLASS_TEXT} | 916 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 917 <flag name="textPhonetic" value="0x000000c1" /> 918 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 919 {@link android.text.InputType#TYPE_CLASS_TEXT} | 920 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 921 <flag name="textWebEmailAddress" value="0x000000d1" /> 922 <!-- Text that will be used as a password on a web form. Corresponds to 923 {@link android.text.InputType#TYPE_CLASS_TEXT} | 924 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 925 <flag name="textWebPassword" value="0x000000e1" /> 926 <!-- A numeric only field. Corresponds to 927 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 928 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 929 <flag name="number" value="0x00000002" /> 930 <!-- Can be combined with <var>number</var> and its other options to 931 allow a signed number. Corresponds to 932 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 933 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 934 <flag name="numberSigned" value="0x00001002" /> 935 <!-- Can be combined with <var>number</var> and its other options to 936 allow a decimal (fractional) number. Corresponds to 937 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 938 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 939 <flag name="numberDecimal" value="0x00002002" /> 940 <!-- A numeric password field. Corresponds to 941 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 942 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 943 <flag name="numberPassword" value="0x00000012" /> 944 <!-- For entering a phone number. Corresponds to 945 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 946 <flag name="phone" value="0x00000003" /> 947 <!-- For entering a date and time. Corresponds to 948 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 949 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 950 <flag name="datetime" value="0x00000004" /> 951 <!-- For entering a date. Corresponds to 952 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 953 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 954 <flag name="date" value="0x00000014" /> 955 <!-- For entering a time. Corresponds to 956 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 957 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 958 <flag name="time" value="0x00000024" /> 959 </attr> 960 961 <!-- Additional features you can enable in an IME associated with an editor 962 to improve the integration with your application. The constants 963 here correspond to those defined by 964 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 965 <attr name="imeOptions"> 966 <!-- There are no special semantics associated with this editor. --> 967 <flag name="normal" value="0x00000000" /> 968 <!-- There is no specific action associated with this editor, let the 969 editor come up with its own if it can. 970 Corresponds to 971 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 972 <flag name="actionUnspecified" value="0x00000000" /> 973 <!-- This editor has no action associated with it. 974 Corresponds to 975 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 976 <flag name="actionNone" value="0x00000001" /> 977 <!-- The action key performs a "go" 978 operation to take the user to the target of the text they typed. 979 Typically used, for example, when entering a URL. 980 Corresponds to 981 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 982 <flag name="actionGo" value="0x00000002" /> 983 <!-- The action key performs a "search" 984 operation, taking the user to the results of searching for the text 985 the have typed (in whatever context is appropriate). 986 Corresponds to 987 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 988 <flag name="actionSearch" value="0x00000003" /> 989 <!-- The action key performs a "send" 990 operation, delivering the text to its target. This is typically used 991 when composing a message. 992 Corresponds to 993 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 994 <flag name="actionSend" value="0x00000004" /> 995 <!-- The action key performs a "next" 996 operation, taking the user to the next field that will accept text. 997 Corresponds to 998 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 999 <flag name="actionNext" value="0x00000005" /> 1000 <!-- The action key performs a "done" 1001 operation, closing the soft input method. 1002 Corresponds to 1003 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1004 <flag name="actionDone" value="0x00000006" /> 1005 <!-- The action key performs a "previous" 1006 operation, taking the user to the previous field that will accept text. 1007 Corresponds to 1008 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1009 <flag name="actionPrevious" value="0x00000007" /> 1010 <!-- Used to request that the IME never go 1011 into fullscreen mode. Applications need to be aware that the flag is not 1012 a guarantee, and not all IMEs will respect it. 1013 <p>Corresponds to 1014 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1015 <flag name="flagNoFullscreen" value="0x2000000" /> 1016 <!-- Like flagNavigateNext, but 1017 specifies there is something interesting that a backward navigation 1018 can focus on. If the user selects the IME's facility to backward 1019 navigate, this will show up in the application as an actionPrevious 1020 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1021 InputConnection.performEditorAction(int)}. 1022 <p>Corresponds to 1023 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1024 <flag name="flagNavigatePrevious" value="0x4000000" /> 1025 <!-- Used to specify that there is something 1026 interesting that a forward navigation can focus on. This is like using 1027 actionNext, except allows the IME to be multiline (with 1028 an enter key) as well as provide forward navigation. Note that some 1029 IMEs may not be able to do this, especially when running on a small 1030 screen where there is little space. In that case it does not need to 1031 present a UI for this option. Like actionNext, if the 1032 user selects the IME's facility to forward navigate, this will show up 1033 in the application at 1034 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1035 InputConnection.performEditorAction(int)}. 1036 <p>Corresponds to 1037 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1038 <flag name="flagNavigateNext" value="0x8000000" /> 1039 <!-- Used to specify that the IME does not need 1040 to show its extracted text UI. For input methods that may be fullscreen, 1041 often when in landscape mode, this allows them to be smaller and let part 1042 of the application be shown behind. Though there will likely be limited 1043 access to the application available from the user, it can make the 1044 experience of a (mostly) fullscreen IME less jarring. Note that when 1045 this flag is specified the IME may <em>not</em> be set up to be able 1046 to display text, so it should only be used in situations where this is 1047 not needed. 1048 <p>Corresponds to 1049 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1050 <flag name="flagNoExtractUi" value="0x10000000" /> 1051 <!-- Used in conjunction with a custom action, this indicates that the 1052 action should not be available as an accessory button when the 1053 input method is full-screen. 1054 Note that by setting this flag, there can be cases where the action 1055 is simply never available to the user. Setting this generally means 1056 that you think showing text being edited is more important than the 1057 action you have supplied. 1058 <p>Corresponds to 1059 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1060 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1061 <!-- Used in conjunction with a custom action, 1062 this indicates that the action should not be available in-line as 1063 a replacement for the "enter" key. Typically this is 1064 because the action has such a significant impact or is not recoverable 1065 enough that accidentally hitting it should be avoided, such as sending 1066 a message. Note that {@link android.widget.TextView} will 1067 automatically set this flag for you on multi-line text views. 1068 <p>Corresponds to 1069 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1070 <flag name="flagNoEnterAction" value="0x40000000" /> 1071 </attr> 1072 1073 <!-- A coordinate in the X dimension. --> 1074 <attr name="x" format="dimension" /> 1075 <!-- A coordinate in the Y dimension. --> 1076 <attr name="y" format="dimension" /> 1077 1078 <!-- Specifies how to place the content of an object, both 1079 on the x- and y-axis, within the object itself. --> 1080 <attr name="gravity"> 1081 <!-- Push object to the top of its container, not changing its size. --> 1082 <flag name="top" value="0x30" /> 1083 <!-- Push object to the bottom of its container, not changing its size. --> 1084 <flag name="bottom" value="0x50" /> 1085 <!-- Push object to the left of its container, not changing its size. --> 1086 <flag name="left" value="0x03" /> 1087 <!-- Push object to the right of its container, not changing its size. --> 1088 <flag name="right" value="0x05" /> 1089 <!-- Place object in the vertical center of its container, not changing its size. --> 1090 <flag name="center_vertical" value="0x10" /> 1091 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1092 <flag name="fill_vertical" value="0x70" /> 1093 <!-- Place object in the horizontal center of its container, not changing its size. --> 1094 <flag name="center_horizontal" value="0x01" /> 1095 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1096 <flag name="fill_horizontal" value="0x07" /> 1097 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1098 <flag name="center" value="0x11" /> 1099 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1100 <flag name="fill" value="0x77" /> 1101 <!-- Additional option that can be set to have the top and/or bottom edges of 1102 the child clipped to its container's bounds. 1103 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1104 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1105 <flag name="clip_vertical" value="0x80" /> 1106 <!-- Additional option that can be set to have the left and/or right edges of 1107 the child clipped to its container's bounds. 1108 The clip will be based on the horizontal gravity: a left gravity will clip the right 1109 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1110 <flag name="clip_horizontal" value="0x08" /> 1111 </attr> 1112 1113 <!-- Controls whether links such as urls and email addresses are 1114 automatically found and converted to clickable links. The default 1115 value is "none", disabling this feature. --> 1116 <attr name="autoLink"> 1117 <!-- Match no patterns (default). --> 1118 <flag name="none" value="0x00" /> 1119 <!-- Match Web URLs. --> 1120 <flag name="web" value="0x01" /> 1121 <!-- Match email addresses. --> 1122 <flag name="email" value="0x02" /> 1123 <!-- Match phone numbers. --> 1124 <flag name="phone" value="0x04" /> 1125 <!-- Match map addresses. --> 1126 <flag name="map" value="0x08" /> 1127 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1128 <flag name="all" value="0x0f" /> 1129 </attr> 1130 1131 <!-- Reference to an array resource that will populate a list/adapter. --> 1132 <attr name="entries" format="reference" /> 1133 1134 <!-- Standard gravity constant that a child can supply to its parent. 1135 Defines how to place the view, both its x- and y-axis, within its parent view group. --> 1136 <attr name="layout_gravity"> 1137 <!-- Push object to the top of its container, not changing its size. --> 1138 <flag name="top" value="0x30" /> 1139 <!-- Push object to the bottom of its container, not changing its size. --> 1140 <flag name="bottom" value="0x50" /> 1141 <!-- Push object to the left of its container, not changing its size. --> 1142 <flag name="left" value="0x03" /> 1143 <!-- Push object to the right of its container, not changing its size. --> 1144 <flag name="right" value="0x05" /> 1145 <!-- Place object in the vertical center of its container, not changing its size. --> 1146 <flag name="center_vertical" value="0x10" /> 1147 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1148 <flag name="fill_vertical" value="0x70" /> 1149 <!-- Place object in the horizontal center of its container, not changing its size. --> 1150 <flag name="center_horizontal" value="0x01" /> 1151 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1152 <flag name="fill_horizontal" value="0x07" /> 1153 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1154 <flag name="center" value="0x11" /> 1155 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1156 <flag name="fill" value="0x77" /> 1157 <!-- Additional option that can be set to have the top and/or bottom edges of 1158 the child clipped to its container's bounds. 1159 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1160 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1161 <flag name="clip_vertical" value="0x80" /> 1162 <!-- Additional option that can be set to have the left and/or right edges of 1163 the child clipped to its container's bounds. 1164 The clip will be based on the horizontal gravity: a left gravity will clip the right 1165 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1166 <flag name="clip_horizontal" value="0x08" /> 1167 </attr> 1168 1169 <!-- Standard orientation constant. --> 1170 <attr name="orientation"> 1171 <!-- Defines an horizontal widget. --> 1172 <enum name="horizontal" value="0" /> 1173 <!-- Defines a vertical widget. --> 1174 <enum name="vertical" value="1" /> 1175 </attr> 1176 1177 <!-- ========================== --> 1178 <!-- Key Codes --> 1179 <!-- ========================== --> 1180 <eat-comment /> 1181 1182 <!-- This enum provides the same keycode values as can be found in 1183 {@link android.view.KeyEvent}. --> 1184 <attr name="keycode"> 1185 <enum name="KEYCODE_UNKNOWN" value="0" /> 1186 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1187 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1188 <enum name="KEYCODE_HOME" value="3" /> 1189 <enum name="KEYCODE_BACK" value="4" /> 1190 <enum name="KEYCODE_CALL" value="5" /> 1191 <enum name="KEYCODE_ENDCALL" value="6" /> 1192 <enum name="KEYCODE_0" value="7" /> 1193 <enum name="KEYCODE_1" value="8" /> 1194 <enum name="KEYCODE_2" value="9" /> 1195 <enum name="KEYCODE_3" value="10" /> 1196 <enum name="KEYCODE_4" value="11" /> 1197 <enum name="KEYCODE_5" value="12" /> 1198 <enum name="KEYCODE_6" value="13" /> 1199 <enum name="KEYCODE_7" value="14" /> 1200 <enum name="KEYCODE_8" value="15" /> 1201 <enum name="KEYCODE_9" value="16" /> 1202 <enum name="KEYCODE_STAR" value="17" /> 1203 <enum name="KEYCODE_POUND" value="18" /> 1204 <enum name="KEYCODE_DPAD_UP" value="19" /> 1205 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1206 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1207 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1208 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1209 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1210 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1211 <enum name="KEYCODE_POWER" value="26" /> 1212 <enum name="KEYCODE_CAMERA" value="27" /> 1213 <enum name="KEYCODE_CLEAR" value="28" /> 1214 <enum name="KEYCODE_A" value="29" /> 1215 <enum name="KEYCODE_B" value="30" /> 1216 <enum name="KEYCODE_C" value="31" /> 1217 <enum name="KEYCODE_D" value="32" /> 1218 <enum name="KEYCODE_E" value="33" /> 1219 <enum name="KEYCODE_F" value="34" /> 1220 <enum name="KEYCODE_G" value="35" /> 1221 <enum name="KEYCODE_H" value="36" /> 1222 <enum name="KEYCODE_I" value="37" /> 1223 <enum name="KEYCODE_J" value="38" /> 1224 <enum name="KEYCODE_K" value="39" /> 1225 <enum name="KEYCODE_L" value="40" /> 1226 <enum name="KEYCODE_M" value="41" /> 1227 <enum name="KEYCODE_N" value="42" /> 1228 <enum name="KEYCODE_O" value="43" /> 1229 <enum name="KEYCODE_P" value="44" /> 1230 <enum name="KEYCODE_Q" value="45" /> 1231 <enum name="KEYCODE_R" value="46" /> 1232 <enum name="KEYCODE_S" value="47" /> 1233 <enum name="KEYCODE_T" value="48" /> 1234 <enum name="KEYCODE_U" value="49" /> 1235 <enum name="KEYCODE_V" value="50" /> 1236 <enum name="KEYCODE_W" value="51" /> 1237 <enum name="KEYCODE_X" value="52" /> 1238 <enum name="KEYCODE_Y" value="53" /> 1239 <enum name="KEYCODE_Z" value="54" /> 1240 <enum name="KEYCODE_COMMA" value="55" /> 1241 <enum name="KEYCODE_PERIOD" value="56" /> 1242 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1243 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1244 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1245 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1246 <enum name="KEYCODE_TAB" value="61" /> 1247 <enum name="KEYCODE_SPACE" value="62" /> 1248 <enum name="KEYCODE_SYM" value="63" /> 1249 <enum name="KEYCODE_EXPLORER" value="64" /> 1250 <enum name="KEYCODE_ENVELOPE" value="65" /> 1251 <enum name="KEYCODE_ENTER" value="66" /> 1252 <enum name="KEYCODE_DEL" value="67" /> 1253 <enum name="KEYCODE_GRAVE" value="68" /> 1254 <enum name="KEYCODE_MINUS" value="69" /> 1255 <enum name="KEYCODE_EQUALS" value="70" /> 1256 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1257 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1258 <enum name="KEYCODE_BACKSLASH" value="73" /> 1259 <enum name="KEYCODE_SEMICOLON" value="74" /> 1260 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1261 <enum name="KEYCODE_SLASH" value="76" /> 1262 <enum name="KEYCODE_AT" value="77" /> 1263 <enum name="KEYCODE_NUM" value="78" /> 1264 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1265 <enum name="KEYCODE_FOCUS" value="80" /> 1266 <enum name="KEYCODE_PLUS" value="81" /> 1267 <enum name="KEYCODE_MENU" value="82" /> 1268 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1269 <enum name="KEYCODE_SEARCH" value="84" /> 1270 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1271 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1272 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1273 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1274 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1275 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1276 <enum name="KEYCODE_MUTE" value="91" /> 1277 <enum name="KEYCODE_PAGE_UP" value="92" /> 1278 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1279 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1280 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1281 <enum name="KEYCODE_BUTTON_A" value="96" /> 1282 <enum name="KEYCODE_BUTTON_B" value="97" /> 1283 <enum name="KEYCODE_BUTTON_C" value="98" /> 1284 <enum name="KEYCODE_BUTTON_X" value="99" /> 1285 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1286 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1287 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1288 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1289 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1290 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1291 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1292 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1293 <enum name="KEYCODE_BUTTON_START" value="108" /> 1294 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1295 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1296 <enum name="KEYCODE_ESCAPE" value="111" /> 1297 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1298 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1299 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1300 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1301 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1302 <enum name="KEYCODE_META_LEFT" value="117" /> 1303 <enum name="KEYCODE_META_RIGHT" value="118" /> 1304 <enum name="KEYCODE_FUNCTION" value="119" /> 1305 <enum name="KEYCODE_SYSRQ" value="120" /> 1306 <enum name="KEYCODE_BREAK" value="121" /> 1307 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1308 <enum name="KEYCODE_MOVE_END" value="123" /> 1309 <enum name="KEYCODE_INSERT" value="124" /> 1310 <enum name="KEYCODE_FORWARD" value="125" /> 1311 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1312 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1313 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1314 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1315 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1316 <enum name="KEYCODE_F1" value="131" /> 1317 <enum name="KEYCODE_F2" value="132" /> 1318 <enum name="KEYCODE_F3" value="133" /> 1319 <enum name="KEYCODE_F4" value="134" /> 1320 <enum name="KEYCODE_F5" value="135" /> 1321 <enum name="KEYCODE_F6" value="136" /> 1322 <enum name="KEYCODE_F7" value="137" /> 1323 <enum name="KEYCODE_F8" value="138" /> 1324 <enum name="KEYCODE_F9" value="139" /> 1325 <enum name="KEYCODE_F10" value="140" /> 1326 <enum name="KEYCODE_F11" value="141" /> 1327 <enum name="KEYCODE_F12" value="142" /> 1328 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1329 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1330 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1331 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1332 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1333 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1334 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1335 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1336 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1337 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1338 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1339 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1340 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1341 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1342 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1343 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1344 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1345 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1346 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1347 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1348 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1349 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1350 <enum name="KEYCODE_INFO" value="165" /> 1351 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1352 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1353 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1354 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1355 <enum name="KEYCODE_TV" value="170" /> 1356 <enum name="KEYCODE_WINDOW" value="171" /> 1357 <enum name="KEYCODE_GUIDE" value="172" /> 1358 <enum name="KEYCODE_DVR" value="173" /> 1359 <enum name="KEYCODE_BOOKMARK" value="174" /> 1360 <enum name="KEYCODE_CAPTIONS" value="175" /> 1361 <enum name="KEYCODE_SETTINGS" value="176" /> 1362 <enum name="KEYCODE_TV_POWER" value="177" /> 1363 <enum name="KEYCODE_TV_INPUT" value="178" /> 1364 <enum name="KEYCODE_STB_POWER" value="179" /> 1365 <enum name="KEYCODE_STB_INPUT" value="180" /> 1366 <enum name="KEYCODE_AVR_POWER" value="181" /> 1367 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1368 <enum name="KEYCODE_PROG_GRED" value="183" /> 1369 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1370 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1371 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1372 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1373 <enum name="KEYCODE_BUTTON_1" value="188" /> 1374 <enum name="KEYCODE_BUTTON_2" value="189" /> 1375 <enum name="KEYCODE_BUTTON_3" value="190" /> 1376 <enum name="KEYCODE_BUTTON_4" value="191" /> 1377 <enum name="KEYCODE_BUTTON_5" value="192" /> 1378 <enum name="KEYCODE_BUTTON_6" value="193" /> 1379 <enum name="KEYCODE_BUTTON_7" value="194" /> 1380 <enum name="KEYCODE_BUTTON_8" value="195" /> 1381 <enum name="KEYCODE_BUTTON_9" value="196" /> 1382 <enum name="KEYCODE_BUTTON_10" value="197" /> 1383 <enum name="KEYCODE_BUTTON_11" value="198" /> 1384 <enum name="KEYCODE_BUTTON_12" value="199" /> 1385 <enum name="KEYCODE_BUTTON_13" value="200" /> 1386 <enum name="KEYCODE_BUTTON_14" value="201" /> 1387 <enum name="KEYCODE_BUTTON_15" value="202" /> 1388 <enum name="KEYCODE_BUTTON_16" value="203" /> 1389 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1390 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1391 <enum name="KEYCODE_3D_MODE" value="206" /> 1392 </attr> 1393 1394 <!-- ***************************************************************** --> 1395 <!-- These define collections of attributes that can are with classes. --> 1396 <!-- ***************************************************************** --> 1397 1398 <!-- ========================== --> 1399 <!-- Special attribute classes. --> 1400 <!-- ========================== --> 1401 <eat-comment /> 1402 1403 <!-- The set of attributes that describe a Windows's theme. --> 1404 <declare-styleable name="Window"> 1405 <attr name="windowBackground" /> 1406 <attr name="windowContentOverlay" /> 1407 <attr name="windowFrame" /> 1408 <attr name="windowNoTitle" /> 1409 <attr name="windowFullscreen" /> 1410 <attr name="windowIsFloating" /> 1411 <attr name="windowIsTranslucent" /> 1412 <attr name="windowShowWallpaper" /> 1413 <attr name="windowAnimationStyle" /> 1414 <attr name="windowSoftInputMode" /> 1415 <attr name="windowDisablePreview" /> 1416 <attr name="windowNoDisplay" /> 1417 <attr name="textColor" /> 1418 <attr name="backgroundDimEnabled" /> 1419 <attr name="backgroundDimAmount" /> 1420 <attr name="windowActionBar" /> 1421 <attr name="windowActionModeOverlay" /> 1422 <attr name="windowActionBarOverlay" /> 1423 <attr name="windowEnableSplitTouch" /> 1424 <attr name="windowCloseOnTouchOutside" /> 1425 <!-- The minimum width the window is allowed to be, along the major 1426 axis of the screen. That is, when in landscape. Can be either 1427 an absolute dimension or a fraction of the screen size in that 1428 dimension. --> 1429 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1430 <!-- The minimum width the window is allowed to be, along the minor 1431 axis of the screen. That is, when in portrait. Can be either 1432 an absolute dimension or a fraction of the screen size in that 1433 dimension. --> 1434 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1435 </declare-styleable> 1436 1437 <!-- The set of attributes that describe a AlertDialog's theme. --> 1438 <declare-styleable name="AlertDialog"> 1439 <attr name="fullDark" format="reference|color" /> 1440 <attr name="topDark" format="reference|color" /> 1441 <attr name="centerDark" format="reference|color" /> 1442 <attr name="bottomDark" format="reference|color" /> 1443 <attr name="fullBright" format="reference|color" /> 1444 <attr name="topBright" format="reference|color" /> 1445 <attr name="centerBright" format="reference|color" /> 1446 <attr name="bottomBright" format="reference|color" /> 1447 <attr name="bottomMedium" format="reference|color" /> 1448 <attr name="centerMedium" format="reference|color" /> 1449 <attr name="layout" /> 1450 <attr name="listLayout" format="reference" /> 1451 <attr name="multiChoiceItemLayout" format="reference" /> 1452 <attr name="singleChoiceItemLayout" format="reference" /> 1453 <attr name="listItemLayout" format="reference" /> 1454 </declare-styleable> 1455 1456 <!-- Fragment animation class attributes. --> 1457 <declare-styleable name="FragmentAnimation"> 1458 <attr name="fragmentOpenEnterAnimation" format="reference" /> 1459 <attr name="fragmentOpenExitAnimation" format="reference" /> 1460 <attr name="fragmentCloseEnterAnimation" format="reference" /> 1461 <attr name="fragmentCloseExitAnimation" format="reference" /> 1462 <attr name="fragmentFadeEnterAnimation" format="reference" /> 1463 <attr name="fragmentFadeExitAnimation" format="reference" /> 1464 </declare-styleable> 1465 1466 <!-- Window animation class attributes. --> 1467 <declare-styleable name="WindowAnimation"> 1468 <!-- The animation used when a window is being added. --> 1469 <attr name="windowEnterAnimation" format="reference" /> 1470 <!-- The animation used when a window is being removed. --> 1471 <attr name="windowExitAnimation" format="reference" /> 1472 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 1473 <attr name="windowShowAnimation" format="reference" /> 1474 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 1475 <attr name="windowHideAnimation" format="reference" /> 1476 1477 <!-- When opening a new activity, this is the animation that is 1478 run on the next activity (which is entering the screen). --> 1479 <attr name="activityOpenEnterAnimation" format="reference" /> 1480 <!-- When opening a new activity, this is the animation that is 1481 run on the previous activity (which is exiting the screen). --> 1482 <attr name="activityOpenExitAnimation" format="reference" /> 1483 <!-- When closing the current activity, this is the animation that is 1484 run on the next activity (which is entering the screen). --> 1485 <attr name="activityCloseEnterAnimation" format="reference" /> 1486 <!-- When closing the current activity, this is the animation that is 1487 run on the current activity (which is exiting the screen). --> 1488 <attr name="activityCloseExitAnimation" format="reference" /> 1489 <!-- When opening an activity in a new task, this is the animation that is 1490 run on the activity of the new task (which is entering the screen). --> 1491 <attr name="taskOpenEnterAnimation" format="reference" /> 1492 <!-- When opening an activity in a new task, this is the animation that is 1493 run on the activity of the old task (which is exiting the screen). --> 1494 <attr name="taskOpenExitAnimation" format="reference" /> 1495 <!-- When closing the last activity of a task, this is the animation that is 1496 run on the activity of the next task (which is entering the screen). --> 1497 <attr name="taskCloseEnterAnimation" format="reference" /> 1498 <!-- When opening an activity in a new task, this is the animation that is 1499 run on the activity of the old task (which is exiting the screen). --> 1500 <attr name="taskCloseExitAnimation" format="reference" /> 1501 <!-- When bringing an existing task to the foreground, this is the 1502 animation that is run on the top activity of the task being brought 1503 to the foreground (which is entering the screen). --> 1504 <attr name="taskToFrontEnterAnimation" format="reference" /> 1505 <!-- When bringing an existing task to the foreground, this is the 1506 animation that is run on the current foreground activity 1507 (which is exiting the screen). --> 1508 <attr name="taskToFrontExitAnimation" format="reference" /> 1509 <!-- When sending the current task to the background, this is the 1510 animation that is run on the top activity of the task behind 1511 it (which is entering the screen). --> 1512 <attr name="taskToBackEnterAnimation" format="reference" /> 1513 <!-- When sending the current task to the background, this is the 1514 animation that is run on the top activity of the current task 1515 (which is exiting the screen). --> 1516 <attr name="taskToBackExitAnimation" format="reference" /> 1517 1518 <!-- When opening a new activity that shows the wallpaper, while 1519 currently not showing the wallpaper, this is the animation that 1520 is run on the new wallpaper activity (which is entering the screen). --> 1521 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 1522 <!-- When opening a new activity that shows the wallpaper, while 1523 currently not showing the wallpaper, this is the animation that 1524 is run on the current activity (which is exiting the screen). --> 1525 <attr name="wallpaperOpenExitAnimation" format="reference" /> 1526 <!-- When opening a new activity that hides the wallpaper, while 1527 currently showing the wallpaper, this is the animation that 1528 is run on the new activity (which is entering the screen). --> 1529 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 1530 <!-- When opening a new activity that hides the wallpaper, while 1531 currently showing the wallpaper, this is the animation that 1532 is run on the old wallpaper activity (which is exiting the screen). --> 1533 <attr name="wallpaperCloseExitAnimation" format="reference" /> 1534 1535 <!-- When opening a new activity that is on top of the wallpaper 1536 when the current activity is also on top of the wallpaper, 1537 this is the animation that is run on the new activity 1538 (which is entering the screen). The wallpaper remains 1539 static behind the animation. --> 1540 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 1541 <!-- When opening a new activity that is on top of the wallpaper 1542 when the current activity is also on top of the wallpaper, 1543 this is the animation that is run on the current activity 1544 (which is exiting the screen). The wallpaper remains 1545 static behind the animation. --> 1546 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 1547 <!-- When closing a foreround activity that is on top of the wallpaper 1548 when the previous activity is also on top of the wallpaper, 1549 this is the animation that is run on the previous activity 1550 (which is entering the screen). The wallpaper remains 1551 static behind the animation. --> 1552 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 1553 <!-- When closing a foreround activity that is on top of the wallpaper 1554 when the previous activity is also on top of the wallpaper, 1555 this is the animation that is run on the current activity 1556 (which is exiting the screen). The wallpaper remains 1557 static behind the animation. --> 1558 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 1559 </declare-styleable> 1560 1561 <!-- ============================= --> 1562 <!-- View package class attributes --> 1563 <!-- ============================= --> 1564 <eat-comment /> 1565 1566 <!-- Attributes that can be used with {@link android.view.View} or 1567 any of its subclasses. Also see {@link #ViewGroup_Layout} for 1568 attributes that are processed by the view's parent. --> 1569 <declare-styleable name="View"> 1570 <!-- Supply an identifier name for this view, to later retrieve it 1571 with {@link android.view.View#findViewById View.findViewById()} or 1572 {@link android.app.Activity#findViewById Activity.findViewById()}. 1573 This must be a 1574 resource reference; typically you set this using the 1575 <code>@+</code> syntax to create a new ID resources. 1576 For example: <code>android:id="@+id/my_id"</code> which 1577 allows you to later retrieve the view 1578 with <code>findViewById(R.id.my_id)</code>. --> 1579 <attr name="id" format="reference" /> 1580 1581 <!-- Supply a tag for this view containing a String, to be retrieved 1582 later with {@link android.view.View#getTag View.getTag()} or 1583 searched for with {@link android.view.View#findViewWithTag 1584 View.findViewWithTag()}. It is generally preferable to use 1585 IDs (through the android:id attribute) instead of tags because 1586 they are faster and allow for compile-time type checking. --> 1587 <attr name="tag" format="string" /> 1588 1589 <!-- The initial horizontal scroll offset, in pixels.--> 1590 <attr name="scrollX" format="dimension" /> 1591 1592 <!-- The initial vertical scroll offset, in pixels. --> 1593 <attr name="scrollY" format="dimension" /> 1594 1595 <!-- A drawable to use as the background. This can be either a reference 1596 to a full drawable resource (such as a PNG image, 9-patch, 1597 XML state list description, etc), or a solid color such as "#ff000000" 1598 (black). --> 1599 <attr name="background" format="reference|color" /> 1600 1601 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 1602 space between the edges of the view and the view's content. A views size 1603 will include it's padding. If a {@link android.R.attr#background} 1604 is provided, the padding will initially be set to that (0 if the 1605 drawable does not have padding). Explicitly setting a padding value 1606 will override the corresponding padding found in the background. --> 1607 <attr name="padding" format="dimension" /> 1608 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 1609 <attr name="paddingLeft" format="dimension" /> 1610 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 1611 <attr name="paddingTop" format="dimension" /> 1612 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 1613 <attr name="paddingRight" format="dimension" /> 1614 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 1615 <attr name="paddingBottom" format="dimension" /> 1616 1617 <!-- Boolean that controls whether a view can take focus. By default the user can not 1618 move focus to a view; by setting this attribute to true the view is 1619 allowed to take focus. This value does not impact the behavior of 1620 directly calling {@link android.view.View#requestFocus}, which will 1621 always request focus regardless of this view. It only impacts where 1622 focus navigation will try to move focus. --> 1623 <attr name="focusable" format="boolean" /> 1624 1625 <!-- Boolean that controls whether a view can take focus while in touch mode. 1626 If this is true for a view, that view can gain focus when clicked on, and can keep 1627 focus if another view is clicked on that doesn't have this attribute set to true. --> 1628 <attr name="focusableInTouchMode" format="boolean" /> 1629 1630 <!-- Controls the initial visibility of the view. --> 1631 <attr name="visibility"> 1632 <!-- Visible on screen; the default value. --> 1633 <enum name="visible" value="0" /> 1634 <!-- Not displayed, but taken into account during layout (space is left for it). --> 1635 <enum name="invisible" value="1" /> 1636 <!-- Completely hidden, as if the view had not been added. --> 1637 <enum name="gone" value="2" /> 1638 </attr> 1639 1640 <!-- Boolean internal attribute to adjust view layout based on 1641 system windows such as the status bar. 1642 If true, adjusts the padding of this view to leave space for the system windows. 1643 Will only take effect if this view is in a non-embedded activity. --> 1644 <attr name="fitsSystemWindows" format="boolean" /> 1645 1646 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 1647 <attr name="scrollbars"> 1648 <!-- No scrollbar is displayed. --> 1649 <flag name="none" value="0x00000000" /> 1650 <!-- Displays horizontal scrollbar only. --> 1651 <flag name="horizontal" value="0x00000100" /> 1652 <!-- Displays vertical scrollbar only. --> 1653 <flag name="vertical" value="0x00000200" /> 1654 </attr> 1655 1656 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 1657 inset. When inset, they add to the padding of the view. And the 1658 scrollbars can be drawn inside the padding area or on the edge of 1659 the view. For example, if a view has a background drawable and you 1660 want to draw the scrollbars inside the padding specified by the 1661 drawable, you can use insideOverlay or insideInset. If you want them 1662 to appear at the edge of the view, ignoring the padding, then you can 1663 use outsideOverlay or outsideInset.--> 1664 <attr name="scrollbarStyle"> 1665 <!-- Inside the padding and overlaid --> 1666 <enum name="insideOverlay" value="0x0" /> 1667 <!-- Inside the padding and inset --> 1668 <enum name="insideInset" value="0x01000000" /> 1669 <!-- Edge of the view and overlaid --> 1670 <enum name="outsideOverlay" value="0x02000000" /> 1671 <!-- Edge of the view and inset --> 1672 <enum name="outsideInset" value="0x03000000" /> 1673 </attr> 1674 1675 <!-- Set this if the view will serve as a scrolling container, meaing 1676 that it can be resized to shrink its overall window so that there 1677 will be space for an input method. If not set, the default 1678 value will be true if "scrollbars" has the vertical scrollbar 1679 set, else it will be false. --> 1680 <attr name="isScrollContainer" format="boolean" /> 1681 1682 <!-- Defines whether to fade out scrollbars when they are not in use. --> 1683 <attr name="fadeScrollbars" format="boolean" /> 1684 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 1685 <attr name="scrollbarFadeDuration" format="integer" /> 1686 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 1687 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 1688 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 1689 <attr name="scrollbarSize" format="dimension" /> 1690 <!-- Defines the horizontal scrollbar thumb drawable. --> 1691 <attr name="scrollbarThumbHorizontal" format="reference" /> 1692 <!-- Defines the vertical scrollbar thumb drawable. --> 1693 <attr name="scrollbarThumbVertical" format="reference" /> 1694 <!-- Defines the horizontal scrollbar track drawable. --> 1695 <attr name="scrollbarTrackHorizontal" format="reference" /> 1696 <!-- Defines the vertical scrollbar track drawable. --> 1697 <attr name="scrollbarTrackVertical" format="reference" /> 1698 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 1699 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 1700 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 1701 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 1702 1703 <!-- Defines which edges should be fadeded on scrolling. --> 1704 <attr name="fadingEdge"> 1705 <!-- No edge is faded. --> 1706 <flag name="none" value="0x00000000" /> 1707 <!-- Fades horizontal edges only. --> 1708 <flag name="horizontal" value="0x00001000" /> 1709 <!-- Fades vertical edges only. --> 1710 <flag name="vertical" value="0x00002000" /> 1711 </attr> 1712 <!-- Defines the length of the fading edges. --> 1713 <attr name="fadingEdgeLength" format="dimension" /> 1714 1715 <!-- Defines the next view to give focus to when the next focus is 1716 {@link android.view.View#FOCUS_LEFT}. 1717 1718 If the reference refers to a view that does not exist or is part 1719 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 1720 will result when the reference is accessed.--> 1721 <attr name="nextFocusLeft" format="reference"/> 1722 1723 <!-- Defines the next view to give focus to when the next focus is 1724 {@link android.view.View#FOCUS_RIGHT} 1725 1726 If the reference refers to a view that does not exist or is part 1727 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 1728 will result when the reference is accessed.--> 1729 <attr name="nextFocusRight" format="reference"/> 1730 1731 <!-- Defines the next view to give focus to when the next focus is 1732 {@link android.view.View#FOCUS_UP} 1733 1734 If the reference refers to a view that does not exist or is part 1735 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 1736 will result when the reference is accessed.--> 1737 <attr name="nextFocusUp" format="reference"/> 1738 1739 <!-- Defines the next view to give focus to when the next focus is 1740 {@link android.view.View#FOCUS_DOWN} 1741 1742 If the reference refers to a view that does not exist or is part 1743 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 1744 will result when the reference is accessed.--> 1745 <attr name="nextFocusDown" format="reference"/> 1746 1747 <!-- Defines the next view to give focus to when the next focus is 1748 {@link android.view.View#FOCUS_FORWARD} 1749 1750 If the reference refers to a view that does not exist or is part 1751 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 1752 will result when the reference is accessed.--> 1753 <attr name="nextFocusForward" format="reference"/> 1754 1755 <!-- Defines whether this view reacts to click events. --> 1756 <attr name="clickable" format="boolean" /> 1757 1758 <!-- Defines whether this view reacts to long click events. --> 1759 <attr name="longClickable" format="boolean" /> 1760 1761 <!-- If unset, no state will be saved for this view when it is being 1762 frozen. The default is true, allowing the view to be saved 1763 (however it also must have an ID assigned to it for its 1764 state to be saved). Setting this to false only disables the 1765 state for this view, not for its children which may still 1766 be saved. --> 1767 <attr name="saveEnabled" format="boolean" /> 1768 1769 <!-- Specifies whether to filter touches when the view's window is obscured by 1770 another visible window. When set to true, the view will not receive touches 1771 whenever a toast, dialog or other window appears above the view's window. 1772 Refer to the {@link android.view.View} security documentation for more details. --> 1773 <attr name="filterTouchesWhenObscured" format="boolean" /> 1774 1775 <!-- Defines the quality of translucent drawing caches. This property is used 1776 only when the drawing cache is enabled and translucent. The default value is auto. --> 1777 <attr name="drawingCacheQuality"> 1778 <!-- Lets the framework decide what quality level should be used 1779 for the drawing cache. --> 1780 <enum name="auto" value="0" /> 1781 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 1782 depth, thus losing precision in rendering gradients, but uses less memory. --> 1783 <enum name="low" value="1" /> 1784 <!-- High quality. When set to high quality, the drawing cache uses a higher 1785 color depth but uses more memory. --> 1786 <enum name="high" value="2" /> 1787 </attr> 1788 1789 <!-- Controls whether the view's window should keep the screen on 1790 while visible. --> 1791 <attr name="keepScreenOn" format="boolean" /> 1792 1793 <!-- When this attribute is set to true, the view gets its drawable state 1794 (focused, pressed, etc.) from its direct parent rather than from itself. --> 1795 <attr name="duplicateParentState" format="boolean" /> 1796 1797 <!-- Defines the minimum height of the view. It is not guaranteed 1798 the view will be able to achieve this minimum height (for example, 1799 if its parent layout constrains it with less available height). --> 1800 <attr name="minHeight" /> 1801 1802 <!-- Defines the minimum width of the view. It is not guaranteed 1803 the view will be able to achieve this minimum width (for example, 1804 if its parent layout constrains it with less available width). --> 1805 <attr name="minWidth" /> 1806 1807 <!-- Boolean that controls whether a view should have sound effects 1808 enabled for events such as clicking and touching. --> 1809 <attr name="soundEffectsEnabled" format="boolean" /> 1810 1811 <!-- Boolean that controls whether a view should have haptic feedback 1812 enabled for events such as long presses. --> 1813 <attr name="hapticFeedbackEnabled" format="boolean" /> 1814 1815 <!-- Defines text that briefly describes content of the view. This property is used 1816 primarily for accessibility. Since some views do not have textual 1817 representation this attribute can be used for providing such. --> 1818 <attr name="contentDescription" format="string" localization="suggested" /> 1819 1820 <!-- Name of the method in this View's context to invoke when the view is 1821 clicked. This name must correspond to a public method that takes 1822 exactly one parameter of type View. For instance, if you specify 1823 <code>android:onClick="sayHello"</code>, you must declare a 1824 <code>public void sayHello(View v)</code> method of your context 1825 (typically, your Activity). --> 1826 <attr name="onClick" format="string" /> 1827 1828 <!-- Defines over-scrolling behavior. This property is used only if the 1829 View is scrollable. Over-scrolling is the ability for the user to 1830 receive feedback when attempting to scroll beyond meaningful content. --> 1831 <attr name="overScrollMode"> 1832 <!-- Always show over-scroll effects, even if the content fits entirely 1833 within the available space. --> 1834 <enum name="always" value="0" /> 1835 <!-- Only show over-scroll effects if the content is large 1836 enough to meaningfully scroll. --> 1837 <enum name="ifContentScrolls" value="1" /> 1838 <!-- Never show over-scroll effects. --> 1839 <enum name="never" value="2" /> 1840 </attr> 1841 1842 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 1843 (completely opaque). --> 1844 <attr name="alpha" format="float" /> 1845 1846 <!-- translation in x of the view. This value is added post-layout to the left 1847 property of the view, which is set by its layout. --> 1848 <attr name="translationX" format="dimension" /> 1849 1850 <!-- translation in y of the view. This value is added post-layout to the left 1851 property of the view, which is set by its layout. --> 1852 <attr name="translationY" format="dimension" /> 1853 1854 <!-- x location of the pivot point around which the view will rotate and scale. 1855 This xml attribute sets the pivotX property of the View. --> 1856 <attr name="transformPivotX" format="dimension" /> 1857 1858 <!-- y location of the pivot point around which the view will rotate and scale. 1859 This xml attribute sets the pivotY property of the View. --> 1860 <attr name="transformPivotY" format="dimension" /> 1861 1862 <!-- rotation of the view, in degrees. --> 1863 <attr name="rotation" format="float" /> 1864 1865 <!-- rotation of the view around the x axis, in degrees. --> 1866 <attr name="rotationX" format="float" /> 1867 1868 <!-- rotation of the view around the y axis, in degrees. --> 1869 <attr name="rotationY" format="float" /> 1870 1871 <!-- scale of the view in the x direction. --> 1872 <attr name="scaleX" format="float" /> 1873 1874 <!-- scale of the view in the y direction. --> 1875 <attr name="scaleY" format="float" /> 1876 1877 <!-- Determines which side the vertical scroll bar should be placed on. --> 1878 <attr name="verticalScrollbarPosition"> 1879 <!-- Place the scroll bar wherever the system default determines. --> 1880 <enum name="defaultPosition" value="0" /> 1881 <!-- Place the scroll bar on the left. --> 1882 <enum name="left" value="1" /> 1883 <!-- Place the scroll bar on the right. --> 1884 <enum name="right" value="2" /> 1885 </attr> 1886 1887 <!-- Specifies the type of layer backing this view. The default value is none. 1888 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 1889 for more information.--> 1890 <attr name="layerType"> 1891 <!-- Don't use a layer. --> 1892 <enum name="none" value="0" /> 1893 <!-- Use a software layer. Refer to 1894 {@link android.view.View#setLayerType(int, android.graphics.Paint) for 1895 more information. --> 1896 <enum name="software" value="1" /> 1897 <!-- Use a hardware layer. Refer to 1898 {@link android.view.View#setLayerType(int, android.graphics.Paint) for 1899 more information. --> 1900 <enum name="hardware" value="2" /> 1901 </attr> 1902 </declare-styleable> 1903 1904 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 1905 of its subclasses. Also see {@link #ViewGroup_Layout} for 1906 attributes that this class processes in its children. --> 1907 <declare-styleable name="ViewGroup"> 1908 <!-- Defines whether changes in layout (caused by adding and removing items) should 1909 cause a LayoutTransition to run. When this flag is set to true, a default 1910 LayoutTransition object will be set on the ViewGroup container and default 1911 animations will run when these layout changes occur.--> 1912 <attr name="animateLayoutChanges" format="boolean" /> 1913 <!-- Defines whether a child is limited to draw inside of its bounds or not. 1914 This is useful with animations that scale the size of the children to more 1915 than 100% for instance. In such a case, this property should be set to false 1916 to allow the children to draw outside of their bounds. The default value of 1917 this property is true. --> 1918 <attr name="clipChildren" format="boolean" /> 1919 <!-- Defines whether the ViewGroup will clip its drawing surface so as to exclude 1920 the padding area. This property is set to true by default. --> 1921 <attr name="clipToPadding" format="boolean" /> 1922 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 1923 Layout animations can also be started manually after the first layout. --> 1924 <attr name="layoutAnimation" format="reference" /> 1925 <!-- Defines whether layout animations should create a drawing cache for their 1926 children. Enabling the animation cache consumes more memory and requires 1927 a longer initialization but provides better performance. The animation 1928 cache is enabled by default. --> 1929 <attr name="animationCache" format="boolean" /> 1930 <!-- Defines the persistence of the drawing cache. The drawing cache might be 1931 enabled by a ViewGroup for all its children in specific situations (for 1932 instance during a scrolling.) This property lets you persist the cache 1933 in memory after its initial usage. Persisting the cache consumes more 1934 memory but may prevent frequent garbage collection is the cache is created 1935 over and over again. By default the persistence is set to scrolling. --> 1936 <attr name="persistentDrawingCache"> 1937 <!-- The drawing cache is not persisted after use. --> 1938 <flag name="none" value="0x0" /> 1939 <!-- The drawing cache is persisted after a layout animation. --> 1940 <flag name="animation" value="0x1" /> 1941 <!-- The drawing cache is persisted after a scroll. --> 1942 <flag name="scrolling" value="0x2" /> 1943 <!-- The drawing cache is always persisted. --> 1944 <flag name="all" value="0x3" /> 1945 </attr> 1946 <!-- Defines whether the ViewGroup should always draw its children using their 1947 drawing cache or not. The default value is true. --> 1948 <attr name="alwaysDrawnWithCache" format="boolean" /> 1949 <!-- Sets whether this ViewGroup's drawable states also include 1950 its children's drawable states. This is used, for example, to 1951 make a group appear to be focused when its child EditText or button 1952 is focused. --> 1953 <attr name="addStatesFromChildren" format="boolean" /> 1954 1955 <!-- Defines the relationship between the ViewGroup and its descendants 1956 when looking for a View to take focus. --> 1957 <attr name="descendantFocusability"> 1958 <!-- The ViewGroup will get focus before any of its descendants. --> 1959 <enum name="beforeDescendants" value="0" /> 1960 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 1961 <enum name="afterDescendants" value="1" /> 1962 <!-- The ViewGroup will block its descendants from receiving focus. --> 1963 <enum name="blocksDescendants" value="2" /> 1964 </attr> 1965 1966 <!-- Sets whether this ViewGroup should split MotionEvents 1967 to separate child views during touch event dispatch. 1968 If false (default), touch events will be dispatched to 1969 the child view where the first pointer went down until 1970 the last pointer goes up. 1971 If true, touch events may be dispatched to multiple children. 1972 MotionEvents for each pointer will be dispatched to the child 1973 view where the initial ACTION_DOWN event happened. 1974 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 1975 for more information. --> 1976 <attr name="splitMotionEvents" format="boolean" /> 1977 </declare-styleable> 1978 1979 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 1980 inside your application at runtime. --> 1981 <declare-styleable name="ViewStub"> 1982 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 1983 becomes visible or when forced to do so. The layout resource must be a 1984 valid reference to a layout. --> 1985 <attr name="layout" format="reference" /> 1986 <!-- Overrides the id of the inflated View with this value. --> 1987 <attr name="inflatedId" format="reference" /> 1988 </declare-styleable> 1989 1990 <!-- ===================================== --> 1991 <!-- View package parent layout attributes --> 1992 <!-- ===================================== --> 1993 <eat-comment /> 1994 1995 <!-- This is the basic set of layout attributes that are common to all 1996 layout managers. These attributes are specified with the rest of 1997 a view's normal attributes (such as {@link android.R.attr#background}, 1998 but will be parsed by the view's parent and ignored by the child. 1999 <p>The values defined here correspond to the base layout attribute 2000 class {@link android.view.ViewGroup.LayoutParams}. --> 2001 <declare-styleable name="ViewGroup_Layout"> 2002 <!-- Specifies the basic width of the view. This is a required attribute 2003 for any view inside of a containing layout manager. Its value may 2004 be a dimension (such as "12dip") for a constant width or one of 2005 the special constants. --> 2006 <attr name="layout_width" format="dimension"> 2007 <!-- The view should be as big as its parent (minus padding). 2008 This constant is deprecated starting from API Level 8 and 2009 is replaced by {@code match_parent}. --> 2010 <enum name="fill_parent" value="-1" /> 2011 <!-- The view should be as big as its parent (minus padding). 2012 Introduced in API Level 8. --> 2013 <enum name="match_parent" value="-1" /> 2014 <!-- The view should be only big enough to enclose its content (plus padding). --> 2015 <enum name="wrap_content" value="-2" /> 2016 </attr> 2017 2018 <!-- Specifies the basic height of the view. This is a required attribute 2019 for any view inside of a containing layout manager. Its value may 2020 be a dimension (such as "12dip") for a constant height or one of 2021 the special constants. --> 2022 <attr name="layout_height" format="dimension"> 2023 <!-- The view should be as big as its parent (minus padding). 2024 This constant is deprecated starting from API Level 8 and 2025 is replaced by {@code match_parent}. --> 2026 <enum name="fill_parent" value="-1" /> 2027 <!-- The view should be as big as its parent (minus padding). 2028 Introduced in API Level 8. --> 2029 <enum name="match_parent" value="-1" /> 2030 <!-- The view should be only big enough to enclose its content (plus padding). --> 2031 <enum name="wrap_content" value="-2" /> 2032 </attr> 2033 </declare-styleable> 2034 2035 <!-- This is the basic set of layout attributes for layout managers that 2036 wish to place margins around their child views. 2037 These attributes are specified with the rest of 2038 a view's normal attributes (such as {@link android.R.attr#background}, 2039 but will be parsed by the view's parent and ignored by the child. 2040 <p>The values defined here correspond to the base layout attribute 2041 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 2042 <declare-styleable name="ViewGroup_MarginLayout"> 2043 <attr name="layout_width" /> 2044 <attr name="layout_height" /> 2045 <!-- Specifies extra space on the left, top, right and bottom 2046 sides of this view. This space is outside this view's bounds. --> 2047 <attr name="layout_margin" format="dimension" /> 2048 <!-- Specifies extra space on the left side of this view. 2049 This space is outside this view's bounds. --> 2050 <attr name="layout_marginLeft" format="dimension" /> 2051 <!-- Specifies extra space on the top side of this view. 2052 This space is outside this view's bounds. --> 2053 <attr name="layout_marginTop" format="dimension" /> 2054 <!-- Specifies extra space on the right side of this view. 2055 This space is outside this view's bounds. --> 2056 <attr name="layout_marginRight" format="dimension" /> 2057 <!-- Specifies extra space on the bottom side of this view. 2058 This space is outside this view's bounds. --> 2059 <attr name="layout_marginBottom" format="dimension" /> 2060 </declare-styleable> 2061 2062 <!-- Use <code>input-method</code> as the root tag of the XML resource that 2063 describes an 2064 {@link android.view.inputmethod.InputMethod} service, which is 2065 referenced from its 2066 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 2067 meta-data entry. Described here are the attributes that can be 2068 included in that tag. --> 2069 <declare-styleable name="InputMethod"> 2070 <!-- Component name of an activity that allows the user to modify 2071 the settings for this service. --> 2072 <attr name="settingsActivity" format="string" /> 2073 <!-- Set to true in all of the configurations for which this input 2074 method should be considered an option as the default. --> 2075 <attr name="isDefault" format="boolean" /> 2076 </declare-styleable> 2077 2078 <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...) 2079 and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows 2080 the system to call the specified subtype of the IME directly. --> 2081 <declare-styleable name="InputMethod_Subtype"> 2082 <!-- The name of the subtype. --> 2083 <attr name="label" /> 2084 <!-- The icon of the subtype. --> 2085 <attr name="icon" /> 2086 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 2087 and will be passed to the IME when the framework calls the IME 2088 with the subtype. This is also used by the framework to know the supported locales 2089 of the IME. --> 2090 <attr name="imeSubtypeLocale" format="string" /> 2091 <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this 2092 string will be passed to the IME when the framework calls the IME with the 2093 subtype. --> 2094 <attr name="imeSubtypeMode" format="string" /> 2095 <!-- The extra value of the subtype. This string can be any string and will be passed to 2096 the IME when the framework calls the IME with the subtype. --> 2097 <attr name="imeSubtypeExtraValue" format="string" /> 2098 </declare-styleable> 2099 2100 <!-- =============================== --> 2101 <!-- Widget package class attributes --> 2102 <!-- =============================== --> 2103 <eat-comment /> 2104 2105 <declare-styleable name="AbsListView"> 2106 <!-- Drawable used to indicate the currently selected item in the list. --> 2107 <attr name="listSelector" format="color|reference" /> 2108 <!-- When set to true, the selector will be drawn over the selected item. 2109 Otherwise the selector is drawn behind the selected item. The default 2110 value is false. --> 2111 <attr name="drawSelectorOnTop" format="boolean" /> 2112 <!-- Used by ListView and GridView to stack their content from the bottom. --> 2113 <attr name="stackFromBottom" format="boolean" /> 2114 <!-- When set to true, the list uses a drawing cache during scrolling. 2115 This makes the rendering faster but uses more memory. The default 2116 value is true. --> 2117 <attr name="scrollingCache" format="boolean" /> 2118 <!-- When set to true, the list will filter results as the user types. The 2119 List's adapter must support the Filterable interface for this to work. --> 2120 <attr name="textFilterEnabled" format="boolean" /> 2121 <!-- Sets the transcript mode for the list. In transcript mode, the list 2122 scrolls to the bottom to make new items visible when they are added. --> 2123 <attr name="transcriptMode"> 2124 <!-- Disables transcript mode. This is the default value. --> 2125 <enum name="disabled" value="0"/> 2126 <!-- The list will automatically scroll to the bottom when 2127 a data set change notification is received and only if the last item is 2128 already visible on screen. --> 2129 <enum name="normal" value="1" /> 2130 <!-- The list will automatically scroll to the bottom, no matter what items 2131 are currently visible. --> 2132 <enum name="alwaysScroll" value="2" /> 2133 </attr> 2134 <!-- Indicates that this list will always be drawn on top of solid, single-color 2135 opaque background. This allows the list to optimize drawing. --> 2136 <attr name="cacheColorHint" format="color" /> 2137 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 2138 the list. --> 2139 <attr name="fastScrollEnabled" format="boolean" /> 2140 <!-- When set to true, the list will use a more refined calculation 2141 method based on the pixels height of the items visible on screen. This 2142 property is set to true by default but should be set to false if your adapter 2143 will display items of varying heights. When this property is set to true and 2144 your adapter displays items of varying heights, the scrollbar thumb will 2145 change size as the user scrolls through the list. When set to fale, the list 2146 will use only the number of items in the adapter and the number of items visible 2147 on screen to determine the scrollbar's properties. --> 2148 <attr name="smoothScrollbar" format="boolean" /> 2149 <!-- Defines the choice behavior for the view. By default, lists do not have 2150 any choice behavior. By setting the choiceMode to singleChoice, the list 2151 allows up to one item to be in a chosen state. By setting the choiceMode to 2152 multipleChoice, the list allows any number of items to be chosen. 2153 Finally, by setting the choiceMode to multipleChoiceModal the list allows 2154 any number of items to be chosen in a special selection mode. 2155 The application will supply a 2156 {@link android.widget.AbsListView.MultiChoiceModeListener} using 2157 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 2158 selection mode. This uses the {@link android.view.ActionMode} API. --> 2159 <attr name="choiceMode"> 2160 <!-- Normal list that does not indicate choices. --> 2161 <enum name="none" value="0" /> 2162 <!-- The list allows up to one choice. --> 2163 <enum name="singleChoice" value="1" /> 2164 <!-- The list allows multiple choices. --> 2165 <enum name="multipleChoice" value="2" /> 2166 <!-- The list allows multiple choices in a custom selection mode. --> 2167 <enum name="multipleChoiceModal" value="3" /> 2168 </attr> 2169 2170 <!-- When set to true, the list will always show the fast scroll interface. 2171 This setting implies fastScrollEnabled. --> 2172 <attr name="fastScrollAlwaysVisible" format="boolean" /> 2173 </declare-styleable> 2174 <declare-styleable name="AbsSpinner"> 2175 <!-- Reference to an array resource that will populate the Spinner. For static content, 2176 this is simpler than populating the Spinner programmatically. --> 2177 <attr name="entries" /> 2178 </declare-styleable> 2179 <declare-styleable name="AnalogClock"> 2180 <attr name="dial" format="reference"/> 2181 <attr name="hand_hour" format="reference"/> 2182 <attr name="hand_minute" format="reference"/> 2183 </declare-styleable> 2184 <declare-styleable name="Button"> 2185 </declare-styleable> 2186 <declare-styleable name="Chronometer"> 2187 <!-- Format string: if specified, the Chronometer will display this 2188 string, with the first "%s" replaced by the current timer value 2189 in "MM:SS" or "H:MM:SS" form. 2190 If no format string is specified, the Chronometer will simply display 2191 "MM:SS" or "H:MM:SS". --> 2192 <attr name="format" format="string" localization="suggested" /> 2193 </declare-styleable> 2194 <declare-styleable name="CompoundButton"> 2195 <!-- Indicates the initial checked state of this button. --> 2196 <attr name="checked" format="boolean" /> 2197 <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). --> 2198 <attr name="button" format="reference"/> 2199 </declare-styleable> 2200 <declare-styleable name="CheckedTextView"> 2201 <!-- Indicates the initial checked state of this text. --> 2202 <attr name="checked" /> 2203 <!-- Drawable used for the check mark graphic. --> 2204 <attr name="checkMark" format="reference"/> 2205 </declare-styleable> 2206 <declare-styleable name="EditText"> 2207 </declare-styleable> 2208 <declare-styleable name="FrameLayout"> 2209 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2210 The foreground drawable participates in the padding of the content if the gravity 2211 is set to fill. --> 2212 <attr name="foreground" format="reference|color" /> 2213 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2214 to fill. --> 2215 <attr name="foregroundGravity"> 2216 <!-- Push object to the top of its container, not changing its size. --> 2217 <flag name="top" value="0x30" /> 2218 <!-- Push object to the bottom of its container, not changing its size. --> 2219 <flag name="bottom" value="0x50" /> 2220 <!-- Push object to the left of its container, not changing its size. --> 2221 <flag name="left" value="0x03" /> 2222 <!-- Push object to the right of its container, not changing its size. --> 2223 <flag name="right" value="0x05" /> 2224 <!-- Place object in the vertical center of its container, not changing its size. --> 2225 <flag name="center_vertical" value="0x10" /> 2226 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2227 <flag name="fill_vertical" value="0x70" /> 2228 <!-- Place object in the horizontal center of its container, not changing its size. --> 2229 <flag name="center_horizontal" value="0x01" /> 2230 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2231 <flag name="fill_horizontal" value="0x07" /> 2232 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2233 <flag name="center" value="0x11" /> 2234 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2235 <flag name="fill" value="0x77" /> 2236 <!-- Additional option that can be set to have the top and/or bottom edges of 2237 the child clipped to its container's bounds. 2238 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2239 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2240 <flag name="clip_vertical" value="0x80" /> 2241 <!-- Additional option that can be set to have the left and/or right edges of 2242 the child clipped to its container's bounds. 2243 The clip will be based on the horizontal gravity: a left gravity will clip the right 2244 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2245 <flag name="clip_horizontal" value="0x08" /> 2246 </attr> 2247 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2248 This property is turned on by default. --> 2249 <attr name="foregroundInsidePadding" format="boolean" /> 2250 <!-- Determines whether to measure all children or just those in 2251 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 2252 <attr name="measureAllChildren" format="boolean" /> 2253 </declare-styleable> 2254 <declare-styleable name="ExpandableListView"> 2255 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 2256 <attr name="groupIndicator" format="reference" /> 2257 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 2258 <attr name="childIndicator" format="reference" /> 2259 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 2260 use childIndicatorLeft. --> 2261 <attr name="indicatorLeft" format="dimension" /> 2262 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 2263 use childIndicatorRight. --> 2264 <attr name="indicatorRight" format="dimension" /> 2265 <!-- The left bound for a child's indicator. --> 2266 <attr name="childIndicatorLeft" format="dimension" /> 2267 <!-- The right bound for a child's indicator. --> 2268 <attr name="childIndicatorRight" format="dimension" /> 2269 <!-- Drawable or color that is used as a divider for children. (It will drawn 2270 below and above child items.) The height of this will be the same as 2271 the height of the normal list item divider. --> 2272 <attr name="childDivider" format="reference|color" /> 2273 </declare-styleable> 2274 <declare-styleable name="Gallery"> 2275 <attr name="gravity" /> 2276 <!-- Sets how long a transition animation should run (in milliseconds) 2277 when layout has changed. Only relevant if animation is turned on. --> 2278 <attr name="animationDuration" format="integer" min="0" /> 2279 <attr name="spacing" format="dimension" /> 2280 <!-- Sets the alpha on the items that are not selected. --> 2281 <attr name="unselectedAlpha" format="float" /> 2282 </declare-styleable> 2283 <declare-styleable name="GridView"> 2284 <!-- Defines the default horizontal spacing between columns. --> 2285 <attr name="horizontalSpacing" format="dimension" /> 2286 <!-- Defines the default vertical spacing between rows. --> 2287 <attr name="verticalSpacing" format="dimension" /> 2288 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 2289 <attr name="stretchMode"> 2290 <!-- Stretching is disabled. --> 2291 <enum name="none" value="0"/> 2292 <!-- The spacing between each column is stretched. --> 2293 <enum name="spacingWidth" value="1" /> 2294 <!-- Each column is stretched equally. --> 2295 <enum name="columnWidth" value="2" /> 2296 <!-- The spacing between each column is uniformly stretched.. --> 2297 <enum name="spacingWidthUniform" value="3" /> 2298 </attr> 2299 <!-- Specifies the fixed width for each column. --> 2300 <attr name="columnWidth" format="dimension" /> 2301 <!-- Defines how many columns to show. --> 2302 <attr name="numColumns" format="integer" min="0"> 2303 <!-- Display as many columns as possible to fill the available space. --> 2304 <enum name="auto_fit" value="-1" /> 2305 </attr> 2306 <!-- Specifies the gravity within each cell. --> 2307 <attr name="gravity" /> 2308 </declare-styleable> 2309 <declare-styleable name="ImageSwitcher"> 2310 </declare-styleable> 2311 <declare-styleable name="ImageView"> 2312 <!-- Sets a drawable as the content of this ImageView. --> 2313 <attr name="src" format="reference|color" /> 2314 <!-- Controls how the image should be resized or moved to match the size 2315 of this ImageView. --> 2316 <attr name="scaleType"> 2317 <enum name="matrix" value="0" /> 2318 <enum name="fitXY" value="1" /> 2319 <enum name="fitStart" value="2" /> 2320 <enum name="fitCenter" value="3" /> 2321 <enum name="fitEnd" value="4" /> 2322 <enum name="center" value="5" /> 2323 <enum name="centerCrop" value="6" /> 2324 <enum name="centerInside" value="7" /> 2325 </attr> 2326 <!-- Set this to true if you want the ImageView to adjust its bounds 2327 to preserve the aspect ratio of its drawable. --> 2328 <attr name="adjustViewBounds" format="boolean" /> 2329 <!-- An optional argument to supply a maximum width for this view. 2330 See {see android.widget.ImageView#setMaxWidth} for details. --> 2331 <attr name="maxWidth" format="dimension" /> 2332 <!-- An optional argument to supply a maximum height for this view. 2333 See {see android.widget.ImageView#setMaxHeight} for details. --> 2334 <attr name="maxHeight" format="dimension" /> 2335 <!-- Set a tinting color for the image. --> 2336 <attr name="tint" format="color" /> 2337 <!-- If true, the image view will be baseline aligned with based on its 2338 bottom edge. --> 2339 <attr name="baselineAlignBottom" format="boolean" /> 2340 <!-- If true, the image will be cropped to fit within its padding. --> 2341 <attr name="cropToPadding" format="boolean" /> 2342 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 2343 for details --> 2344 <attr name="baseline" format="dimension" /> 2345 </declare-styleable> 2346 <declare-styleable name="ToggleButton"> 2347 <!-- The text for the button when it is checked. --> 2348 <attr name="textOn" format="string" /> 2349 <!-- The text for the button when it is not checked. --> 2350 <attr name="textOff" format="string" /> 2351 <!-- The alpha to apply to the indicator when disabled. --> 2352 <attr name="disabledAlpha" /> 2353 </declare-styleable> 2354 <declare-styleable name="RelativeLayout"> 2355 <attr name="gravity" /> 2356 <!-- Indicates what view should not be affected by gravity. --> 2357 <attr name="ignoreGravity" format="reference" /> 2358 </declare-styleable> 2359 <declare-styleable name="LinearLayout"> 2360 <!-- Should the layout be a column or a row? Use "horizontal" 2361 for a row, "vertical" for a column. The default is 2362 horizontal. --> 2363 <attr name="orientation" /> 2364 <attr name="gravity" /> 2365 <!-- When set to false, prevents the layout from aligning its children's 2366 baselines. This attribute is particularly useful when the children 2367 use different values for gravity. The default value is true. --> 2368 <attr name="baselineAligned" format="boolean" /> 2369 <!-- When a linear layout is part of another layout that is baseline 2370 aligned, it can specify which of its children to baseline align to 2371 (that is, which child TextView).--> 2372 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 2373 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 2374 by adding the layout_weight of all of the children. This can be 2375 used for instance to give a single child 50% of the total available 2376 space by giving it a layout_weight of 0.5 and setting the weightSum 2377 to 1.0. --> 2378 <attr name="weightSum" format="float" /> 2379 <!-- When set to true, all children with a weight will be considered having 2380 the minimum size of the largest child. If false, all children are 2381 measured normally. --> 2382 <attr name="measureWithLargestChild" format="boolean" /> 2383 <!-- Drawable to use as a vertical divider between buttons. --> 2384 <attr name="divider" /> 2385 <!-- Setting for which dividers to show. --> 2386 <attr name="showDividers"> 2387 <flag name="none" value="0" /> 2388 <flag name="beginning" value="1" /> 2389 <flag name="middle" value="2" /> 2390 <flag name="end" value="4" /> 2391 </attr> 2392 <!-- Size of padding on either end of a divider. --> 2393 <attr name="dividerPadding" format="dimension" /> 2394 </declare-styleable> 2395 <declare-styleable name="ListView"> 2396 <!-- Reference to an array resource that will populate the ListView. For static content, 2397 this is simpler than populating the ListView programmatically. --> 2398 <attr name="entries" /> 2399 <!-- Drawable or color to draw between list items. --> 2400 <attr name="divider" format="reference|color" /> 2401 <!-- Height of the divider. Will use the intrinsic height of the divider if this 2402 is not specified. --> 2403 <attr name="dividerHeight" format="dimension" /> 2404 <!-- When set to false, the ListView will not draw the divider after each header view. 2405 The default value is true. --> 2406 <attr name="headerDividersEnabled" format="boolean" /> 2407 <!-- When set to false, the ListView will not draw the divider before each footer view. 2408 The default value is true. --> 2409 <attr name="footerDividersEnabled" format="boolean" /> 2410 <!-- Drawable to draw above list content. --> 2411 <attr name="overScrollHeader" format="reference|color" /> 2412 <!-- Drawable to draw below list content. --> 2413 <attr name="overScrollFooter" format="reference|color" /> 2414 </declare-styleable> 2415 <declare-styleable name="PreferenceFrameLayout"> 2416 <!-- Padding to use at the top of the prefs content. --> 2417 <attr name="borderTop" format="dimension" /> 2418 <!-- Padding to use at the bottom of the prefs content. --> 2419 <attr name="borderBottom" format="dimension" /> 2420 <!-- Padding to use at the left of the prefs content. --> 2421 <attr name="borderLeft" format="dimension" /> 2422 <!-- Padding to use at the right of the prefs content. --> 2423 <attr name="borderRight" format="dimension" /> 2424 </declare-styleable> 2425 <declare-styleable name="PreferenceFrameLayout_Layout"> 2426 <!-- Padding to use at the top of the prefs content. --> 2427 <attr name="layout_removeBorders" format="boolean" /> 2428 </declare-styleable> 2429 <declare-styleable name="MenuView"> 2430 <!-- Default appearance of menu item text. --> 2431 <attr name="itemTextAppearance" format="reference" /> 2432 <!-- Default horizontal divider between rows of menu items. --> 2433 <attr name="horizontalDivider" format="reference" /> 2434 <!-- Default vertical divider between menu items. --> 2435 <attr name="verticalDivider" format="reference" /> 2436 <!-- Default background for the menu header. --> 2437 <attr name="headerBackground" format="color|reference" /> 2438 <!-- Default background for each menu item. --> 2439 <attr name="itemBackground" format="color|reference" /> 2440 <!-- Default animations for the menu. --> 2441 <attr name="windowAnimationStyle" /> 2442 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 2443 <attr name="itemIconDisabledAlpha" format="float" /> 2444 <!-- Whether space should be reserved in layout when an icon is missing. --> 2445 <attr name="preserveIconSpacing" format="boolean" /> 2446 </declare-styleable> 2447 <declare-styleable name="IconMenuView"> 2448 <!-- Defines the height of each row. --> 2449 <attr name="rowHeight" format="dimension" /> 2450 <!-- Defines the maximum number of rows displayed. --> 2451 <attr name="maxRows" format="integer" /> 2452 <!-- Defines the maximum number of items per row. --> 2453 <attr name="maxItemsPerRow" format="integer" /> 2454 <!-- Defines the maximum number of items to show. --> 2455 <attr name="maxItems" format="integer" /> 2456 <!-- 'More' icon. --> 2457 <attr name="moreIcon" format="reference" /> 2458 </declare-styleable> 2459 2460 <declare-styleable name="ProgressBar"> 2461 <!-- Defines the maximum value the progress can take. --> 2462 <attr name="max" format="integer" /> 2463 <!-- Defines the default progress value, between 0 and max. --> 2464 <attr name="progress" format="integer" /> 2465 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 2466 the primary progress and the background. It can be ideal for media scenarios such as 2467 showing the buffering progress while the default progress shows the play progress. --> 2468 <attr name="secondaryProgress" format="integer" /> 2469 <!-- Allows to enable the indeterminate mode. In this mode the progress 2470 bar plays an infinite looping animation. --> 2471 <attr name="indeterminate" format="boolean" /> 2472 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 2473 <attr name="indeterminateOnly" format="boolean" /> 2474 <!-- Drawable used for the indeterminate mode. --> 2475 <attr name="indeterminateDrawable" format="reference" /> 2476 <!-- Drawable used for the progress mode. --> 2477 <attr name="progressDrawable" format="reference" /> 2478 <!-- Duration of the indeterminate animation. --> 2479 <attr name="indeterminateDuration" format="integer" min="1" /> 2480 <!-- Defines how the indeterminate mode should behave when the progress 2481 reaches max. --> 2482 <attr name="indeterminateBehavior"> 2483 <!-- Progress starts over from 0. --> 2484 <enum name="repeat" value="1" /> 2485 <!-- Progress keeps the current value and goes back to 0. --> 2486 <enum name="cycle" value="2" /> 2487 </attr> 2488 <attr name="minWidth" format="dimension" /> 2489 <attr name="maxWidth" /> 2490 <attr name="minHeight" format="dimension" /> 2491 <attr name="maxHeight" /> 2492 <attr name="interpolator" format="reference" /> 2493 <!-- Timeout between frames of animation in milliseconds --> 2494 <attr name="animationResolution" format="integer" /> 2495 </declare-styleable> 2496 2497 <declare-styleable name="SeekBar"> 2498 <!-- Draws the thumb on a seekbar. --> 2499 <attr name="thumb" format="reference" /> 2500 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 2501 <attr name="thumbOffset" format="dimension" /> 2502 </declare-styleable> 2503 2504 <declare-styleable name="RatingBar"> 2505 <!-- The number of stars (or rating items) to show. --> 2506 <attr name="numStars" format="integer" /> 2507 <!-- The rating to set by default. --> 2508 <attr name="rating" format="float" /> 2509 <!-- The step size of the rating. --> 2510 <attr name="stepSize" format="float" /> 2511 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 2512 <attr name="isIndicator" format="boolean" /> 2513 </declare-styleable> 2514 2515 <declare-styleable name="RadioGroup"> 2516 <!-- The id of the child radio button that should be checked by default 2517 within this radio group. --> 2518 <attr name="checkedButton" format="integer" /> 2519 <!-- Should the radio group be a column or a row? Use "horizontal" 2520 for a row, "vertical" for a column. The default is 2521 vertical. --> 2522 <attr name="orientation" /> 2523 </declare-styleable> 2524 <declare-styleable name="TableLayout"> 2525 <!-- The zero-based index of the columns to stretch. The column indices 2526 must be separated by a comma: 1, 2, 5. Illegal and duplicate 2527 indices are ignored. You can stretch all columns by using the 2528 value "*" instead. Note that a column can be marked stretchable 2529 and shrinkable at the same time. --> 2530 <attr name="stretchColumns" format="string" /> 2531 <!-- The zero-based index of the columns to shrink. The column indices 2532 must be separated by a comma: 1, 2, 5. Illegal and duplicate 2533 indices are ignored. You can shrink all columns by using the 2534 value "*" instead. Note that a column can be marked stretchable 2535 and shrinkable at the same time. --> 2536 <attr name="shrinkColumns" format="string" /> 2537 <!-- The zero-based index of the columns to collapse. The column indices 2538 must be separated by a comma: 1, 2, 5. Illegal and duplicate 2539 indices are ignored. --> 2540 <attr name="collapseColumns" format="string" /> 2541 </declare-styleable> 2542 <declare-styleable name="TableRow"> 2543 2544 </declare-styleable> 2545 <declare-styleable name="TableRow_Cell"> 2546 <!-- The index of the column in which this child should be. --> 2547 <attr name="layout_column" format="integer" /> 2548 <!-- Defines how many columns this child should span. Must be >= 1.--> 2549 <attr name="layout_span" format="integer" /> 2550 </declare-styleable> 2551 <declare-styleable name="TabWidget"> 2552 <!-- Drawable used to draw the divider between tabs. --> 2553 <attr name="divider" /> 2554 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 2555 <attr name="tabStripEnabled" format="boolean" /> 2556 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 2557 <attr name="tabStripLeft" format="reference" /> 2558 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 2559 <attr name="tabStripRight" format="reference" /> 2560 <!-- Layout used to organize each tab's content. --> 2561 <attr name="tabLayout" format="reference" /> 2562 </declare-styleable> 2563 <declare-styleable name="TextAppearance"> 2564 <!-- Text color. --> 2565 <attr name="textColor" /> 2566 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 2567 <attr name="textSize" /> 2568 <!-- Style (bold, italic, bolditalic) for the text. --> 2569 <attr name="textStyle" /> 2570 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 2571 <attr name="typeface" /> 2572 <!-- Color of the text selection highlight. --> 2573 <attr name="textColorHighlight" /> 2574 <!-- Color of the hint text. --> 2575 <attr name="textColorHint" /> 2576 <!-- Color of the links. --> 2577 <attr name="textColorLink" /> 2578 </declare-styleable> 2579 <declare-styleable name="TextSwitcher"> 2580 </declare-styleable> 2581 <declare-styleable name="TextView"> 2582 <!-- Determines the minimum type that getText() will return. 2583 The default is "normal". 2584 Note that EditText and LogTextBox always return Editable, 2585 even if you specify something less powerful here. --> 2586 <attr name="bufferType"> 2587 <!-- Can return any CharSequence, possibly a 2588 Spanned one if the source text was Spanned. --> 2589 <enum name="normal" value="0" /> 2590 <!-- Can only return Spannable. --> 2591 <enum name="spannable" value="1" /> 2592 <!-- Can only return Spannable and Editable. --> 2593 <enum name="editable" value="2" /> 2594 </attr> 2595 <!-- Text to display. --> 2596 <attr name="text" format="string" localization="suggested" /> 2597 <!-- Hint text to display when the text is empty. --> 2598 <attr name="hint" format="string" /> 2599 <!-- Text color. --> 2600 <attr name="textColor" /> 2601 <!-- Color of the text selection highlight. --> 2602 <attr name="textColorHighlight" /> 2603 <!-- Color of the hint text. --> 2604 <attr name="textColorHint" /> 2605 <!-- Base text color, typeface, size, and style. --> 2606 <attr name="textAppearance" /> 2607 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 2608 <attr name="textSize" /> 2609 <!-- Sets the horizontal scaling factor for the text. --> 2610 <attr name="textScaleX" format="float" /> 2611 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 2612 <attr name="typeface" /> 2613 <!-- Style (bold, italic, bolditalic) for the text. --> 2614 <attr name="textStyle" /> 2615 <!-- Text color for links. --> 2616 <attr name="textColorLink" /> 2617 <!-- Makes the cursor visible (the default) or invisible. --> 2618 <attr name="cursorVisible" format="boolean" /> 2619 <!-- Makes the TextView be at most this many lines tall. --> 2620 <attr name="maxLines" format="integer" min="0" /> 2621 <!-- Makes the TextView be at most this many pixels tall. --> 2622 <attr name="maxHeight" /> 2623 <!-- Makes the TextView be exactly this many lines tall. --> 2624 <attr name="lines" format="integer" min="0" /> 2625 <!-- Makes the TextView be exactly this many pixels tall. 2626 You could get the same effect by specifying this number in the 2627 layout parameters. --> 2628 <attr name="height" format="dimension" /> 2629 <!-- Makes the TextView be at least this many lines tall. --> 2630 <attr name="minLines" format="integer" min="0" /> 2631 <!-- Makes the TextView be at least this many pixels tall. --> 2632 <attr name="minHeight" /> 2633 <!-- Makes the TextView be at most this many ems wide. --> 2634 <attr name="maxEms" format="integer" min="0" /> 2635 <!-- Makes the TextView be at most this many pixels wide. --> 2636 <attr name="maxWidth" /> 2637 <!-- Makes the TextView be exactly this many ems wide. --> 2638 <attr name="ems" format="integer" min="0" /> 2639 <!-- Makes the TextView be exactly this many pixels wide. 2640 You could get the same effect by specifying this number in the 2641 layout parameters. --> 2642 <attr name="width" format="dimension" /> 2643 <!-- Makes the TextView be at least this many ems wide. --> 2644 <attr name="minEms" format="integer" min="0" /> 2645 <!-- Makes the TextView be at least this many pixels wide. --> 2646 <attr name="minWidth" /> 2647 <!-- Specifies how to align the text by the view's x- and/or y-axis 2648 when the text is smaller than the view. --> 2649 <attr name="gravity" /> 2650 <!-- Whether the text is allowed to be wider than the view (and 2651 therefore can be scrolled horizontally). --> 2652 <attr name="scrollHorizontally" format="boolean" /> 2653 <!-- Whether the characters of the field are displayed as 2654 password dots instead of themselves. 2655 {@deprecated Use inputType instead.} --> 2656 <attr name="password" format="boolean" /> 2657 <!-- Constrains the text to a single horizontally scrolling line 2658 instead of letting it wrap onto multiple lines, and advances 2659 focus instead of inserting a newline when you press the 2660 enter key. Note: for editable text views, it is better 2661 to control this using the textMultiLine flag in the inputType 2662 attribute. (If both singleLine and inputType are supplied, 2663 the inputType flags will override the value of singleLine.) 2664 {@deprecated This attribute is deprecated and is replaced by the textMultiLine flag 2665 in the inputType attribute. Use caution when altering existing layouts, as the 2666 default value of singeLine is false (multi-line mode), but if you specify any 2667 value for inputType, the default is single-line mode. (If both singleLine and 2668 inputType attributes are found, the inputType flags will override the value of 2669 singleLine.) } --> 2670 <attr name="singleLine" format="boolean" /> 2671 <!-- Specifies whether the TextView is enabled or not. {@deprecated Use state_enabled instead}. --> 2672 <attr name="enabled" format="boolean" /> 2673 <!-- If the text is selectable, select it all when the view takes 2674 focus instead of moving the cursor to the start or end. --> 2675 <attr name="selectAllOnFocus" format="boolean" /> 2676 <!-- Leave enough room for ascenders and descenders instead of 2677 using the font ascent and descent strictly. (Normally true). --> 2678 <attr name="includeFontPadding" format="boolean" /> 2679 <!-- Set an input filter to constrain the text length to the 2680 specified number. --> 2681 <attr name="maxLength" format="integer" min="0" /> 2682 <!-- Place a shadow of the specified color behind the text. --> 2683 <attr name="shadowColor" format="color" /> 2684 <!-- Horizontal offset of the shadow. --> 2685 <attr name="shadowDx" format="float" /> 2686 <!-- Vertical offset of the shadow. --> 2687 <attr name="shadowDy" format="float" /> 2688 <!-- Radius of the shadow. --> 2689 <attr name="shadowRadius" format="float" /> 2690 <attr name="autoLink" /> 2691 <!-- If set to false, keeps the movement method from being set 2692 to the link movement method even if autoLink causes links 2693 to be found. --> 2694 <attr name="linksClickable" format="boolean" /> 2695 <!-- If set, specifies that this TextView has a numeric input method. 2696 The default is false. 2697 {@deprecated Use inputType instead.} --> 2698 <attr name="numeric"> 2699 <!-- Input is numeric. --> 2700 <flag name="integer" value="0x01" /> 2701 <!-- Input is numeric, with sign allowed. --> 2702 <flag name="signed" value="0x003" /> 2703 <!-- Input is numeric, with decimals allowed. --> 2704 <flag name="decimal" value="0x05" /> 2705 </attr> 2706 <!-- If set, specifies that this TextView has a numeric input method 2707 and that these specific characters are the ones that it will 2708 accept. 2709 If this is set, numeric is implied to be true. 2710 The default is false. --> 2711 <attr name="digits" format="string" /> 2712 <!-- If set, specifies that this TextView has a phone number input 2713 method. The default is false. 2714 {@deprecated Use inputType instead.} --> 2715 <attr name="phoneNumber" format="boolean" /> 2716 <!-- If set, specifies that this TextView should use the specified 2717 input method (specified by fully-qualified class name). 2718 {@deprecated Use inputType instead.} --> 2719 <attr name="inputMethod" format="string" /> 2720 <!-- If set, specifies that this TextView has a textual input method 2721 and should automatically capitalize what the user types. 2722 The default is "none". 2723 {@deprecated Use inputType instead.} --> 2724 <attr name="capitalize"> 2725 <!-- Don't automatically capitalize anything. --> 2726 <enum name="none" value="0" /> 2727 <!-- Capitalize the first word of each sentence. --> 2728 <enum name="sentences" value="1" /> 2729 <!-- Capitalize the first letter of every word. --> 2730 <enum name="words" value="2" /> 2731 <!-- Capitalize every character. --> 2732 <enum name="characters" value="3" /> 2733 </attr> 2734 <!-- If set, specifies that this TextView has a textual input method 2735 and automatically corrects some common spelling errors. 2736 The default is "false". 2737 {@deprecated Use inputType instead.} --> 2738 <attr name="autoText" format="boolean" /> 2739 <!-- If set, specifies that this TextView has an input method. 2740 It will be a textual one unless it has otherwise been specified. 2741 For TextView, this is false by default. For EditText, it is 2742 true by default. 2743 {@deprecated Use inputType instead.} --> 2744 <attr name="editable" format="boolean" /> 2745 <!-- If set, the text view will include its current complete text 2746 inside of its frozen icicle in addition to meta-data such as 2747 the current cursor position. By default this is disabled; 2748 it can be useful when the contents of a text view is not stored 2749 in a persistent place such as a content provider. --> 2750 <attr name="freezesText" format="boolean" /> 2751 <!-- If set, causes words that are longer than the view is wide 2752 to be ellipsized instead of broken in the middle. 2753 You will often also want to set scrollHorizontally or singleLine 2754 as well so that the text as a whole is also constrained to 2755 a single line instead of still allowed to be broken onto 2756 multiple lines. --> 2757 <attr name="ellipsize" /> 2758 <!-- The drawable to be drawn above the text. --> 2759 <attr name="drawableTop" format="reference|color" /> 2760 <!-- The drawable to be drawn below the text. --> 2761 <attr name="drawableBottom" format="reference|color" /> 2762 <!-- The drawable to be drawn to the left of the text. --> 2763 <attr name="drawableLeft" format="reference|color" /> 2764 <!-- The drawable to be drawn to the right of the text. --> 2765 <attr name="drawableRight" format="reference|color" /> 2766 <!-- The padding between the drawables and the text. --> 2767 <attr name="drawablePadding" format="dimension" /> 2768 <!-- Extra spacing between lines of text. --> 2769 <attr name="lineSpacingExtra" format="dimension" /> 2770 <!-- Extra spacing between lines of text, as a multiplier. --> 2771 <attr name="lineSpacingMultiplier" format="float" /> 2772 <!-- The number of times to repeat the marquee animation. Only applied if the 2773 TextView has marquee enabled. --> 2774 <attr name="marqueeRepeatLimit" format="integer"> 2775 <!-- Indicates that marquee should repeat indefinitely. --> 2776 <enum name="marquee_forever" value="-1" /> 2777 </attr> 2778 <attr name="inputType" /> 2779 <attr name="imeOptions" /> 2780 <!-- An addition content type description to supply to the input 2781 method attached to the text view, which is private to the 2782 implementation of the input method. This simply fills in 2783 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 2784 EditorInfo.privateImeOptions} field when the input 2785 method is connected. --> 2786 <attr name="privateImeOptions" format="string" /> 2787 <!-- Supply a value for 2788 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 2789 used when an input method is connected to the text view. --> 2790 <attr name="imeActionLabel" format="string" /> 2791 <!-- Supply a value for 2792 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 2793 used when an input method is connected to the text view. --> 2794 <attr name="imeActionId" format="integer" /> 2795 <!-- Reference to an 2796 {@link android.R.styleable#InputExtras <input-extras>} 2797 XML resource containing additional data to 2798 supply to an input method, which is private to the implementation 2799 of the input method. This simply fills in 2800 the {@link android.view.inputmethod.EditorInfo#extras 2801 EditorInfo.extras} field when the input 2802 method is connected. --> 2803 <attr name="editorExtras" format="reference" /> 2804 2805 <!-- Reference to a drawable that will be used to display a text selection 2806 anchor on the left side of a selection region. --> 2807 <attr name="textSelectHandleLeft" /> 2808 <!-- Reference to a drawable that will be used to display a text selection 2809 anchor on the right side of a selection region. --> 2810 <attr name="textSelectHandleRight" /> 2811 <!-- Reference to a drawable that will be used to display a text selection 2812 anchor for positioning the cursor within text. --> 2813 <attr name="textSelectHandle" /> 2814 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 2815 TextEdit field. --> 2816 <attr name="textEditPasteWindowLayout" /> 2817 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 2818 <attr name="textEditNoPasteWindowLayout" /> 2819 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 2820 insertion cursor because it would be clipped if it were positioned on top. --> 2821 <attr name="textEditSidePasteWindowLayout" /> 2822 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 2823 <attr name="textEditSideNoPasteWindowLayout" /> 2824 2825 <!-- Layout of a the view that is used to create the text suggestions popup window in an 2826 EditText. This window will be displayed below the text line. --> 2827 <attr name="textEditSuggestionsBottomWindowLayout" /> 2828 <!-- Same as textEditSuggestionsBottomWindowLayout, but used when the popup is displayed 2829 above the current line of text instead of below. --> 2830 <attr name="textEditSuggestionsTopWindowLayout" /> 2831 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 2832 <attr name="textEditSuggestionItemLayout" /> 2833 2834 2835 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 2836 <attr name="textCursorDrawable" /> 2837 2838 <!-- Indicates that the content of a non-editable text can be selected. --> 2839 <attr name="textIsSelectable" /> 2840 </declare-styleable> 2841 <!-- An <code>input-extras</code> is a container for extra data to supply to 2842 an input method. Contains 2843 one more more {@link #Extra <extra>} tags. --> 2844 <declare-styleable name="InputExtras"> 2845 </declare-styleable> 2846 <declare-styleable name="AutoCompleteTextView"> 2847 <!-- Defines the hint displayed in the drop down menu. --> 2848 <attr name="completionHint" format="string" /> 2849 <!-- Defines the hint view displayed in the drop down menu. --> 2850 <attr name="completionHintView" format="reference" /> 2851 <!-- Defines the number of characters that the user must type before 2852 completion suggestions are displayed in a drop down menu. --> 2853 <attr name="completionThreshold" format="integer" min="1" /> 2854 <!-- Selector in a drop down list. --> 2855 <attr name="dropDownSelector" format="reference|color" /> 2856 <!-- Amount of pixels by which the drop down should be offset vertically. --> 2857 <attr name="dropDownVerticalOffset" format="dimension" /> 2858 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 2859 <attr name="dropDownHorizontalOffset" format="dimension" /> 2860 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 2861 is used. --> 2862 <attr name="dropDownAnchor" format="reference" /> 2863 <!-- Specifies the basic width of the dropdown. Its value may 2864 be a dimension (such as "12dip") for a constant width, 2865 fill_parent or match_parent to match the width of the 2866 screen, or wrap_content to match the width of 2867 the anchored view. --> 2868 <attr name="dropDownWidth" format="dimension"> 2869 <!-- The dropdown should fill the width of the screen. 2870 This constant is deprecated starting from API Level 8 and 2871 is replaced by {@code match_parent}. --> 2872 <enum name="fill_parent" value="-1" /> 2873 <!-- The dropdown should fit the width of the screen. 2874 Introduced in API Level 8. --> 2875 <enum name="match_parent" value="-1" /> 2876 <!-- The dropdown should fit the width of its anchor. --> 2877 <enum name="wrap_content" value="-2" /> 2878 </attr> 2879 <!-- Specifies the basic height of the dropdown. Its value may 2880 be a dimension (such as "12dip") for a constant height, 2881 fill_parent or match_parent to fill the height of the 2882 screen, or wrap_content to match the height of 2883 the content of the drop down. --> 2884 <attr name="dropDownHeight" format="dimension"> 2885 <!-- The dropdown should fit the height of the screen. 2886 This constant is deprecated starting from API Level 8 and 2887 is replaced by {@code match_parent}. --> 2888 <enum name="fill_parent" value="-1" /> 2889 <!-- The dropdown should fit the height of the screen. 2890 Introduced in API Level 8. --> 2891 <enum name="match_parent" value="-1" /> 2892 <!-- The dropdown should fit the height of the content. --> 2893 <enum name="wrap_content" value="-2" /> 2894 </attr> 2895 <attr name="inputType" /> 2896 </declare-styleable> 2897 <declare-styleable name="PopupWindow"> 2898 <attr name="popupBackground" format="reference|color" /> 2899 <attr name="popupAnimationStyle" format="reference" /> 2900 </declare-styleable> 2901 <declare-styleable name="ViewAnimator"> 2902 <!-- Identifier for the animation to use when a view is shown. --> 2903 <attr name="inAnimation" format="reference" /> 2904 <!-- Identifier for the animation to use when a view is hidden. --> 2905 <attr name="outAnimation" format="reference" /> 2906 <!-- Defines whether to animate the current View when the ViewAnimation 2907 is first displayed. --> 2908 <attr name="animateFirstView" format="boolean" /> 2909 </declare-styleable> 2910 <declare-styleable name="ViewFlipper"> 2911 <attr name="flipInterval" format="integer" min="0" /> 2912 <!-- When true, automatically start animating --> 2913 <attr name="autoStart" format="boolean" /> 2914 </declare-styleable> 2915 <declare-styleable name="AdapterViewAnimator"> 2916 <!-- Identifier for the animation to use when a view is shown. --> 2917 <attr name="inAnimation" /> 2918 <!-- Identifier for the animation to use when a view is hidden. --> 2919 <attr name="outAnimation" /> 2920 <!--Defines whether the animator loops to the first view once it 2921 has reached the end of the list. --> 2922 <attr name="loopViews" format="boolean" /> 2923 <!-- Defines whether to animate the current View when the ViewAnimation 2924 is first displayed. --> 2925 <attr name="animateFirstView" /> 2926 </declare-styleable> 2927 <declare-styleable name="AdapterViewFlipper"> 2928 <attr name="flipInterval" /> 2929 <!-- When true, automatically start animating --> 2930 <attr name="autoStart" /> 2931 </declare-styleable> 2932 <declare-styleable name="ViewSwitcher"> 2933 </declare-styleable> 2934 <declare-styleable name="ScrollView"> 2935 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 2936 <attr name="fillViewport" format="boolean" /> 2937 </declare-styleable> 2938 <declare-styleable name="HorizontalScrollView"> 2939 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 2940 <attr name="fillViewport" /> 2941 </declare-styleable> 2942 <declare-styleable name="Spinner"> 2943 <!-- The prompt to display when the spinner's dialog is shown. --> 2944 <attr name="prompt" format="reference" /> 2945 <!-- Display mode for spinner options. --> 2946 <attr name="spinnerMode" format="enum"> 2947 <!-- Spinner options will be presented to the user as a dialog window. --> 2948 <enum name="dialog" value="0" /> 2949 <!-- Spinner options will be presented to the user as an inline dropdown 2950 anchored to the spinner widget itself. --> 2951 <enum name="dropdown" value="1" /> 2952 </attr> 2953 <!-- List selector to use for spinnerMode="dropdown" display. --> 2954 <attr name="dropDownSelector" /> 2955 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 2956 <attr name="popupBackground" /> 2957 <!-- Vertical offset from the spinner widget for positioning the dropdown in 2958 spinnerMode="dropdown". --> 2959 <attr name="dropDownVerticalOffset" /> 2960 <!-- Horizontal offset from the spinner widget for positioning the dropdown 2961 in spinnerMode="dropdown". --> 2962 <attr name="dropDownHorizontalOffset" /> 2963 <!-- Width of the dropdown in spinnerMode="dropdown". --> 2964 <attr name="dropDownWidth" /> 2965 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 2966 spinnerMode="dropdown". This layout must contain a TextView with the id 2967 @android:id/text1 to be populated with the prompt text. --> 2968 <attr name="popupPromptView" format="reference" /> 2969 <!-- Gravity setting for positioning the currently selected item. --> 2970 <attr name="gravity" /> 2971 </declare-styleable> 2972 2973 <declare-styleable name="DatePicker"> 2974 <!-- The first year (inclusive), for example "1940". --> 2975 <attr name="startYear" format="integer" /> 2976 <!-- The last year (inclusive), for example "2010". --> 2977 <attr name="endYear" format="integer" /> 2978 <!-- Whether the spinners are shown. --> 2979 <attr name="spinnersShown" format="boolean" /> 2980 <!-- Whether the calendar view is shown. --> 2981 <attr name="calendarViewShown" format="boolean" /> 2982 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 2983 <attr name="minDate" format="string" /> 2984 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 2985 <attr name="maxDate" format="string" /> 2986 <!-- @hide The layout of the time picker. --> 2987 <attr name="layout" /> 2988 </declare-styleable> 2989 2990 <declare-styleable name="TwoLineListItem"> 2991 <attr name="mode"> 2992 <!-- Always show only the first line. --> 2993 <enum name="oneLine" value="1" /> 2994 <!-- When selected show both lines, otherwise show only the first line. 2995 This is the default mode. --> 2996 <enum name="collapsing" value="2" /> 2997 <!-- Always show both lines. --> 2998 <enum name="twoLine" value="3" /> 2999 </attr> 3000 </declare-styleable> 3001 3002 <!-- SlidingDrawer specific attributes. These attributes are used to configure 3003 a SlidingDrawer from XML. --> 3004 <declare-styleable name="SlidingDrawer"> 3005 <!-- Identifier for the child that represents the drawer's handle. --> 3006 <attr name="handle" format="reference" /> 3007 <!-- Identifier for the child that represents the drawer's content. --> 3008 <attr name="content" format="reference" /> 3009 <!-- Orientation of the SlidingDrawer. --> 3010 <attr name="orientation" /> 3011 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 3012 <attr name="bottomOffset" format="dimension" /> 3013 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 3014 <attr name="topOffset" format="dimension" /> 3015 <!-- Indicates whether the drawer can be opened/closed by a single tap 3016 on the handle. (If false, the user must drag or fling, or click 3017 using the trackball, to open/close the drawer.) Default is true. --> 3018 <attr name="allowSingleTap" format="boolean" /> 3019 <!-- Indicates whether the drawer should be opened/closed with an animation 3020 when the user clicks the handle. Default is true. --> 3021 <attr name="animateOnClick" format="boolean" /> 3022 </declare-styleable> 3023 3024 <!-- GestureOverlayView specific attributes. These attributes are used to configure 3025 a GestureOverlayView from XML. --> 3026 <declare-styleable name="GestureOverlayView"> 3027 <!-- Width of the stroke used to draw the gesture. --> 3028 <attr name="gestureStrokeWidth" format="float" /> 3029 <!-- Color used to draw a gesture. --> 3030 <attr name="gestureColor" format="color" /> 3031 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 3032 <attr name="uncertainGestureColor" format="color" /> 3033 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 3034 is done drawing it. --> 3035 <attr name="fadeOffset" format="integer" /> 3036 <!-- Duration, in milliseconds, of the fade out effect after the user is done 3037 drawing a gesture. --> 3038 <attr name="fadeDuration" format="integer" /> 3039 <!-- Defines the type of strokes that define a gesture. --> 3040 <attr name="gestureStrokeType"> 3041 <!-- A gesture is made of only one stroke. --> 3042 <enum name="single" value="0" /> 3043 <!-- A gesture is made of multiple strokes. --> 3044 <enum name="multiple" value="1" /> 3045 </attr> 3046 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 3047 <attr name="gestureStrokeLengthThreshold" format="float" /> 3048 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 3049 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 3050 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 3051 <attr name="gestureStrokeAngleThreshold" format="float" /> 3052 <!-- Defines whether the overlay should intercept the motion events when a gesture 3053 is recognized. --> 3054 <attr name="eventsInterceptionEnabled" format="boolean" /> 3055 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 3056 <attr name="fadeEnabled" format="boolean" /> 3057 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 3058 (when orientation is horizontal) strokes automatically define a gesture. --> 3059 <attr name="orientation" /> 3060 </declare-styleable> 3061 3062 <declare-styleable name="QuickContactBadge"> 3063 <attr name="quickContactWindowSize"> 3064 <enum name="modeSmall" value="1" /> 3065 <enum name="modeMedium" value="2" /> 3066 <enum name="modeLarge" value="3" /> 3067 </attr> 3068 </declare-styleable> 3069 3070 <!-- ======================================= --> 3071 <!-- Widget package parent layout attributes --> 3072 <!-- ======================================= --> 3073 <eat-comment /> 3074 3075 <declare-styleable name="AbsoluteLayout_Layout"> 3076 <attr name="layout_x" format="dimension" /> 3077 <attr name="layout_y" format="dimension" /> 3078 </declare-styleable> 3079 <declare-styleable name="LinearLayout_Layout"> 3080 <attr name="layout_width" /> 3081 <attr name="layout_height" /> 3082 <attr name="layout_weight" format="float" /> 3083 <attr name="layout_gravity" /> 3084 </declare-styleable> 3085 <declare-styleable name="FrameLayout_Layout"> 3086 <attr name="layout_gravity" /> 3087 </declare-styleable> 3088 <declare-styleable name="RelativeLayout_Layout"> 3089 <!-- Positions the right edge of this view to the left of the given anchor view ID. 3090 Accommodates right margin of this view and left margin of anchor view. --> 3091 <attr name="layout_toLeftOf" format="reference" /> 3092 <!-- Positions the left edge of this view to the right of the given anchor view ID. 3093 Accommodates left margin of this view and right margin of anchor view. --> 3094 <attr name="layout_toRightOf" format="reference" /> 3095 <!-- Positions the bottom edge of this view above the given anchor view ID. 3096 Accommodates bottom margin of this view and top margin of anchor view. --> 3097 <attr name="layout_above" format="reference" /> 3098 <!-- Positions the top edge of this view below the given anchor view ID. 3099 Accommodates top margin of this view and bottom margin of anchor view. --> 3100 <attr name="layout_below" format="reference" /> 3101 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 3102 <attr name="layout_alignBaseline" format="reference" /> 3103 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 3104 Accommodates left margin. --> 3105 <attr name="layout_alignLeft" format="reference" /> 3106 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 3107 Accommodates top margin. --> 3108 <attr name="layout_alignTop" format="reference" /> 3109 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 3110 Accommodates right margin. --> 3111 <attr name="layout_alignRight" format="reference" /> 3112 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 3113 Accommodates bottom margin. --> 3114 <attr name="layout_alignBottom" format="reference" /> 3115 <!-- If true, makes the left edge of this view match the left edge of the parent. 3116 Accommodates left margin. --> 3117 <attr name="layout_alignParentLeft" format="boolean" /> 3118 <!-- If true, makes the top edge of this view match the top edge of the parent. 3119 Accommodates top margin. --> 3120 <attr name="layout_alignParentTop" format="boolean" /> 3121 <!-- If true, makes the right edge of this view match the right edge of the parent. 3122 Accommodates right margin. --> 3123 <attr name="layout_alignParentRight" format="boolean" /> 3124 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 3125 Accommodates bottom margin. --> 3126 <attr name="layout_alignParentBottom" format="boolean" /> 3127 <!-- If true, centers this child horizontally and vertically within its parent. --> 3128 <attr name="layout_centerInParent" format="boolean" /> 3129 <!-- If true, centers this child horizontally within its parent. --> 3130 <attr name="layout_centerHorizontal" format="boolean" /> 3131 <!-- If true, centers this child vertically within its parent. --> 3132 <attr name="layout_centerVertical" format="boolean" /> 3133 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 3134 be found for layout_toLeftOf, layout_toRightOf, etc. --> 3135 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 3136 </declare-styleable> 3137 <declare-styleable name="VerticalSlider_Layout"> 3138 <attr name="layout_scale" format="float" /> 3139 </declare-styleable> 3140 3141 <!-- attributes for internal rotary widget used in lock screen and phone app 3142 @hide --> 3143 <declare-styleable name="RotarySelector"> 3144 <!-- Use "horizontal" or "vertical". The default is horizontal. --> 3145 <attr name="orientation" /> 3146 </declare-styleable> 3147 3148 <!-- @hide --> 3149 <declare-styleable name="WeightedLinearLayout"> 3150 <attr name="majorWeightMin" format="float" /> 3151 <attr name="minorWeightMin" format="float" /> 3152 <attr name="majorWeightMax" format="float" /> 3153 <attr name="minorWeightMax" format="float" /> 3154 </declare-styleable> 3155 3156 <declare-styleable name="CalendarView"> 3157 <!-- The first day of week according to {@link java.util.Calendar}. --> 3158 <attr name="firstDayOfWeek" format="integer" /> 3159 <!-- Whether do show week numbers. --> 3160 <attr name="showWeekNumber" format="boolean" /> 3161 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 3162 <attr name="minDate" /> 3163 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 3164 <attr name="maxDate" /> 3165 <!-- The number of weeks to be shown. --> 3166 <attr name="shownWeekCount" format="integer"/> 3167 <!-- The background color for the selected week. --> 3168 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 3169 <!-- The color for the dates of the selected month. --> 3170 <attr name="focusedMonthDateColor" format="color|reference" /> 3171 <!-- The color for the dates of an unfocused month. --> 3172 <attr name="unfocusedMonthDateColor" format="color|reference" /> 3173 <!-- The color for the week numbers. --> 3174 <attr name="weekNumberColor" format="color|reference" /> 3175 <!-- The color for the sepatator line between weeks. --> 3176 <attr name="weekSeparatorLineColor" format="color|reference" /> 3177 <!-- Drawable for the vertical bar shown at the beggining and at the end of a selected date. --> 3178 <attr name="selectedDateVerticalBar" format="reference" /> 3179 <!-- The text appearance for the week day abbreviation of the calendar header. --> 3180 <attr name="weekDayTextAppearance" format="reference" /> 3181 <!-- The text appearance for the calendar dates. --> 3182 <attr name="dateTextAppearance" format="reference" /> 3183 </declare-styleable> 3184 3185 <declare-styleable name="NumberPicker"> 3186 <!-- @hide Color for the solid color background if such for optimized rendering. --> 3187 <attr name="solidColor" format="color|reference" /> 3188 <!-- @hide Whether the number picker supports fligning. --> 3189 <attr name="flingable" format="boolean" /> 3190 <!-- @hide The divider for making the selection area. --> 3191 <attr name="selectionDivider" format="reference" /> 3192 <!-- @hide The height of the selection divider. --> 3193 <attr name="selectionDividerHeight" format="dimension" /> 3194 </declare-styleable> 3195 3196 <declare-styleable name="TimePicker"> 3197 <!-- @hide The layout of the time picker. --> 3198 <attr name="layout" /> 3199 </declare-styleable> 3200 3201 <!-- ========================= --> 3202 <!-- Drawable class attributes --> 3203 <!-- ========================= --> 3204 <eat-comment /> 3205 3206 <!-- Base attributes that are available to all Drawable objects. --> 3207 <declare-styleable name="Drawable"> 3208 <!-- Provides initial visibility state of the drawable; the default 3209 value is false. See 3210 {@link android.graphics.drawable.Drawable#setVisible}. --> 3211 <attr name="visible" format="boolean" /> 3212 </declare-styleable> 3213 3214 <!-- Drawable used to render several states. Each state is represented by 3215 a child drawable. --> 3216 <declare-styleable name="StateListDrawable"> 3217 <!-- Indicates whether the drawable should be initially visible. --> 3218 <attr name="visible" /> 3219 <!-- If true, allows the drawable's padding to change based on the 3220 current state that is selected. If false, the padding will 3221 stay the same (based on the maximum padding of all the states). 3222 Enabling this feature requires that the owner of the drawable 3223 deal with performing layout when the state changes, which is 3224 often not supported. --> 3225 <attr name="variablePadding" format="boolean" /> 3226 <!-- If true, the drawable's reported internal size will remain 3227 constant as the state changes; the size is the maximum of all 3228 of the states. If false, the size will vary based on the 3229 current state. --> 3230 <attr name="constantSize" format="boolean" /> 3231 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 3232 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 3233 an RGB 565 screen). --> 3234 <attr name="dither" format="boolean" /> 3235 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 3236 <attr name="enterFadeDuration" format="integer" /> 3237 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 3238 <attr name="exitFadeDuration" format="integer" /> 3239 </declare-styleable> 3240 3241 <!-- Drawable used to render several animated frames. --> 3242 <declare-styleable name="AnimationDrawable"> 3243 <attr name="visible" /> 3244 <attr name="variablePadding" /> 3245 <!-- If true, the animation will only run a single time and then 3246 stop. If false (the default), it will continually run, 3247 restarting at the first frame after the last has finished. --> 3248 <attr name="oneshot" format="boolean" /> 3249 </declare-styleable> 3250 3251 <!-- Represents a single frame inside an AnimationDrawable. --> 3252 <declare-styleable name="AnimationDrawableItem"> 3253 <!-- Amount of time (in milliseconds) to display this frame. --> 3254 <attr name="duration" format="integer" /> 3255 <!-- Reference to a drawable resource to use for the frame. If not 3256 given, the drawable must be defined by the first child tag. --> 3257 <attr name="drawable" format="reference" /> 3258 </declare-styleable> 3259 3260 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 3261 <declare-styleable name="GradientDrawable"> 3262 <!-- Indicates whether the drawable should intially be visible. --> 3263 <attr name="visible" /> 3264 <!-- Enables or disables dithering. --> 3265 <attr name="dither" /> 3266 <!-- Indicates what shape to fill with a gradient. --> 3267 <attr name="shape"> 3268 <!-- Rectangle shape, with optional rounder corners. --> 3269 <enum name="rectangle" value="0" /> 3270 <!-- Oval shape. --> 3271 <enum name="oval" value="1" /> 3272 <!-- Line shape. --> 3273 <enum name="line" value="2" /> 3274 <!-- Ring shape. --> 3275 <enum name="ring" value="3" /> 3276 </attr> 3277 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 3278 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 3279 This value is ignored if innerRadius is defined. Default value is 9. --> 3280 <attr name="innerRadiusRatio" format="float" /> 3281 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 3282 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 3283 This value is ignored if innerRadius is defined. Default value is 3. --> 3284 <attr name="thicknessRatio" format="float" /> 3285 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 3286 <attr name="innerRadius" format="dimension" /> 3287 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 3288 <attr name="thickness" format="dimension" /> 3289 <!-- Indicates whether the drawable's level affects the way the gradient is drawn. --> 3290 <attr name="useLevel" /> 3291 </declare-styleable> 3292 3293 <!-- Used to specify the size of the shape for GradientDrawable. --> 3294 <declare-styleable name="GradientDrawableSize"> 3295 <!-- Width of the gradient shape. --> 3296 <attr name="width" /> 3297 <!-- Height of the gradient shape. --> 3298 <attr name="height" /> 3299 </declare-styleable> 3300 3301 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 3302 <declare-styleable name="GradientDrawableGradient"> 3303 <!-- Start color of the gradient. --> 3304 <attr name="startColor" format="color" /> 3305 <!-- Optional center color. For linear gradients, use centerX or centerY 3306 to place the center color. --> 3307 <attr name="centerColor" format="color" /> 3308 <!-- End color of the gradient. --> 3309 <attr name="endColor" format="color" /> 3310 <attr name="useLevel" format="boolean" /> 3311 <!-- Angle of the gradient. --> 3312 <attr name="angle" format="float" /> 3313 <!-- Type of gradient. The default type is linear. --> 3314 <attr name="type"> 3315 <!-- Linear gradient. --> 3316 <enum name="linear" value="0" /> 3317 <!-- Radial, or circular, gradient. --> 3318 <enum name="radial" value="1" /> 3319 <!-- Sweep, or angled or diamond, gradient. --> 3320 <enum name="sweep" value="2" /> 3321 </attr> 3322 <!-- X coordinate of the origin of the gradient within the shape. --> 3323 <attr name="centerX" format="float|fraction" /> 3324 <!-- Y coordinate of the origin of the gradient within the shape. --> 3325 <attr name="centerY" format="float|fraction" /> 3326 <!-- Radius of the gradient, used only with radial gradient. --> 3327 <attr name="gradientRadius" format="float|fraction" /> 3328 </declare-styleable> 3329 3330 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 3331 <declare-styleable name="GradientDrawableSolid"> 3332 <!-- Solid color for the gradient shape. --> 3333 <attr name="color" format="color" /> 3334 </declare-styleable> 3335 3336 <!-- Used to describe the optional stroke of a GradientDrawable. --> 3337 <declare-styleable name="GradientDrawableStroke"> 3338 <!-- Width of the gradient shape's stroke. --> 3339 <attr name="width" /> 3340 <!-- Color of the gradient shape's stroke. --> 3341 <attr name="color" /> 3342 <!-- Length of a dash in the stroke. --> 3343 <attr name="dashWidth" format="dimension" /> 3344 <!-- Gap between dashes in the stroke. --> 3345 <attr name="dashGap" format="dimension" /> 3346 </declare-styleable> 3347 3348 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 3349 This can be used to render rounded corners. --> 3350 <declare-styleable name="DrawableCorners"> 3351 <!-- Defines the radius of the four corners. --> 3352 <attr name="radius" format="dimension" /> 3353 <!-- Radius of the top left corner. --> 3354 <attr name="topLeftRadius" format="dimension" /> 3355 <!-- Radius of the top right corner. --> 3356 <attr name="topRightRadius" format="dimension" /> 3357 <!-- Radius of the bottom left corner. --> 3358 <attr name="bottomLeftRadius" format="dimension" /> 3359 <!-- Radius of the bottom right corner. --> 3360 <attr name="bottomRightRadius" format="dimension" /> 3361 </declare-styleable> 3362 3363 <!-- Used to specify the optional padding of a GradientDrawable. --> 3364 <declare-styleable name="GradientDrawablePadding"> 3365 <!-- Amount of left padding inside the gradient shape. --> 3366 <attr name="left" format="dimension" /> 3367 <!-- Amount of top padding inside the gradient shape. --> 3368 <attr name="top" format="dimension" /> 3369 <!-- Amount of right padding inside the gradient shape. --> 3370 <attr name="right" format="dimension" /> 3371 <!-- Amount of bottom padding inside the gradient shape. --> 3372 <attr name="bottom" format="dimension" /> 3373 </declare-styleable> 3374 3375 <!-- Drawable used to render several drawables stacked on top of each other. 3376 Each child drawable can be controlled individually. --> 3377 <declare-styleable name="LayerDrawable"> 3378 <!-- Indicates the opacity of the layer. This can be useful to allow the 3379 system to enable drawing optimizations. The default value is 3380 translucent. --> 3381 <attr name="opacity"> 3382 <!-- Indicates that the layer is opaque and contains no transparent 3383 nor translucent pixels. --> 3384 <enum name="opaque" value="-1" /> 3385 <!-- The layer is completely transparent (no pixel will be drawn.) --> 3386 <enum name="transparent" value="-2" /> 3387 <!-- The layer has translucent pixels. --> 3388 <enum name="translucent" value="-3" /> 3389 </attr> 3390 </declare-styleable> 3391 3392 <!-- Describes an item (or child) of a LayerDrawable. --> 3393 <declare-styleable name="LayerDrawableItem"> 3394 <!-- Left coordinate of the layer. --> 3395 <attr name="left" /> 3396 <!-- Top coordinate of the layer. --> 3397 <attr name="top" /> 3398 <!-- Right coordinate of the layer. --> 3399 <attr name="right" /> 3400 <!-- Bottom coordinate of the layer. --> 3401 <attr name="bottom" /> 3402 <!-- Drawable used to render the layer. --> 3403 <attr name="drawable" /> 3404 <!-- Identifier of the layer. This can be used to retrieve the layer 3405 from a drawbable container. --> 3406 <attr name="id" /> 3407 </declare-styleable> 3408 3409 <declare-styleable name="LevelListDrawableItem"> 3410 <!-- The minimum level allowed for this item. --> 3411 <attr name="minLevel" format="integer" /> 3412 <!-- The maximum level allowed for this item. --> 3413 <attr name="maxLevel" format="integer" /> 3414 <attr name="drawable" /> 3415 </declare-styleable> 3416 3417 <declare-styleable name="MipmapDrawableItem"> 3418 <attr name="drawable" /> 3419 </declare-styleable> 3420 3421 <!-- Drawable used to rotate another drawable. --> 3422 <declare-styleable name="RotateDrawable"> 3423 <attr name="visible" /> 3424 <attr name="fromDegrees" format="float" /> 3425 <attr name="toDegrees" format="float" /> 3426 <attr name="pivotX" format="float|fraction" /> 3427 <attr name="pivotY" format="float|fraction" /> 3428 <attr name="drawable" /> 3429 </declare-styleable> 3430 3431 <declare-styleable name="AnimatedRotateDrawable"> 3432 <attr name="visible" /> 3433 <attr name="frameDuration" format="integer" /> 3434 <attr name="framesCount" format="integer" /> 3435 <attr name="pivotX" /> 3436 <attr name="pivotY" /> 3437 <attr name="drawable" /> 3438 </declare-styleable> 3439 3440 <declare-styleable name="InsetDrawable"> 3441 <attr name="visible" /> 3442 <attr name="drawable" /> 3443 <attr name="insetLeft" format="dimension" /> 3444 <attr name="insetRight" format="dimension" /> 3445 <attr name="insetTop" format="dimension" /> 3446 <attr name="insetBottom" format="dimension" /> 3447 </declare-styleable> 3448 3449 <!-- Drawable used to draw bitmaps. --> 3450 <declare-styleable name="BitmapDrawable"> 3451 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 3452 <attr name="src" /> 3453 <!-- Enables or disables antialiasing. --> 3454 <attr name="antialias" format="boolean" /> 3455 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 3456 shrunk or stretched to smooth its apperance. --> 3457 <attr name="filter" format="boolean" /> 3458 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 3459 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 3460 an RGB 565 screen). --> 3461 <attr name="dither" /> 3462 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 3463 the drawable in its container if the bitmap is smaller than the container. --> 3464 <attr name="gravity" /> 3465 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 3466 Gravity is ignored when the tile mode is enabled. --> 3467 <attr name="tileMode"> 3468 <!-- Do not tile the bitmap. This is the default value. --> 3469 <enum name="disabled" value="-1" /> 3470 <!-- Replicates the edge color. --> 3471 <enum name="clamp" value="0" /> 3472 <!-- Repeats the bitmap in both direction. --> 3473 <enum name="repeat" value="1" /> 3474 <!-- Repeats the shader's image horizontally and vertically, alternating 3475 mirror images so that adjacent images always seam. --> 3476 <enum name="mirror" value="2" /> 3477 </attr> 3478 </declare-styleable> 3479 3480 <!-- Drawable used to draw 9-patches. --> 3481 <declare-styleable name="NinePatchDrawable"> 3482 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 3483 <attr name="src" /> 3484 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 3485 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 3486 an RGB 565 screen). --> 3487 <attr name="dither" /> 3488 </declare-styleable> 3489 3490 <!-- Drawable used to draw a single color. --> 3491 <declare-styleable name="ColorDrawable"> 3492 <!-- The color to use. --> 3493 <attr name="color" /> 3494 </declare-styleable> 3495 3496 <declare-styleable name="ScaleDrawable"> 3497 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 3498 format is XX%. For instance: 100%, 12.5%, etc.--> 3499 <attr name="scaleWidth" format="string" /> 3500 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 3501 format is XX%. For instance: 100%, 12.5%, etc.--> 3502 <attr name="scaleHeight" format="string" /> 3503 <!-- Specifies where the drawable is positioned after scaling. The default value is 3504 left. --> 3505 <attr name="scaleGravity"> 3506 <!-- Push object to the top of its container, not changing its size. --> 3507 <flag name="top" value="0x30" /> 3508 <!-- Push object to the bottom of its container, not changing its size. --> 3509 <flag name="bottom" value="0x50" /> 3510 <!-- Push object to the left of its container, not changing its size. --> 3511 <flag name="left" value="0x03" /> 3512 <!-- Push object to the right of its container, not changing its size. --> 3513 <flag name="right" value="0x05" /> 3514 <!-- Place object in the vertical center of its container, not changing its size. --> 3515 <flag name="center_vertical" value="0x10" /> 3516 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 3517 <flag name="fill_vertical" value="0x70" /> 3518 <!-- Place object in the horizontal center of its container, not changing its size. --> 3519 <flag name="center_horizontal" value="0x01" /> 3520 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 3521 <flag name="fill_horizontal" value="0x07" /> 3522 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 3523 <flag name="center" value="0x11" /> 3524 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 3525 <flag name="fill" value="0x77" /> 3526 <!-- Additional option that can be set to have the top and/or bottom edges of 3527 the child clipped to its container's bounds. 3528 The clip will be based on the vertical gravity: a top gravity will clip the bottom 3529 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 3530 <flag name="clip_vertical" value="0x80" /> 3531 <!-- Additional option that can be set to have the left and/or right edges of 3532 the child clipped to its container's bounds. 3533 The clip will be based on the horizontal gravity: a left gravity will clip the right 3534 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 3535 <flag name="clip_horizontal" value="0x08" /> 3536 </attr> 3537 <!-- Reference to a drawable resource to draw with the specified scale. --> 3538 <attr name="drawable" /> 3539 <!-- Use the drawable's intrinsic width and height as minimum size values. 3540 Useful if the target drawable is a 9-patch or otherwise should not be scaled 3541 down beyond a minimum size. --> 3542 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 3543 </declare-styleable> 3544 3545 <declare-styleable name="ClipDrawable"> 3546 <!-- The orientation for the clip. --> 3547 <attr name="clipOrientation"> 3548 <!-- Clip the drawable horizontally. --> 3549 <flag name="horizontal" value="1" /> 3550 <!-- Clip the drawable vertically. --> 3551 <flag name="vertical" value="2" /> 3552 </attr> 3553 <!-- Specifies where to clip within the drawable. The default value is 3554 left. --> 3555 <attr name="gravity" /> 3556 <!-- Reference to a drawable resource to draw with the specified scale. --> 3557 <attr name="drawable" /> 3558 </declare-styleable> 3559 3560 <!-- Defines the padding of a ShapeDrawable. --> 3561 <declare-styleable name="ShapeDrawablePadding"> 3562 <!-- Left padding. --> 3563 <attr name="left" /> 3564 <!-- Top padding. --> 3565 <attr name="top" /> 3566 <!-- Right padding. --> 3567 <attr name="right" /> 3568 <!-- Bottom padding. --> 3569 <attr name="bottom" /> 3570 </declare-styleable> 3571 3572 <!-- Drawable used to draw shapes. --> 3573 <declare-styleable name="ShapeDrawable"> 3574 <!-- Defines the color of the shape. --> 3575 <attr name="color" /> 3576 <!-- Defines the width of the shape. --> 3577 <attr name="width" /> 3578 <!-- Defines the height of the shape. --> 3579 <attr name="height" /> 3580 <!-- Enables or disables dithering. --> 3581 <attr name="dither" /> 3582 </declare-styleable> 3583 3584 <!-- ========================== --> 3585 <!-- Animation class attributes --> 3586 <!-- ========================== --> 3587 <eat-comment /> 3588 3589 <declare-styleable name="AnimationSet"> 3590 <attr name="shareInterpolator" format="boolean" /> 3591 </declare-styleable> 3592 3593 <declare-styleable name="Animation"> 3594 <!-- Defines the interpolator used to smooth the animation movement in time. --> 3595 <attr name="interpolator" /> 3596 <!-- When set to true, fillAfter is taken into account. --> 3597 <attr name="fillEnabled" format="boolean" /> 3598 <!-- When set to true, the animation transformation is applied before the animation has 3599 started. The default value is true. If fillEnabled is not set to true, fillBefore 3600 is assumed to be true. --> 3601 <attr name="fillBefore" format="boolean" /> 3602 <!-- When set to true, the animation transformation is applied after the animation is 3603 over. The default value is false. If fillEnabled is not set to true and the animation 3604 is not set on a View, fillAfter is assumed to be true. --> 3605 <attr name="fillAfter" format="boolean" /> 3606 <!-- Amount of time (in milliseconds) for the animation to run. --> 3607 <attr name="duration" /> 3608 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 3609 <attr name="startOffset" format="integer" /> 3610 <!-- Defines how many times the animation should repeat. The default value is 0. --> 3611 <attr name="repeatCount" format="integer"> 3612 <enum name="infinite" value="-1" /> 3613 </attr> 3614 <!-- Defines the animation behavior when it reaches the end and the repeat count is 3615 greater than 0 or infinite. The default value is restart. --> 3616 <attr name="repeatMode"> 3617 <!-- The animation starts again from the beginning. --> 3618 <enum name="restart" value="1" /> 3619 <!-- The animation plays backward. --> 3620 <enum name="reverse" value="2" /> 3621 </attr> 3622 <!-- Allows for an adjustment of the Z ordering of the content being 3623 animated for the duration of the animation. The default value is normal. --> 3624 <attr name="zAdjustment"> 3625 <!-- The content being animated be kept in its current Z order. --> 3626 <enum name="normal" value="0" /> 3627 <!-- The content being animated is forced on top of all other 3628 content for the duration of the animation. --> 3629 <enum name="top" value="1" /> 3630 <!-- The content being animated is forced under all other 3631 content for the duration of the animation. --> 3632 <enum name="bottom" value="-1" /> 3633 </attr> 3634 <!-- Special background behind animation. Only for use with window 3635 animations. Can only be a color, and only black. If 0, the 3636 default, there is no background. --> 3637 <attr name="background" /> 3638 <!-- Special option for window animations: if this window is on top 3639 of a wallpaper, don't animate the wallpaper with it. --> 3640 <attr name="detachWallpaper" format="boolean" /> 3641 </declare-styleable> 3642 3643 <declare-styleable name="RotateAnimation"> 3644 <attr name="fromDegrees" /> 3645 <attr name="toDegrees" /> 3646 <attr name="pivotX" /> 3647 <attr name="pivotY" /> 3648 </declare-styleable> 3649 3650 <declare-styleable name="ScaleAnimation"> 3651 <attr name="fromXScale" format="float|fraction|dimension" /> 3652 <attr name="toXScale" format="float|fraction|dimension" /> 3653 <attr name="fromYScale" format="float|fraction|dimension" /> 3654 <attr name="toYScale" format="float|fraction|dimension" /> 3655 <attr name="pivotX" /> 3656 <attr name="pivotY" /> 3657 </declare-styleable> 3658 3659 <declare-styleable name="TranslateAnimation"> 3660 <attr name="fromXDelta" format="float|fraction" /> 3661 <attr name="toXDelta" format="float|fraction" /> 3662 <attr name="fromYDelta" format="float|fraction" /> 3663 <attr name="toYDelta" format="float|fraction" /> 3664 </declare-styleable> 3665 3666 <declare-styleable name="AlphaAnimation"> 3667 <attr name="fromAlpha" format="float" /> 3668 <attr name="toAlpha" format="float" /> 3669 </declare-styleable> 3670 3671 <declare-styleable name="LayoutAnimation"> 3672 <!-- Fraction of the animation duration used to delay the beginning of 3673 the animation of each child. --> 3674 <attr name="delay" format="float|fraction" /> 3675 <!-- Animation to use on each child. --> 3676 <attr name="animation" format="reference" /> 3677 <!-- The order in which the animations will be started. --> 3678 <attr name="animationOrder"> 3679 <!-- Animations are started in the natural order. --> 3680 <enum name="normal" value="0" /> 3681 <!-- Animations are started in the reverse order. --> 3682 <enum name="reverse" value="1" /> 3683 <!-- Animations are started randomly. --> 3684 <enum name="random" value="2" /> 3685 </attr> 3686 <!-- Interpolator used to interpolate the delay between the start of 3687 each animation. --> 3688 <attr name="interpolator" /> 3689 </declare-styleable> 3690 3691 <declare-styleable name="GridLayoutAnimation"> 3692 <!-- Fraction of the animation duration used to delay the beginning of 3693 the animation of each column. --> 3694 <attr name="columnDelay" format="float|fraction" /> 3695 <!-- Fraction of the animation duration used to delay the beginning of 3696 the animation of each row. --> 3697 <attr name="rowDelay" format="float|fraction" /> 3698 <!-- Direction of the animation in the grid. --> 3699 <attr name="direction"> 3700 <!-- Animates columns from left to right. --> 3701 <flag name="left_to_right" value="0x0" /> 3702 <!-- Animates columns from right to left. --> 3703 <flag name="right_to_left" value="0x1" /> 3704 <!-- Animates rows from top to bottom. --> 3705 <flag name="top_to_bottom" value="0x0" /> 3706 <!-- Animates rows from bottom to top. --> 3707 <flag name="bottom_to_top" value="0x2" /> 3708 </attr> 3709 <!-- Priority of the rows and columns. When the priority is none, 3710 both rows and columns have the same priority. When the priority is 3711 column, the animations will be applied on the columns first. The same 3712 goes for rows. --> 3713 <attr name="directionPriority"> 3714 <!-- Rows and columns are animated at the same time. --> 3715 <enum name="none" value="0" /> 3716 <!-- Columns are animated first. --> 3717 <enum name="column" value="1" /> 3718 <!-- Rows are animated first. --> 3719 <enum name="row" value="2" /> 3720 </attr> 3721 </declare-styleable> 3722 3723 <declare-styleable name="AccelerateInterpolator"> 3724 <!-- This is the amount of deceleration to add when easing in. --> 3725 <attr name="factor" format="float" /> 3726 </declare-styleable> 3727 3728 <declare-styleable name="DecelerateInterpolator"> 3729 <!-- This is the amount of acceleration to add when easing out. --> 3730 <attr name="factor" /> 3731 </declare-styleable> 3732 3733 <declare-styleable name="CycleInterpolator"> 3734 <attr name="cycles" format="float" /> 3735 </declare-styleable> 3736 3737 <declare-styleable name="AnticipateInterpolator"> 3738 <!-- This is the amount of tension. --> 3739 <attr name="tension" format="float" /> 3740 </declare-styleable> 3741 3742 <declare-styleable name="OvershootInterpolator"> 3743 <!-- This is the amount of tension. --> 3744 <attr name="tension" /> 3745 </declare-styleable> 3746 3747 <declare-styleable name="AnticipateOvershootInterpolator"> 3748 <!-- This is the amount of tension. --> 3749 <attr name="tension" /> 3750 <!-- This is the amount by which to multiply the tension. --> 3751 <attr name="extraTension" format="float" /> 3752 </declare-styleable> 3753 3754 <!-- ========================== --> 3755 <!-- ValueAnimator class attributes --> 3756 <!-- ========================== --> 3757 <eat-comment /> 3758 3759 <declare-styleable name="Animator"> 3760 <!-- Defines the interpolator used to smooth the animation movement in time. --> 3761 <attr name="interpolator" /> 3762 <!-- When set to true, fillAfter is taken into account. --> 3763 <!-- Amount of time (in milliseconds) for the animation to run. --> 3764 <attr name="duration" /> 3765 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 3766 <attr name="startOffset"/> 3767 <!-- Defines how many times the animation should repeat. The default value is 0. --> 3768 <attr name="repeatCount"/> 3769 <!-- Defines the animation behavior when it reaches the end and the repeat count is 3770 greater than 0 or infinite. The default value is restart. --> 3771 <attr name="repeatMode"/> 3772 <!-- Value the animation starts from. --> 3773 <attr name="valueFrom" format="float|integer|color|dimension"/> 3774 <!-- Value the animation animates to. --> 3775 <attr name="valueTo" format="float|integer|color|dimension"/> 3776 <!-- The type of valueFrom and valueTo. --> 3777 <attr name="valueType"> 3778 <!-- valueFrom and valueTo are floats. This is the default value is valueType is 3779 unspecified. Note that if either valueFrom or valueTo represent colors 3780 (beginning with "#"), then this attribute is ignored and the color values are 3781 interpreted as integers. --> 3782 <enum name="floatType" value="0" /> 3783 <!-- valueFrom and valueTo are integers. --> 3784 <enum name="intType" value="1" /> 3785 </attr> 3786 </declare-styleable> 3787 3788 <!-- ========================== --> 3789 <!-- ObjectAnimator class attributes --> 3790 <!-- ========================== --> 3791 <eat-comment /> 3792 3793 <declare-styleable name="PropertyAnimator"> 3794 <!-- Name of the property being animated. --> 3795 <attr name="propertyName" format="string"/> 3796 </declare-styleable> 3797 3798 3799 <!-- ========================== --> 3800 <!-- AnimatorSet class attributes --> 3801 <!-- ========================== --> 3802 <eat-comment /> 3803 3804 <declare-styleable name="AnimatorSet"> 3805 <!-- Name of the property being animated. --> 3806 <attr name="ordering"> 3807 <!-- child animations should be played together. --> 3808 <enum name="together" value="0" /> 3809 <!-- child animations should be played sequentially, in the same order as the xml. --> 3810 <enum name="sequentially" value="1" /> 3811 </attr> 3812 </declare-styleable> 3813 3814 <!-- ========================== --> 3815 <!-- State attributes --> 3816 <!-- ========================== --> 3817 <eat-comment /> 3818 3819 <!-- Drawable states. 3820 The mapping of Drawable states to a particular drawables is specified 3821 in the "state" elements of a Widget's "selector" element. 3822 Possible values: 3823 <ul> 3824 <li>"state_focused" 3825 <li>"state_window_focused" 3826 <li>"state_enabled" 3827 <li>"state_checked" 3828 <li>"state_selected" 3829 <li>"state_active" 3830 <li>"state_single" 3831 <li>"state_first" 3832 <li>"state_mid" 3833 <li>"state_last" 3834 <li>"state_only" 3835 <li>"state_pressed" 3836 <li>"state_activated" 3837 <li>"state_error" 3838 <li>"state_circle" 3839 <li>"state_rect" 3840 <li>"state_grow" 3841 <li>"state_move" 3842 <li>"state_hovered" 3843 <li>"state_drag_can_accept" 3844 <li>"state_drag_hovered" 3845 </ul> --> 3846 <declare-styleable name="DrawableStates"> 3847 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 3848 set when a view has input focus. --> 3849 <attr name="state_focused" format="boolean" /> 3850 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 3851 set when a view's window has input focus. --> 3852 <attr name="state_window_focused" format="boolean" /> 3853 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 3854 set when a view is enabled. --> 3855 <attr name="state_enabled" format="boolean" /> 3856 <!-- State identifier indicating that the object <var>may</var> display a check mark. 3857 See {@link R.attr#state_checked} for the identifier that indicates whether it is 3858 actually checked. --> 3859 <attr name="state_checkable" format="boolean"/> 3860 <!-- State identifier indicating that the object is currently checked. See 3861 {@link R.attr#state_checkable} for an additional identifier that can indicate if 3862 any object may ever display a check, regardless of whether state_checked is 3863 currently set. --> 3864 <attr name="state_checked" format="boolean"/> 3865 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 3866 set when a view (or one of its parents) is currently selected. --> 3867 <attr name="state_selected" format="boolean" /> 3868 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 3869 set when the user is pressing down in a view. --> 3870 <attr name="state_pressed" format="boolean" /> 3871 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 3872 set when a view or its parent has been "activated" meaning the user has currently 3873 marked it as being of interest. This is an alternative representation of 3874 state_checked for when the state should be propagated down the view hierarchy. --> 3875 <attr name="state_activated" format="boolean" /> 3876 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 3877 <attr name="state_active" format="boolean" /> 3878 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 3879 <attr name="state_single" format="boolean" /> 3880 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 3881 <attr name="state_first" format="boolean" /> 3882 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 3883 <attr name="state_middle" format="boolean" /> 3884 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 3885 <attr name="state_last" format="boolean" /> 3886 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 3887 indicating that the Drawable is in a view that is hardware accelerated. 3888 This means that the device can at least render a full-screen scaled 3889 bitmap with one layer of text and bitmaps composited on top of it 3890 at 60fps. When this is set, the colorBackgroundCacheHint will be 3891 ignored even if it specifies a solid color, since that optimization 3892 is not needed. --> 3893 <attr name="state_accelerated" format="boolean" /> 3894 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 3895 set when a pointer is hovering over the view. --> 3896 <attr name="state_hovered" format="boolean" /> 3897 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 3898 indicating that the Drawable is in a view that is capable of accepting a drop of 3899 the content currently being manipulated in a drag-and-drop operation. --> 3900 <attr name="state_drag_can_accept" format="boolean" /> 3901 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 3902 indicating that a drag operation (for which the Drawable's view is a valid recipient) 3903 is currently positioned over the Drawable. --> 3904 <attr name="state_drag_hovered" format="boolean" /> 3905 </declare-styleable> 3906 <declare-styleable name="ViewDrawableStates"> 3907 <attr name="state_pressed" /> 3908 <attr name="state_focused" /> 3909 <attr name="state_selected" /> 3910 <attr name="state_window_focused" /> 3911 <attr name="state_enabled" /> 3912 <attr name="state_activated" /> 3913 <attr name="state_accelerated" /> 3914 <attr name="state_hovered" /> 3915 <attr name="state_drag_can_accept" /> 3916 <attr name="state_drag_hovered" /> 3917 </declare-styleable> 3918 <!-- State array representing a menu item that is currently checked. --> 3919 <declare-styleable name="MenuItemCheckedState"> 3920 <attr name="state_checkable" /> 3921 <attr name="state_checked" /> 3922 </declare-styleable> 3923 <!-- State array representing a menu item that is checkable but is not currently checked. --> 3924 <declare-styleable name="MenuItemUncheckedState"> 3925 <attr name="state_checkable" /> 3926 </declare-styleable> 3927 <!-- State array representing a menu item that is currently focused and checked. --> 3928 <declare-styleable name="MenuItemCheckedFocusedState"> 3929 <attr name="state_checkable" /> 3930 <attr name="state_checked" /> 3931 <attr name="state_focused" /> 3932 </declare-styleable> 3933 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 3934 <declare-styleable name="MenuItemUncheckedFocusedState"> 3935 <attr name="state_checkable" /> 3936 <attr name="state_focused" /> 3937 </declare-styleable> 3938 <!-- State array representing an expandable list child's indicator. --> 3939 <declare-styleable name="ExpandableListChildIndicatorState"> 3940 <!-- State identifier indicating the child is the last child within its group. --> 3941 <attr name="state_last" /> 3942 </declare-styleable> 3943 <!-- State array representing an expandable list group's indicator. --> 3944 <declare-styleable name="ExpandableListGroupIndicatorState"> 3945 <!-- State identifier indicating the group is expanded. --> 3946 <attr name="state_expanded" format="boolean" /> 3947 <!-- State identifier indicating the group is empty (has no children). --> 3948 <attr name="state_empty" format="boolean" /> 3949 </declare-styleable> 3950 <declare-styleable name="PopupWindowBackgroundState"> 3951 <!-- State identifier indicating the popup will be above the anchor. --> 3952 <attr name="state_above_anchor" format="boolean" /> 3953 </declare-styleable> 3954 <declare-styleable name="TextViewMultiLineBackgroundState"> 3955 <!-- State identifier indicating a TextView has a multi-line layout. --> 3956 <attr name="state_multiline" format="boolean" /> 3957 </declare-styleable> 3958 3959 <!-- ***************************************************************** --> 3960 <!-- Support for Searchable activities. --> 3961 <!-- ***************************************************************** --> 3962 <eat-comment /> 3963 3964 <!-- Searchable activities and applications must provide search configuration information 3965 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 3966 For a more in-depth discussion of search configuration, please refer to 3967 {@link android.app.SearchManager}. --> 3968 <declare-styleable name="Searchable"> 3969 <!--<strong>This is deprecated.</strong><br/>The default 3970 application icon is now always used, so this attribute is 3971 obsolete.--> 3972 <attr name="icon" /> 3973 <!-- This is the user-displayed name of the searchable activity. <i>Required 3974 attribute.</i> --> 3975 <attr name="label" /> 3976 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 3977 attribute.</i> --> 3978 <attr name="hint" /> 3979 <!-- If supplied, this string will be displayed as the text of the "Search" button. 3980 <i>Optional attribute.</i> 3981 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 3982 changing to use only icons for its buttons.}--> 3983 <attr name="searchButtonText" format="string" /> 3984 <attr name="inputType" /> 3985 <attr name="imeOptions" /> 3986 3987 <!-- Additional features are controlled by mode bits in this field. Omitting 3988 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 3989 --> 3990 <attr name="searchMode"> 3991 <!-- If set, this flag enables the display of the search target (label) within the 3992 search bar. If neither bad mode is selected, no badge will be shown. --> 3993 <flag name="showSearchLabelAsBadge" value="0x04" /> 3994 <!--<strong>This is deprecated.</strong><br/>The default 3995 application icon is now always used, so this option is 3996 obsolete.--> 3997 <flag name="showSearchIconAsBadge" value="0x08" /> 3998 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 3999 be considered as the text for suggestion query rewriting. This should only 4000 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 4001 inspection and editing - typically, HTTP/HTTPS Uri's. --> 4002 <flag name="queryRewriteFromData" value="0x10" /> 4003 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 4004 be considered as the text for suggestion query rewriting. This should be used 4005 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 4006 values are not suitable for user inspection and editing. --> 4007 <flag name="queryRewriteFromText" value="0x20" /> 4008 </attr> 4009 4010 <!-- Voice search features are controlled by mode bits in this field. Omitting 4011 this field, or setting to zero, provides default behavior. 4012 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 4013 also be set. <i>Optional attribute.</i> 4014 --> 4015 <attr name="voiceSearchMode"> 4016 <!-- If set, display a voice search button. This only takes effect if voice search is 4017 available on the device. --> 4018 <flag name="showVoiceSearchButton" value="0x01" /> 4019 <!-- If set, the voice search button will take the user directly to a built-in 4020 voice web search activity. Most applications will not use this flag, as it 4021 will take the user away from the activity in which search was invoked. --> 4022 <flag name="launchWebSearch" value="0x02" /> 4023 <!-- If set, the voice search button will take the user directly to a built-in 4024 voice recording activity. This activity will prompt the user to speak, 4025 transcribe the spoken text, and forward the resulting query 4026 text to the searchable activity, just as if the user had typed it into 4027 the search UI and clicked the search button. --> 4028 <flag name="launchRecognizer" value="0x04" /> 4029 </attr> 4030 4031 <!-- If provided, this specifies the language model that should be used by the 4032 voice recognition system. See 4033 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 4034 If not provided, the default value 4035 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 4036 <attr name="voiceLanguageModel" format="string" /> 4037 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 4038 <attr name="voicePromptText" format="string" /> 4039 <!-- If provided, this specifies the spoken language to be expected, and that it will be 4040 different than the one set in the {@link java.util.Locale#getDefault()}. --> 4041 <attr name="voiceLanguage" format="string" /> 4042 <!-- If provided, enforces the maximum number of results to return, including the "best" 4043 result which will always be provided as the SEARCH intent's primary query. Must be one 4044 or greater. If not provided, the recognizer will choose how many results to return. 4045 --> 4046 <attr name="voiceMaxResults" format="integer" /> 4047 4048 <!-- If provided, this is the trigger indicating that the searchable activity 4049 provides suggestions as well. The value must be a fully-qualified content provider 4050 authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the 4051 "android:authorities" tag in your content provider's manifest entry. <i>Optional 4052 attribute.</i> --> 4053 <attr name="searchSuggestAuthority" format="string" /> 4054 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 4055 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 4056 --> 4057 <attr name="searchSuggestPath" format="string" /> 4058 <!-- If provided, suggestion queries will be passed into your query function 4059 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 4060 database, and will contain a single question mark, which represents the actual query 4061 string that has been typed by the user. If not provided, then the user query text 4062 will be appended to the query Uri (after an additional "/".) <i>Optional 4063 attribute.</i> --> 4064 <attr name="searchSuggestSelection" format="string" /> 4065 4066 <!-- If provided, and not overridden by an action in the selected suggestion, this 4067 string will be placed in the action field of the {@link android.content.Intent Intent} 4068 when the user clicks a suggestion. <i>Optional attribute.</i> --> 4069 <attr name="searchSuggestIntentAction" format="string" /> 4070 <!-- If provided, and not overridden by an action in the selected suggestion, this 4071 string will be placed in the data field of the {@link android.content.Intent Intent} 4072 when the user clicks a suggestion. <i>Optional attribute.</i> --> 4073 <attr name="searchSuggestIntentData" format="string" /> 4074 4075 <!-- If provided, this is the minimum number of characters needed to trigger 4076 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 4077 <attr name="searchSuggestThreshold" format="integer" /> 4078 4079 <!-- If provided and <code>true</code>, this searchable activity will be 4080 included in any global lists of search targets. 4081 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 4082 <attr name="includeInGlobalSearch" format="boolean" /> 4083 4084 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 4085 queries in a particular session. If set to <code>false</code> and the activity 4086 returned zero results for a query, it will not be invoked again in that session for 4087 supersets of that zero-results query. For example, if the activity returned zero 4088 results for "bo", it would not be queried again for "bob". 4089 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 4090 <attr name="queryAfterZeroResults" format="boolean" /> 4091 <!-- If provided, this string will be used to describe the searchable item in the 4092 searchable items settings within system search settings. <i>Optional 4093 attribute.</i> --> 4094 <attr name="searchSettingsDescription" format="string" /> 4095 4096 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 4097 within this activity would be detected and treated as URLs (show a 'go' button in the 4098 keyboard and invoke the browser directly when user launches the URL instead of passing 4099 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 4100 normal query text. 4101 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 4102 <attr name="autoUrlDetect" format="boolean" /> 4103 4104 </declare-styleable> 4105 4106 <!-- In order to process special action keys during search, you must define them using 4107 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 4108 discussion of action code handling, please refer to {@link android.app.SearchManager}. 4109 --> 4110 <declare-styleable name="SearchableActionKey"> 4111 <!-- This attribute denotes the action key you wish to respond to. Note that not 4112 all action keys are actually supported using this mechanism, as many of them are 4113 used for typing, navigation, or system functions. This will be added to the 4114 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 4115 searchable activity. To examine the key code, use 4116 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 4117 <p>Note, in addition to the keycode, you must also provide one or more of the action 4118 specifier attributes. <i>Required attribute.</i> --> 4119 <attr name="keycode" /> 4120 4121 <!-- If you wish to handle an action key during normal search query entry, you 4122 must define an action string here. This will be added to the 4123 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 4124 searchable activity. To examine the string, use 4125 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 4126 <i>Optional attribute.</i> --> 4127 <attr name="queryActionMsg" format="string" /> 4128 4129 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 4130 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 4131 can handle the action key, you can simply define the action message using this 4132 attribute. This will be added to the 4133 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 4134 searchable activity. To examine the string, use 4135 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 4136 <i>Optional attribute.</i> --> 4137 <attr name="suggestActionMsg" format="string" /> 4138 4139 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 4140 selected</i>, but you do not wish to enable this action key for every suggestion, 4141 then you can use this attribute to control it on a suggestion-by-suggestion basis. 4142 First, you must define a column (and name it here) where your suggestions will include 4143 the action string. Then, in your content provider, you must provide this column, and 4144 when desired, provide data in this column. 4145 The search manager will look at your suggestion cursor, using the string 4146 provided here in order to select a column, and will use that to select a string from 4147 the cursor. That string will be added to the 4148 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 4149 your searchable activity. To examine the string, use 4150 {@link android.content.Intent#getStringExtra 4151 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 4152 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 4153 <attr name="suggestActionMsgColumn" format="string" /> 4154 4155 </declare-styleable> 4156 4157 <!-- ***************************************************************** --> 4158 <!-- Support for MapView. --> 4159 <!-- ***************************************************************** --> 4160 <eat-comment /> 4161 4162 <!-- The set of attributes for a MapView. --> 4163 <declare-styleable name="MapView"> 4164 <!-- Value is a string that specifies the Maps API Key to use. --> 4165 <attr name="apiKey" format="string" /> 4166 </declare-styleable> 4167 4168 <!-- **************************************************************** --> 4169 <!-- Menu XML inflation. --> 4170 <!-- **************************************************************** --> 4171 <eat-comment /> 4172 4173 <!-- Base attributes that are available to all Menu objects. --> 4174 <declare-styleable name="Menu"> 4175 </declare-styleable> 4176 4177 <!-- Base attributes that are available to all groups. --> 4178 <declare-styleable name="MenuGroup"> 4179 4180 <!-- The ID of the group. --> 4181 <attr name="id" /> 4182 4183 <!-- The category applied to all items within this group. 4184 (This will be or'ed with the orderInCategory attribute.) --> 4185 <attr name="menuCategory"> 4186 <!-- Items are part of a container. --> 4187 <enum name="container" value="0x00010000" /> 4188 <!-- Items are provided by the system. --> 4189 <enum name="system" value="0x00020000" /> 4190 <!-- Items are user-supplied secondary (infrequently used). --> 4191 <enum name="secondary" value="0x00030000" /> 4192 <!-- Items are alternative actions. --> 4193 <enum name="alternative" value="0x00040000" /> 4194 </attr> 4195 4196 <!-- The order within the category applied to all items within this group. 4197 (This will be or'ed with the category attribute.) --> 4198 <attr name="orderInCategory" format="integer" /> 4199 4200 <!-- Whether the items are capable of displaying a check mark. --> 4201 <attr name="checkableBehavior"> 4202 <!-- The items are not checkable. --> 4203 <enum name="none" value="0" /> 4204 <!-- The items are all checkable. --> 4205 <enum name="all" value="1" /> 4206 <!-- The items are checkable and there will only be a single checked item in 4207 this group. --> 4208 <enum name="single" value="2" /> 4209 </attr> 4210 4211 <!-- Whether the items are shown/visible. --> 4212 <attr name="visible" /> 4213 4214 <!-- Whether the items are enabled. --> 4215 <attr name="enabled" /> 4216 4217 </declare-styleable> 4218 4219 <!-- Base attributes that are available to all Item objects. --> 4220 <declare-styleable name="MenuItem"> 4221 4222 <!-- The ID of the item. --> 4223 <attr name="id" /> 4224 4225 <!-- The category applied to the item. 4226 (This will be or'ed with the orderInCategory attribute.) --> 4227 <attr name="menuCategory" /> 4228 4229 <!-- The order within the category applied to the item. 4230 (This will be or'ed with the category attribute.) --> 4231 <attr name="orderInCategory" /> 4232 4233 <!-- The title associated with the item. --> 4234 <attr name="title" format="string" /> 4235 4236 <!-- The condensed title associated with the item. This is used in situations where the 4237 normal title may be too long to be displayed. --> 4238 <attr name="titleCondensed" format="string" /> 4239 4240 <!-- The icon associated with this item. This icon will not always be shown, so 4241 the title should be sufficient in describing this item. --> 4242 <attr name="icon" /> 4243 4244 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 4245 with alphabetic keys. --> 4246 <attr name="alphabeticShortcut" format="string" /> 4247 4248 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) 4249 keyboard. --> 4250 <attr name="numericShortcut" format="string" /> 4251 4252 <!-- Whether the item is capable of displaying a check mark. --> 4253 <attr name="checkable" format="boolean" /> 4254 4255 <!-- Whether the item is checked. Note that you must first have enabled checking with 4256 the checkable attribute or else the check mark will not appear. --> 4257 <attr name="checked" /> 4258 4259 <!-- Whether the item is shown/visible. --> 4260 <attr name="visible" /> 4261 4262 <!-- Whether the item is enabled. --> 4263 <attr name="enabled" /> 4264 4265 <!-- Name of a method on the Context used to inflate the menu that will be 4266 called when the item is clicked. --> 4267 <attr name="onClick" /> 4268 4269 <!-- How this item should display in the Action Bar, if present. --> 4270 <attr name="showAsAction"> 4271 <!-- Never show this item in an action bar, show it in the overflow menu instead. 4272 Mutually exclusive with "ifRoom" and "always". --> 4273 <flag name="never" value="0" /> 4274 <!-- Show this item in an action bar if there is room for it as determined 4275 by the system. Favor this option over "always" where possible. 4276 Mutually exclusive with "never" and "always". --> 4277 <flag name="ifRoom" value="1" /> 4278 <!-- Always show this item in an actionbar, even if it would override 4279 the system's limits of how much stuff to put there. This may make 4280 your action bar look bad on some screens. In most cases you should 4281 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 4282 <flag name="always" value="2" /> 4283 <!-- When this item is shown as an action in the action bar, show a text 4284 label with it even if it has an icon representation. --> 4285 <flag name="withText" value="4" /> 4286 </attr> 4287 4288 <!-- An optional layout to be used as an action view. 4289 See {@link android.view.MenuItem#setActionView(android.view.View)} 4290 for more info. --> 4291 <attr name="actionLayout" format="reference" /> 4292 4293 <!-- The name of an optional View class to instantiate and use as an 4294 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 4295 for more info. --> 4296 <attr name="actionViewClass" format="string" /> 4297 4298 </declare-styleable> 4299 4300 <!-- **************************************************************** --> 4301 <!-- Preferences framework. --> 4302 <!-- **************************************************************** --> 4303 <eat-comment /> 4304 4305 <!-- Base attributes available to PreferenceGroup. --> 4306 <declare-styleable name="PreferenceGroup"> 4307 <!-- Whether to order the Preference under this group as they appear in the XML file. 4308 If this is false, the ordering will follow the Preference order attribute and 4309 default to alphabetic for those without the order attribute. --> 4310 <attr name="orderingFromXml" format="boolean" /> 4311 </declare-styleable> 4312 4313 <!-- Attribute for a header describing the item shown in the top-level list 4314 from which the selects the set of preference to dig in to. --> 4315 <declare-styleable name="PreferenceHeader"> 4316 <!-- Identifier value for the header. --> 4317 <attr name="id" /> 4318 <!-- The title of the item that is shown to the user. --> 4319 <attr name="title" /> 4320 <!-- The summary for the item. --> 4321 <attr name="summary" format="string" /> 4322 <!-- The title for the bread crumb of this item. --> 4323 <attr name="breadCrumbTitle" format="string" /> 4324 <!-- The short title for the bread crumb of this item. --> 4325 <attr name="breadCrumbShortTitle" format="string" /> 4326 <!-- An icon for the item. --> 4327 <attr name="icon" /> 4328 <!-- The fragment that is displayed when the user selects this item. --> 4329 <attr name="fragment" format="string" /> 4330 </declare-styleable> 4331 4332 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 4333 with a View's attributes. Some subclasses (e.g., EditTextPreference) 4334 proxy all attributes to its EditText widget. --> 4335 <eat-comment /> 4336 4337 <!-- Base attributes available to Preference. --> 4338 <declare-styleable name="Preference"> 4339 <!-- The optional icon for the preference --> 4340 <attr name="icon" /> 4341 <!-- The key to store the Preference value. --> 4342 <attr name="key" format="string" /> 4343 <!-- The title for the Preference in a PreferenceActivity screen. --> 4344 <attr name="title" /> 4345 <!-- The summary for the Preference in a PreferenceActivity screen. --> 4346 <attr name="summary" /> 4347 <!-- The order for the Preference (lower values are to be ordered first). If this is not 4348 specified, the default orderin will be alphabetic. --> 4349 <attr name="order" format="integer" /> 4350 <!-- When used inside of a modern PreferenceActivity, this declares 4351 a new PreferenceFragment to be shown when the user selects this item. --> 4352 <attr name="fragment" /> 4353 <!-- The layout for the Preference in a PreferenceActivity screen. This should 4354 rarely need to be changed, look at widgetLayout instead. --> 4355 <attr name="layout" /> 4356 <!-- The layout for the controllable widget portion of a Preference. This is inflated 4357 into the layout for a Preference and should be used more frequently than 4358 the layout attribute. For example, a checkbox preference would specify 4359 a custom layout (consisting of just the CheckBox) here. --> 4360 <attr name="widgetLayout" format="reference" /> 4361 <!-- Whether the Preference is enabled. --> 4362 <attr name="enabled" /> 4363 <!-- Whether the Preference is selectable. --> 4364 <attr name="selectable" format="boolean" /> 4365 <!-- The key of another Preference that this Preference will depend on. If the other 4366 Preference is not set or is off, this Preference will be disabled. --> 4367 <attr name="dependency" format="string" /> 4368 <!-- Whether the Preference stores its value to the shared preferences. --> 4369 <attr name="persistent" /> 4370 <!-- The default value for the preference, which will be set either if persistence 4371 is off or persistence is on and the preference is not found in the persistent 4372 storage. --> 4373 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 4374 <!-- Whether the view of this Preference should be disabled when 4375 this Preference is disabled. --> 4376 <attr name="shouldDisableView" format="boolean" /> 4377 </declare-styleable> 4378 4379 <!-- Base attributes available to CheckBoxPreference. --> 4380 <declare-styleable name="CheckBoxPreference"> 4381 <!-- The summary for the Preference in a PreferenceActivity screen when the 4382 CheckBoxPreference is checked. If separate on/off summaries are not 4383 needed, the summary attribute can be used instead. --> 4384 <attr name="summaryOn" format="string" /> 4385 <!-- The summary for the Preference in a PreferenceActivity screen when the 4386 CheckBoxPreference is unchecked. If separate on/off summaries are not 4387 needed, the summary attribute can be used instead. --> 4388 <attr name="summaryOff" format="string" /> 4389 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 4390 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 4391 <attr name="disableDependentsState" format="boolean" /> 4392 </declare-styleable> 4393 4394 <!-- Base attributes available to DialogPreference. --> 4395 <declare-styleable name="DialogPreference"> 4396 <!-- The title in the dialog. --> 4397 <attr name="dialogTitle" format="string" /> 4398 <!-- The message in the dialog. If a dialogLayout is provided and contains 4399 a TextView with ID android:id/message, this message will be placed in there. --> 4400 <attr name="dialogMessage" format="string" /> 4401 <!-- The icon for the dialog. --> 4402 <attr name="dialogIcon" format="reference" /> 4403 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 4404 <attr name="positiveButtonText" format="string" /> 4405 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 4406 <attr name="negativeButtonText" format="string" /> 4407 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 4408 be needed. If a custom DialogPreference is required, this should be set. For example, 4409 the EditTextPreference uses a layout with an EditText as this attribute. --> 4410 <attr name="dialogLayout" format="reference" /> 4411 </declare-styleable> 4412 4413 <!-- Base attributes available to ListPreference. --> 4414 <declare-styleable name="ListPreference"> 4415 <!-- The human-readable array to present as a list. Each entry must have a corresponding 4416 index in entryValues. --> 4417 <attr name="entries" /> 4418 <!-- The array to find the value to save for a preference when an entry from 4419 entries is selected. If a user clicks on the second item in entries, the 4420 second item in this array will be saved to the preference. --> 4421 <attr name="entryValues" format="reference" /> 4422 </declare-styleable> 4423 4424 <declare-styleable name="MultiSelectListPreference"> 4425 <!-- The human-readable array to present as a list. Each entry must have a corresponding 4426 index in entryValues. --> 4427 <attr name="entries" /> 4428 <!-- The array to find the value to save for a preference when an entry from 4429 entries is selected. If a user clicks the second item in entries, the 4430 second item in this array will be saved to the preference. --> 4431 <attr name="entryValues" /> 4432 </declare-styleable> 4433 4434 <!-- Base attributes available to RingtonePreference. --> 4435 <declare-styleable name="RingtonePreference"> 4436 <!-- Which ringtone type(s) to show in the picker. --> 4437 <attr name="ringtoneType"> 4438 <!-- Ringtones. --> 4439 <flag name="ringtone" value="1" /> 4440 <!-- Notification sounds. --> 4441 <flag name="notification" value="2" /> 4442 <!-- Alarm sounds. --> 4443 <flag name="alarm" value="4" /> 4444 <!-- All available ringtone sounds. --> 4445 <flag name="all" value="7" /> 4446 </attr> 4447 <!-- Whether to show an item for a default sound. --> 4448 <attr name="showDefault" format="boolean" /> 4449 <!-- Whether to show an item for 'Silent'. --> 4450 <attr name="showSilent" format="boolean" /> 4451 </declare-styleable> 4452 4453 <!-- Base attributes available to VolumePreference. --> 4454 <declare-styleable name="VolumePreference"> 4455 <!-- Different audio stream types. --> 4456 <attr name="streamType"> 4457 <enum name="voice" value="0" /> 4458 <enum name="system" value="1" /> 4459 <enum name="ring" value="2" /> 4460 <enum name="music" value="3" /> 4461 <enum name="alarm" value="4" /> 4462 </attr> 4463 </declare-styleable> 4464 4465 <declare-styleable name="InputMethodService"> 4466 <!-- Background to use for entire input method when it is being 4467 shown in fullscreen mode with the extract view, to ensure 4468 that it completely covers the application. This allows, 4469 for example, the candidate view to be hidden 4470 while in fullscreen mode without having the application show through 4471 behind it.--> 4472 <attr name="imeFullscreenBackground" format="reference|color" /> 4473 <!-- Animation to use when showing the fullscreen extract UI after 4474 it had previously been hidden. --> 4475 <attr name="imeExtractEnterAnimation" format="reference" /> 4476 <!-- Animation to use when hiding the fullscreen extract UI after 4477 it had previously been shown. --> 4478 <attr name="imeExtractExitAnimation" format="reference" /> 4479 </declare-styleable> 4480 4481 <declare-styleable name="KeyboardView"> 4482 <!-- Default KeyboardView style. --> 4483 <attr name="keyboardViewStyle" format="reference" /> 4484 4485 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 4486 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 4487 checkable+checked+pressed. --> 4488 <attr name="keyBackground" format="reference" /> 4489 4490 <!-- Size of the text for character keys. --> 4491 <attr name="keyTextSize" format="dimension" /> 4492 4493 <!-- Size of the text for custom keys with some text and no icon. --> 4494 <attr name="labelTextSize" format="dimension" /> 4495 4496 <!-- Color to use for the label in a key. --> 4497 <attr name="keyTextColor" format="color" /> 4498 4499 <!-- Layout resource for key press feedback.--> 4500 <attr name="keyPreviewLayout" format="reference" /> 4501 4502 <!-- Vertical offset of the key press feedback from the key. --> 4503 <attr name="keyPreviewOffset" format="dimension" /> 4504 4505 <!-- Height of the key press feedback popup. --> 4506 <attr name="keyPreviewHeight" format="dimension" /> 4507 4508 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 4509 <attr name="verticalCorrection" format="dimension" /> 4510 4511 <!-- Layout resource for popup keyboards. --> 4512 <attr name="popupLayout" format="reference" /> 4513 4514 <attr name="shadowColor" /> 4515 <attr name="shadowRadius" /> 4516 </declare-styleable> 4517 4518 <declare-styleable name="KeyboardViewPreviewState"> 4519 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 4520 key preview background. --> 4521 <attr name="state_long_pressable" format="boolean" /> 4522 </declare-styleable> 4523 4524 <declare-styleable name="Keyboard"> 4525 <!-- Default width of a key, in pixels or percentage of display width. --> 4526 <attr name="keyWidth" format="dimension|fraction" /> 4527 <!-- Default height of a key, in pixels or percentage of display width. --> 4528 <attr name="keyHeight" format="dimension|fraction" /> 4529 <!-- Default horizontal gap between keys. --> 4530 <attr name="horizontalGap" format="dimension|fraction" /> 4531 <!-- Default vertical gap between rows of keys. --> 4532 <attr name="verticalGap" format="dimension|fraction" /> 4533 </declare-styleable> 4534 4535 <declare-styleable name="Keyboard_Row"> 4536 <!-- Row edge flags. --> 4537 <attr name="rowEdgeFlags"> 4538 <!-- Row is anchored to the top of the keyboard. --> 4539 <flag name="top" value="4" /> 4540 <!-- Row is anchored to the bottom of the keyboard. --> 4541 <flag name="bottom" value="8" /> 4542 </attr> 4543 <!-- Mode of the keyboard. If the mode doesn't match the 4544 requested keyboard mode, the row will be skipped. --> 4545 <attr name="keyboardMode" format="reference" /> 4546 </declare-styleable> 4547 4548 <declare-styleable name="Keyboard_Key"> 4549 <!-- The unicode value or comma-separated values that this key outputs. --> 4550 <attr name="codes" format="integer|string" /> 4551 <!-- The XML keyboard layout of any popup keyboard. --> 4552 <attr name="popupKeyboard" format="reference" /> 4553 <!-- The characters to display in the popup keyboard. --> 4554 <attr name="popupCharacters" format="string" /> 4555 <!-- Key edge flags. --> 4556 <attr name="keyEdgeFlags"> 4557 <!-- Key is anchored to the left of the keyboard. --> 4558 <flag name="left" value="1" /> 4559 <!-- Key is anchored to the right of the keyboard. --> 4560 <flag name="right" value="2" /> 4561 </attr> 4562 <!-- Whether this is a modifier key such as Alt or Shift. --> 4563 <attr name="isModifier" format="boolean" /> 4564 <!-- Whether this is a toggle key. --> 4565 <attr name="isSticky" format="boolean" /> 4566 <!-- Whether long-pressing on this key will make it repeat. --> 4567 <attr name="isRepeatable" format="boolean" /> 4568 <!-- The icon to show in the popup preview. --> 4569 <attr name="iconPreview" format="reference" /> 4570 <!-- The string of characters to output when this key is pressed. --> 4571 <attr name="keyOutputText" format="string" /> 4572 <!-- The label to display on the key. --> 4573 <attr name="keyLabel" format="string" /> 4574 <!-- The icon to display on the key instead of the label. --> 4575 <attr name="keyIcon" format="reference" /> 4576 <!-- Mode of the keyboard. If the mode doesn't match the 4577 requested keyboard mode, the key will be skipped. --> 4578 <attr name="keyboardMode" /> 4579 </declare-styleable> 4580 4581 <!-- =============================== --> 4582 <!-- AppWidget package class attributes --> 4583 <!-- =============================== --> 4584 <eat-comment /> 4585 4586 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 4587 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 4588 package for more info. 4589 --> 4590 <declare-styleable name="AppWidgetProviderInfo"> 4591 <!-- Minimum width of the AppWidget. --> 4592 <attr name="minWidth"/> 4593 <!-- Minimum height of the AppWidget. --> 4594 <attr name="minHeight"/> 4595 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 4596 <attr name="updatePeriodMillis" format="integer" /> 4597 <!-- A resource id of a layout. --> 4598 <attr name="initialLayout" format="reference" /> 4599 <!-- A class name in the AppWidget's package to be launched to configure. 4600 If not supplied, then no activity will be launched. --> 4601 <attr name="configure" format="string" /> 4602 <!-- A preview of what the AppWidget will look like after it's configured. 4603 If not supplied, the AppWidget's icon will be used. --> 4604 <attr name="previewImage" format="reference" /> 4605 <!-- The view id of the AppWidget subview which should be auto-advanced. 4606 by the widget's host. --> 4607 <attr name="autoAdvanceViewId" format="reference" /> 4608 <!-- Optional parameter which indicates if and how this widget can be 4609 resized. --> 4610 <attr name="resizeMode" format="integer"> 4611 <flag name="none" value="0x0" /> 4612 <flag name="horizontal" value="0x1" /> 4613 <flag name="vertical" value="0x2" /> 4614 </attr> 4615 </declare-styleable> 4616 4617 <!-- =============================== --> 4618 <!-- Wallpaper preview attributes --> 4619 <!-- =============================== --> 4620 <eat-comment /> 4621 4622 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 4623 describes a wallpaper preview. --> 4624 <declare-styleable name="WallpaperPreviewInfo"> 4625 <!-- A resource id of a static drawable. --> 4626 <attr name="staticWallpaperPreview" format="reference" /> 4627 </declare-styleable> 4628 4629 <!-- =============================== --> 4630 <!-- App package class attributes --> 4631 <!-- =============================== --> 4632 <eat-comment /> 4633 4634 <!-- ============================= --> 4635 <!-- View package class attributes --> 4636 <!-- ============================= --> 4637 <eat-comment /> 4638 4639 <!-- Attributes that can be used with <code><fragment></code> 4640 tags inside of the layout of an Activity. This instantiates 4641 the given {@link android.app.Fragment} and inserts its content 4642 view into the current location in the layout. --> 4643 <declare-styleable name="Fragment"> 4644 <!-- Supply the name of the fragment class to instantiate. --> 4645 <attr name="name" /> 4646 4647 <!-- Supply an identifier name for the top-level view, to later retrieve it 4648 with {@link android.view.View#findViewById View.findViewById()} or 4649 {@link android.app.Activity#findViewById Activity.findViewById()}. 4650 This must be a 4651 resource reference; typically you set this using the 4652 <code>@+</code> syntax to create a new ID resources. 4653 For example: <code>android:id="@+id/my_id"</code> which 4654 allows you to later retrieve the view 4655 with <code>findViewById(R.id.my_id)</code>. --> 4656 <attr name="id" /> 4657 4658 <!-- Supply a tag for the top-level view containing a String, to be retrieved 4659 later with {@link android.view.View#getTag View.getTag()} or 4660 searched for with {@link android.view.View#findViewWithTag 4661 View.findViewWithTag()}. It is generally preferable to use 4662 IDs (through the android:id attribute) instead of tags because 4663 they are faster and allow for compile-time type checking. --> 4664 <attr name="tag" /> 4665 </declare-styleable> 4666 4667 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 4668 describes a 4669 {@link android.app.admin.DeviceAdminReceiver}, which is 4670 referenced from its 4671 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 4672 meta-data entry. Described here are the attributes that can be 4673 included in that tag. --> 4674 <declare-styleable name="DeviceAdmin"> 4675 <!-- Control whether the admin is visible to the user, even when it 4676 is not enabled. This is true by default. You may want to make 4677 it false if your admin does not make sense to be turned on 4678 unless some explicit action happens in your app. --> 4679 <attr name="visible" /> 4680 </declare-styleable> 4681 4682 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 4683 describes an 4684 {@link android.service.wallpaper.WallpaperService}, which is 4685 referenced from its 4686 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 4687 meta-data entry. Described here are the attributes that can be 4688 included in that tag. --> 4689 <declare-styleable name="Wallpaper"> 4690 <attr name="settingsActivity" /> 4691 4692 <!-- Reference to a the wallpaper's thumbnail bitmap. --> 4693 <attr name="thumbnail" format="reference" /> 4694 4695 <!-- Name of the author of this component, e.g. Google. --> 4696 <attr name="author" format="reference" /> 4697 4698 <!-- Short description of the component's purpose or behavior. --> 4699 <attr name="description" /> 4700 </declare-styleable> 4701 4702 <!-- =============================== --> 4703 <!-- Accounts package class attributes --> 4704 <!-- =============================== --> 4705 <eat-comment /> 4706 4707 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 4708 describes an account authenticator. 4709 --> 4710 <declare-styleable name="AccountAuthenticator"> 4711 <!-- The account type this authenticator handles. --> 4712 <attr name="accountType" format="string"/> 4713 <!-- The user-visible name of the authenticator. --> 4714 <attr name="label"/> 4715 <!-- The icon of the authenticator. --> 4716 <attr name="icon"/> 4717 <!-- Smaller icon of the authenticator. --> 4718 <attr name="smallIcon" format="reference"/> 4719 <!-- A preferences.xml file for authenticator-specific settings. --> 4720 <attr name="accountPreferences" format="reference"/> 4721 <!-- Account handles its own token storage and permissions. 4722 Default to false 4723 --> 4724 <attr name="customTokens" format="boolean"/> 4725 </declare-styleable> 4726 4727 <!-- =============================== --> 4728 <!-- Accounts package class attributes --> 4729 <!-- =============================== --> 4730 <eat-comment /> 4731 4732 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 4733 describes an account authenticator. 4734 --> 4735 <declare-styleable name="SyncAdapter"> 4736 <!-- the authority of a content provider. --> 4737 <attr name="contentAuthority" format="string"/> 4738 <attr name="accountType"/> 4739 <attr name="userVisible" format="boolean"/> 4740 <attr name="supportsUploading" format="boolean"/> 4741 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 4742 multiple simultaneous syncs for the same account type and authority. 4743 Otherwise the SyncManager will be sure not to issue a start sync request 4744 to this SyncAdapter if the SyncAdapter is already syncing another account. 4745 Defaults to false. 4746 --> 4747 <attr name="allowParallelSyncs" format="boolean"/> 4748 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 4749 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 4750 Defaults to false. 4751 --> 4752 <attr name="isAlwaysSyncable" format="boolean"/> 4753 </declare-styleable> 4754 4755 <!-- =============================== --> 4756 <!-- Contacts meta-data attributes --> 4757 <!-- =============================== --> 4758 <eat-comment /> 4759 4760 <!-- TODO: remove this deprecated styleable. --> 4761 <eat-comment /> 4762 <declare-styleable name="Icon"> 4763 <attr name="icon" /> 4764 <attr name="mimeType" /> 4765 </declare-styleable> 4766 4767 <!-- TODO: remove this deprecated styleable --> 4768 <eat-comment /> 4769 <declare-styleable name="IconDefault"> 4770 <attr name="icon" /> 4771 </declare-styleable> 4772 4773 <!-- Maps a specific contact data MIME-type to styling information. --> 4774 <declare-styleable name="ContactsDataKind"> 4775 <!-- Mime-type handled by this mapping. --> 4776 <attr name="mimeType" /> 4777 <!-- Icon used to represent data of this kind. --> 4778 <attr name="icon" /> 4779 <!-- Column in data table that summarizes this data. --> 4780 <attr name="summaryColumn" format="string" /> 4781 <!-- Column in data table that contains details for this data. --> 4782 <attr name="detailColumn" format="string" /> 4783 <!-- Flag indicating that detail should be built from SocialProvider. --> 4784 <attr name="detailSocialSummary" format="boolean" /> 4785 <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or 4786 "All connections"). Optional (Default is "All Contacts"). --> 4787 <attr name="allContactsName" format="string" /> 4788 </declare-styleable> 4789 4790 <!-- =============================== --> 4791 <!-- TabSelector class attributes --> 4792 <!-- =============================== --> 4793 <eat-comment /> 4794 4795 <declare-styleable name="SlidingTab"> 4796 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 4797 <attr name="orientation" /> 4798 </declare-styleable> 4799 4800 <!-- =============================== --> 4801 <!-- LockPatternView class attributes --> 4802 <!-- =============================== --> 4803 <eat-comment /> 4804 4805 <declare-styleable name="LockPatternView"> 4806 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 4807 or "lock_height" --> 4808 <attr name="aspect" format="string" /> 4809 </declare-styleable> 4810 4811 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 4812 describes a {@link android.speech.RecognitionService}, which is reference from 4813 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 4814 Described here are the attributes that can be included in that tag. --> 4815 <declare-styleable name="RecognitionService"> 4816 <attr name="settingsActivity" /> 4817 </declare-styleable> 4818 4819 <!-- Attributes used to style the Action Bar. --> 4820 <declare-styleable name="ActionBar"> 4821 <!-- The type of navigation to use. --> 4822 <attr name="navigationMode"> 4823 <!-- Normal static title text --> 4824 <enum name="normal" value="0" /> 4825 <!-- The action bar will use a selection list for navigation. --> 4826 <enum name="listMode" value="1" /> 4827 <!-- The action bar will use a series of horizontal tabs for navigation. --> 4828 <enum name="tabMode" value="2" /> 4829 </attr> 4830 <!-- Options affecting how the action bar is displayed. --> 4831 <attr name="displayOptions"> 4832 <flag name="useLogo" value="0x1" /> 4833 <flag name="showHome" value="0x2" /> 4834 <flag name="homeAsUp" value="0x4" /> 4835 <flag name="showTitle" value="0x8" /> 4836 <flag name="showCustom" value="0x10" /> 4837 </attr> 4838 <!-- Specifies title text used for navigationMode="normal" --> 4839 <attr name="title" /> 4840 <!-- Specifies subtitle text used for navigationMode="normal" --> 4841 <attr name="subtitle" format="string" /> 4842 <!-- Specifies a style to use for title text. --> 4843 <attr name="titleTextStyle" format="reference" /> 4844 <!-- Specifies a style to use for subtitle text. --> 4845 <attr name="subtitleTextStyle" format="reference" /> 4846 <!-- Specifies the drawable used for the application icon. --> 4847 <attr name="icon" /> 4848 <!-- Specifies the drawable used for the application logo. --> 4849 <attr name="logo" /> 4850 <!-- Specifies the drawable used for item dividers. --> 4851 <attr name="divider" /> 4852 <!-- Specifies a background drawable for the action bar. --> 4853 <attr name="background" /> 4854 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 4855 <attr name="customNavigationLayout" format="reference" /> 4856 <!-- Specifies a fixed height. --> 4857 <attr name="height" /> 4858 <!-- Specifies a layout to use for the "home" section of the action bar. --> 4859 <attr name="homeLayout" format="reference" /> 4860 <!-- Specifies a style resource to use for an embedded progress bar. --> 4861 <attr name="progressBarStyle" /> 4862 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 4863 <attr name="indeterminateProgressStyle" format="reference" /> 4864 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 4865 <attr name="progressBarPadding" format="dimension" /> 4866 <!-- Specifies padding that should be applied to the left and right sides of 4867 system-provided items in the bar. --> 4868 <attr name="itemPadding" format="dimension" /> 4869 </declare-styleable> 4870 4871 <declare-styleable name="ActionMode"> 4872 <!-- Specifies a style to use for title text. --> 4873 <attr name="titleTextStyle" /> 4874 <!-- Specifies a style to use for subtitle text. --> 4875 <attr name="subtitleTextStyle" /> 4876 <!-- Specifies a background for the action mode bar. --> 4877 <attr name="background" /> 4878 <!-- Specifies a fixed height for the action mode bar. --> 4879 <attr name="height" /> 4880 </declare-styleable> 4881 4882 <declare-styleable name="SearchView"> 4883 <!-- The default state of the SearchView. If true, it will be iconified when not in 4884 use and expanded when clicked. --> 4885 <attr name="iconifiedByDefault" format="boolean"/> 4886 <!-- An optional maximum width of the SearchView. --> 4887 <attr name="maxWidth" /> 4888 <!-- An optional query hint string to be displayed in the empty query field. --> 4889 <attr name="queryHint" format="string" /> 4890 </declare-styleable> 4891 4892 <declare-styleable name="ActionBar_LayoutParams"> 4893 <attr name="layout_gravity" /> 4894 </declare-styleable> 4895 4896 <declare-styleable name="Switch"> 4897 <!-- Drawable to use as the "thumb" that switches back and forth. --> 4898 <attr name="switchThumb" format="reference" /> 4899 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 4900 <attr name="switchTrack" format="reference" /> 4901 <!-- Text to use when the switch is in the checked/"on" state. --> 4902 <attr name="textOn" /> 4903 <!-- Text to use when the switch is in the unchecked/"off" state. --> 4904 <attr name="textOff" /> 4905 <!-- Amount of padding on either side of text within the switch thumb. --> 4906 <attr name="thumbTextPadding" format="dimension" /> 4907 <!-- TextAppearance style for text displayed on the switch thumb. --> 4908 <attr name="switchTextAppearance" format="reference" /> 4909 <!-- Minimum width for the switch component --> 4910 <attr name="switchMinWidth" format="dimension" /> 4911 <!-- Minimum space between the switch and caption text --> 4912 <attr name="switchPadding" format="dimension" /> 4913 </declare-styleable> 4914 4915 <declare-styleable name="PointerIcon"> 4916 <!-- Drawable to use as the icon bitmap. --> 4917 <attr name="bitmap" format="reference" /> 4918 <!-- X coordinate of the icon hot spot. --> 4919 <attr name="hotSpotX" format="float" /> 4920 <!-- Y coordinate of the icon hot spot. --> 4921 <attr name="hotSpotY" format="float" /> 4922 </declare-styleable> 4923</resources> 4924