| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2006 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- Formatting note: terminate all comments with a period, to avoid breaking |
| the documentation output. To suppress comment lines from the documentation |
| output, insert an eat-comment element after the comment lines. |
| --> |
| |
| <resources> |
| <!-- These are the standard attributes that make up a complete theme. --> |
| <declare-styleable name="Theme"> |
| <!-- ============== --> |
| <!-- Generic styles --> |
| <!-- ============== --> |
| <eat-comment /> |
| |
| <!-- Specifies that a theme has a light background with dark text on top. --> |
| <attr name="isLightTheme" format="boolean" /> |
| |
| <!-- Default color of foreground imagery. --> |
| <attr name="colorForeground" format="color" /> |
| <!-- Default color of foreground imagery on an inverted background. --> |
| <attr name="colorForegroundInverse" format="color" /> |
| <!-- Default color of background imagery, ex. full-screen windows. --> |
| <attr name="colorBackground" format="color" /> |
| <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. --> |
| <attr name="colorBackgroundFloating" format="color" /> |
| <!-- This is a hint for a solid color that can be used for caching |
| rendered views. This should be the color of the background when |
| there is a solid background color; it should be null when the |
| background is a texture or translucent. When a device is able |
| to use accelerated drawing (thus setting state_accelerated), the |
| cache hint is ignored and always assumed to be transparent. --> |
| <attr name="colorBackgroundCacheHint" format="color" /> |
| |
| <!-- Default highlight color for items that are pressed. --> |
| <attr name="colorPressedHighlight" format="color" /> |
| <!-- Default highlight color for items that are long-pressed. --> |
| <attr name="colorLongPressedHighlight" format="color" /> |
| <!-- Default highlight color for items that are |
| focused. (Focused meaning cursor-based selection.) --> |
| <attr name="colorFocusedHighlight" format="color" /> |
| <!-- Default highlight color for items that are |
| activated. (Activated meaning persistent selection.) --> |
| <attr name="colorActivatedHighlight" format="color" /> |
| <!-- Default highlight color for items in multiple selection |
| mode. --> |
| <attr name="colorMultiSelectHighlight" format="color" /> |
| |
| <!-- Drawable to be drawn over the view to mark it as autofilled--> |
| <attr name="autofilledHighlight" format="reference" /> |
| |
| <!-- Max width of the autofill data set picker as a fraction of the screen width --> |
| <attr name="autofillDatasetPickerMaxWidth" format="reference" /> |
| |
| <!-- Max height of the autofill data set picker as a fraction of the screen height --> |
| <attr name="autofillDatasetPickerMaxHeight" format="reference" /> |
| |
| <!-- Max height of the the autofill save custom subtitle as a fraction of the screen width/height --> |
| <attr name="autofillSaveCustomSubtitleMaxHeight" format="reference" /> |
| |
| <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> |
| <attr name="disabledAlpha" format="float" /> |
| <!-- The alpha applied to the foreground color to create the primary text color. --> |
| <attr name="primaryContentAlpha" format="float" /> |
| <!-- The alpha applied to the foreground color to create the secondary text color. --> |
| <attr name="secondaryContentAlpha" format="float" /> |
| <!-- Color used for error states and things that need to be drawn to |
| the users attention.. --> |
| <attr name="colorError" format="reference|color" /> |
| <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> |
| <attr name="backgroundDimAmount" format="float" /> |
| <!-- Control whether dimming behind the window is enabled. The default |
| theme does not set this value, meaning it is based on whether the |
| window is floating. --> |
| <attr name="backgroundDimEnabled" format="boolean" /> |
| <!-- When windowBlurBehindEnabled is set, this is the amount of blur to apply |
| behind the window. The range is from 0, which means no blur, to 150. --> |
| <attr name="windowBlurBehindRadius" format="dimension"/> |
| <!-- If set, everything behind the window will be blurred with radius |
| windowBackgroundBlurRadius. --> |
| <attr name="windowBlurBehindEnabled" format="boolean" /> |
| |
| |
| <!-- Color of background imagery used for popup windows. --> |
| <attr name="colorPopupBackground" format="color" /> |
| <!-- Color used for list divider. --> |
| <attr name="colorListDivider" format="color" /> |
| <!-- Opacity used for list divider. --> |
| <attr name="opacityListDivider" format="color" /> |
| |
| <!-- =========== --> |
| <!-- Text styles --> |
| <!-- =========== --> |
| <eat-comment /> |
| |
| <!-- Default appearance of text: color, typeface, size, and style. --> |
| <attr name="textAppearance" format="reference" /> |
| <!-- Default appearance of text against an inverted background: |
| color, typeface, size, and style. --> |
| <attr name="textAppearanceInverse" format="reference" /> |
| |
| <!-- The most prominent text color. --> |
| <attr name="textColorPrimary" format="reference|color" /> |
| <!-- Secondary text color. --> |
| <attr name="textColorSecondary" format="reference|color" /> |
| <!-- Tertiary text color. --> |
| <attr name="textColorTertiary" format="reference|color" /> |
| |
| <!-- Primary inverse text color, useful for inverted backgrounds. --> |
| <attr name="textColorPrimaryInverse" format="reference|color" /> |
| <!-- Secondary inverse text color, useful for inverted backgrounds. --> |
| <attr name="textColorSecondaryInverse" format="reference|color" /> |
| <!-- Tertiary inverse text color, useful for inverted backgrounds. --> |
| <attr name="textColorTertiaryInverse" format="reference|color" /> |
| |
| <!-- Inverse hint text color. --> |
| <attr name="textColorHintInverse" format="reference|color" /> |
| |
| <!-- Bright text color. Only differentiates based on the disabled state. --> |
| <attr name="textColorPrimaryDisableOnly" format="reference|color" /> |
| |
| <!-- Bright inverse text color. Only differentiates based on the disabled state. --> |
| <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> |
| |
| <!-- Bright text color. This does not differentiate the disabled state. As an example, |
| buttons use this since they display the disabled state via the background and not the |
| foreground text color. --> |
| <attr name="textColorPrimaryNoDisable" format="reference|color" /> |
| <!-- Dim text color. This does not differentiate the disabled state. --> |
| <attr name="textColorSecondaryNoDisable" format="reference|color" /> |
| |
| <!-- Bright inverse text color. This does not differentiate the disabled state. --> |
| <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> |
| <!-- Dim inverse text color. This does not differentiate the disabled state. --> |
| <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> |
| |
| <!-- Bright text color for use over activated backgrounds. --> |
| <attr name="textColorPrimaryActivated" format="reference|color" /> |
| <!-- Dim text color for use over activated backgrounds. --> |
| <attr name="textColorSecondaryActivated" format="reference|color" /> |
| |
| <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> |
| <attr name="textColorSearchUrl" format="reference|color" /> |
| |
| <!-- Color of highlighted text, when used in a light theme. --> |
| <attr name="textColorHighlightInverse" format="reference|color" /> |
| <!-- Color of link text (URLs), when used in a light theme. --> |
| <attr name="textColorLinkInverse" format="reference|color" /> |
| |
| <!-- Color of list item text in alert dialogs. --> |
| <attr name="textColorAlertDialogListItem" format="reference|color" /> |
| |
| <!-- Search widget more corpus result item background. --> |
| <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> |
| |
| <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> |
| <attr name="textAppearanceLarge" format="reference" /> |
| <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> |
| <attr name="textAppearanceMedium" format="reference" /> |
| <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> |
| <attr name="textAppearanceSmall" format="reference" /> |
| |
| <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> |
| <attr name="textAppearanceLargeInverse" format="reference" /> |
| <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> |
| <attr name="textAppearanceMediumInverse" format="reference" /> |
| <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> |
| <attr name="textAppearanceSmallInverse" format="reference" /> |
| |
| <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> |
| <attr name="textAppearanceSearchResultTitle" format="reference" /> |
| <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> |
| <attr name="textAppearanceSearchResultSubtitle" format="reference" /> |
| |
| <!-- Text color, typeface, size, and style for the text inside of a button. --> |
| <attr name="textAppearanceButton" format="reference" /> |
| |
| <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> |
| <attr name="textAppearanceLargePopupMenu" format="reference" /> |
| |
| <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> |
| <attr name="textAppearanceSmallPopupMenu" format="reference" /> |
| |
| <!-- Text color, typeface, size, and style for header text inside of a popup menu. --> |
| <attr name="textAppearancePopupMenuHeader" format="reference" /> |
| |
| <!-- The underline color and thickness for easy correct suggestion --> |
| <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> |
| |
| <!-- The underline color and thickness for misspelled suggestion --> |
| <attr name="textAppearanceMisspelledSuggestion" format="reference" /> |
| |
| <!-- The underline color and thickness for auto correction suggestion --> |
| <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> |
| |
| <!-- The underline color and thickness for grammar error suggestion --> |
| <attr name="textAppearanceGrammarErrorSuggestion" format="reference" /> |
| |
| <!-- The underline color --> |
| <attr name="textUnderlineColor" format="reference|color" /> |
| <!-- The underline thickness --> |
| <attr name="textUnderlineThickness" format="reference|dimension" /> |
| |
| <!-- EditText text foreground color. --> |
| <attr name="editTextColor" format="reference|color" /> |
| <!-- EditText background drawable. --> |
| <attr name="editTextBackground" format="reference" /> |
| |
| <!-- Popup text displayed in TextView when setError is used. --> |
| <attr name="errorMessageBackground" format="reference" /> |
| <!-- Background used instead of errorMessageBackground when the popup has to be above. --> |
| <attr name="errorMessageAboveBackground" format="reference" /> |
| |
| <!-- A styled string, specifying the style to be used for showing |
| inline candidate text when composing with an input method. The |
| text itself will be ignored, but the style spans will be applied |
| to the candidate text as it is edited. --> |
| <attr name="candidatesTextStyleSpans" format="reference|string" /> |
| |
| <!-- Drawable to use for check marks. --> |
| <attr name="textCheckMark" format="reference" /> |
| <attr name="textCheckMarkInverse" format="reference" /> |
| |
| <!-- Drawable to use for multiple choice indicators. --> |
| <attr name="listChoiceIndicatorMultiple" format="reference" /> |
| |
| <!-- Drawable to use for single choice indicators. --> |
| <attr name="listChoiceIndicatorSingle" format="reference" /> |
| |
| <!-- Drawable used as a background for selected list items. --> |
| <attr name="listChoiceBackgroundIndicator" format="reference" /> |
| |
| <!-- Drawable used as a background for activated items. --> |
| <attr name="activatedBackgroundIndicator" format="reference" /> |
| |
| <!-- ============= --> |
| <!-- Button styles --> |
| <!-- ============= --> |
| <eat-comment /> |
| |
| <!-- Normal Button style. --> |
| <attr name="buttonStyle" format="reference" /> |
| |
| <!-- Small Button style. --> |
| <attr name="buttonStyleSmall" format="reference" /> |
| |
| <!-- Button style to inset into an EditText. --> |
| <attr name="buttonStyleInset" format="reference" /> |
| |
| <!-- ToggleButton style. --> |
| <attr name="buttonStyleToggle" format="reference" /> |
| |
| <!-- ============== --> |
| <!-- Gallery styles --> |
| <!-- ============== --> |
| <eat-comment /> |
| |
| <!-- The preferred background for gallery items. This should be set |
| as the background of any Views you provide from the Adapter. --> |
| <attr name="galleryItemBackground" format="reference" /> |
| |
| <!-- =========== --> |
| <!-- List styles --> |
| <!-- =========== --> |
| <eat-comment /> |
| |
| <!-- The preferred list item height. --> |
| <attr name="listPreferredItemHeight" format="dimension" /> |
| <!-- A smaller, sleeker list item height. --> |
| <attr name="listPreferredItemHeightSmall" format="dimension" /> |
| <!-- A larger, more robust list item height. --> |
| <attr name="listPreferredItemHeightLarge" format="dimension" /> |
| <!-- The list item height for search results. @hide --> |
| <attr name="searchResultListItemHeight" format="dimension" /> |
| |
| <!-- The preferred padding along the left edge of list items. --> |
| <attr name="listPreferredItemPaddingLeft" format="dimension" /> |
| <!-- The preferred padding along the right edge of list items. --> |
| <attr name="listPreferredItemPaddingRight" format="dimension" /> |
| |
| <!-- The preferred TextAppearance for the primary text of list items. --> |
| <attr name="textAppearanceListItem" format="reference" /> |
| <!-- The preferred TextAppearance for the secondary text of list items. --> |
| <attr name="textAppearanceListItemSecondary" format="reference" /> |
| <!-- The preferred TextAppearance for the primary text of small list items. --> |
| <attr name="textAppearanceListItemSmall" format="reference" /> |
| |
| <!-- The drawable for the list divider. --> |
| <attr name="listDivider" format="reference" /> |
| <!-- The list divider used in alert dialogs. --> |
| <attr name="listDividerAlertDialog" format="reference" /> |
| <!-- TextView style for list separators. --> |
| <attr name="listSeparatorTextViewStyle" format="reference" /> |
| <!-- The preferred left padding for an expandable list item (for child-specific layouts, |
| use expandableListPreferredChildPaddingLeft). This takes into account |
| the indicator that will be shown to next to the item. --> |
| <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> |
| <!-- The preferred left padding for an expandable list item that is a child. |
| If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> |
| <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> |
| <!-- The preferred left bound for an expandable list item's indicator. For a child-specific |
| indicator, use expandableListPreferredChildIndicatorLeft. --> |
| <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> |
| <!-- The preferred right bound for an expandable list item's indicator. For a child-specific |
| indicator, use expandableListPreferredChildIndicatorRight. --> |
| <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> |
| <!-- The preferred left bound for an expandable list child's indicator. --> |
| <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> |
| <!-- The preferred right bound for an expandable list child's indicator. --> |
| <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> |
| |
| <!-- The preferred item height for dropdown lists. --> |
| <attr name="dropdownListPreferredItemHeight" format="dimension" /> |
| |
| <!-- The preferred padding along the start edge of list items. --> |
| <attr name="listPreferredItemPaddingStart" format="dimension" /> |
| <!-- The preferred padding along the end edge of list items. --> |
| <attr name="listPreferredItemPaddingEnd" format="dimension" /> |
| |
| <!-- ============= --> |
| <!-- Window styles --> |
| <!-- ============= --> |
| <eat-comment /> |
| |
| <!-- Drawable to use as the overall window background. As of |
| {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may |
| be a selector that uses state_accelerated to pick a non-solid |
| color when running on devices that can draw such a bitmap |
| with complex compositing on top at 60fps. |
| |
| <p>There are a few special considerations to use when setting this |
| drawable: |
| <ul> |
| <li> This information will be used to infer the pixel format |
| for your window's surface. If the drawable has any |
| non-opaque pixels, your window will be translucent |
| (32 bpp). |
| <li> If you want to draw the entire background |
| yourself, you should set this drawable to some solid |
| color that closely matches that background (so the |
| system's preview of your window will match), and |
| then in code manually set your window's background to |
| null so it will not be drawn. |
| </ul> --> |
| <attr name="windowBackground" format="reference|color" /> |
| <!-- Drawable to draw selectively within the inset areas when the windowBackground |
| has been set to null. This protects against seeing visual garbage in the |
| surface when the app has not drawn any content into this area. One example is |
| when the user is resizing a window of an activity in multi-window mode. --> |
| <attr name="windowBackgroundFallback" format="reference|color" /> |
| <!-- Blur the screen behind the window with the bounds of the window. |
| The radius defines the size of the neighbouring area, from which pixels will be |
| averaged to form the final color for each pixel in the region. |
| A radius of 0 means no blur. The higher the radius, the denser the blur. |
| Corresponds to {@link android.view.Window#setBackgroundBlurRadius}. --> |
| <attr name="windowBackgroundBlurRadius" format="dimension" /> |
| <!-- Drawable to use as a frame around the window. --> |
| <attr name="windowFrame" format="reference" /> |
| <!-- Flag indicating whether there should be no title on this window. --> |
| <attr name="windowNoTitle" format="boolean" /> |
| <!-- Flag indicating whether this window should fill the entire screen. Corresponds |
| to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> |
| <attr name="windowFullscreen" format="boolean" /> |
| <!-- Flag indicating whether this window should extend into overscan region. Corresponds |
| to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. |
| @deprecated Overscan areas aren't set by any Android product anymore as of Android 11. |
| --> |
| <attr name="windowOverscan" format="boolean" /> |
| <!-- Flag indicating whether this is a floating window. --> |
| <attr name="windowIsFloating" format="boolean" /> |
| <!-- Flag indicating whether this is a translucent window. --> |
| <attr name="windowIsTranslucent" format="boolean" /> |
| <!-- Flag indicating that this window's background should be the |
| user's current wallpaper. Corresponds |
| to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> |
| <attr name="windowShowWallpaper" format="boolean" /> |
| <!-- This Drawable is overlaid over the foreground of the Window's content area, usually |
| to place a shadow below the title. --> |
| <attr name="windowContentOverlay" format="reference" /> |
| <!-- The style resource to use for a window's title bar height. --> |
| <attr name="windowTitleSize" format="dimension" /> |
| <!-- The style resource to use for a window's title text. --> |
| <attr name="windowTitleStyle" format="reference" /> |
| <!-- The style resource to use for a window's title area. --> |
| <attr name="windowTitleBackgroundStyle" format="reference" /> |
| |
| <!-- Reference to a style resource holding |
| the set of window animations to use, which can be |
| any of the attributes defined by |
| {@link android.R.styleable#WindowAnimation}. --> |
| <attr name="windowAnimationStyle" format="reference" /> |
| |
| <!-- Flag indicating whether this window should have an Action Bar |
| in place of the usual title bar. --> |
| <attr name="windowActionBar" format="boolean" /> |
| |
| <!-- Flag indicating whether this window's Action Bar should overlay |
| application content. Does nothing if the window would not |
| have an Action Bar. --> |
| <attr name="windowActionBarOverlay" format="boolean" /> |
| |
| <!-- Flag indicating whether action modes should overlay window content |
| when there is not reserved space for their UI (such as an Action Bar). --> |
| <attr name="windowActionModeOverlay" format="boolean" /> |
| |
| <!-- Defines the default soft input state that this window would |
| like when it is displayed. Corresponds |
| to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> |
| <attr name="windowSoftInputMode"> |
| <!-- Not specified, use what the system thinks is best. This |
| is the default. --> |
| <flag name="stateUnspecified" value="0" /> |
| <!-- Leave the soft input window as-is, in whatever state it |
| last was. --> |
| <flag name="stateUnchanged" value="1" /> |
| <!-- Make the soft input area hidden when normally appropriate |
| (when the user is navigating forward to your window). --> |
| <flag name="stateHidden" value="2" /> |
| <!-- Always make the soft input area hidden when this window |
| has input focus. --> |
| <flag name="stateAlwaysHidden" value="3" /> |
| <!-- Make the soft input area visible when normally appropriate |
| (when the user is navigating forward to your window). --> |
| <flag name="stateVisible" value="4" /> |
| <!-- Always make the soft input area visible when this window |
| has input focus. --> |
| <flag name="stateAlwaysVisible" value="5" /> |
| |
| <!-- The window resize/pan adjustment has not been specified, |
| the system will automatically select between resize and pan |
| modes, depending |
| on whether the content of the window has any layout views |
| that can scroll their contents. If there is such a view, |
| then the window will be resized, with the assumption being |
| that the resizeable area can be reduced to make room for |
| the input UI. --> |
| <flag name="adjustUnspecified" value="0x00" /> |
| <!-- Always resize the window: the content area of the window is |
| reduced to make room for the soft input area. --> |
| <flag name="adjustResize" value="0x10" /> |
| <!-- Don't resize the window to make room for the soft input area; |
| instead pan the contents of the window as focus moves inside |
| of it so that the user can see what they are typing. This is |
| generally less desireable than panning because the user may |
| need to close the input area to get at and interact with |
| parts of the window. --> |
| <flag name="adjustPan" value="0x20" /> |
| <!-- Don't resize <em>or</em> pan the window to make room for the |
| soft input area; the window is never adjusted for it. --> |
| <flag name="adjustNothing" value="0x30" /> |
| </attr> |
| |
| <!-- Flag allowing you to disable the splash screen for a window. The default value is |
| false; if set to true, the system can never use the window's theme to show a splash |
| screen before your actual instance is shown to the user. --> |
| <attr name="windowDisablePreview" format="boolean" /> |
| |
| <!-- Flag indicating that this window should not be displayed at all. |
| The default value is false; if set to true, and this window is |
| the main window of an Activity, then it will never actually |
| be added to the window manager. This means that your activity |
| must immediately quit without waiting for user interaction, |
| because there will be no such interaction coming. --> |
| <attr name="windowNoDisplay" format="boolean" /> |
| |
| <!-- Flag indicating that this window should allow touches to be split |
| across other windows that also support split touch. |
| The default value is true for applications with a targetSdkVersion |
| of Honeycomb or newer; false otherwise. |
| When this flag is false, the first pointer that goes down determines |
| the window to which all subsequent touches go until all pointers go up. |
| When this flag is true, each pointer (not necessarily the first) that |
| goes down determines the window to which all subsequent touches of that |
| pointer will go until that pointers go up thereby enabling touches |
| with multiple pointers to be split across multiple windows. --> |
| <attr name="windowEnableSplitTouch" format="boolean" /> |
| |
| <!-- Control whether a container should automatically close itself if |
| the user touches outside of it. This only applies to activities |
| and dialogs. |
| |
| <p>Note: this attribute will only be respected for applications |
| that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} |
| or later. --> |
| <attr name="windowCloseOnTouchOutside" format="boolean" /> |
| |
| <!-- Flag indicating whether this window requests a translucent status bar. Corresponds |
| to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> |
| <attr name="windowTranslucentStatus" format="boolean" /> |
| |
| <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds |
| to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> |
| <attr name="windowTranslucentNavigation" format="boolean" /> |
| |
| <!-- Flag to indicate that a window can be swiped away to be dismissed. |
| Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also |
| dynamically change translucency of the window, if the windowIsTranslucent is not set. |
| If windowIsTranslucent is set (to either true or false) it will obey that setting. |
| @deprecated Swipe-to-dismiss isn't functional anymore. |
| --> |
| <attr name="windowSwipeToDismiss" format="boolean" /> |
| |
| <!-- Flag indicating whether this window requests that content changes be performed |
| as scene changes with transitions. Corresponds to |
| {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> |
| <attr name="windowContentTransitions" format="boolean" /> |
| |
| <!-- Reference to a TransitionManager XML resource defining the desired |
| transitions between different window content. --> |
| <attr name="windowContentTransitionManager" format="reference" /> |
| |
| <!-- Flag indicating whether this window allows Activity Transitions. |
| Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. --> |
| <attr name="windowActivityTransitions" format="boolean" /> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move Views into the initial Window's content Scene. Corresponds to |
| {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> |
| <attr name="windowEnterTransition" format="reference"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move Views out of the scene when the Window is |
| preparing to close. Corresponds to |
| {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> |
| <attr name="windowReturnTransition" format="reference"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move Views out of the Window's content Scene when launching a new Activity. |
| Corresponds to |
| {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> |
| <attr name="windowExitTransition" format="reference"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move Views in to the scene when returning from a previously-started Activity. |
| Corresponds to |
| {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> |
| <attr name="windowReenterTransition" format="reference"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move shared elements transferred into the Window's initial content Scene. |
| Corresponds to {@link android.view.Window#setSharedElementEnterTransition( |
| android.transition.Transition)}. --> |
| <attr name="windowSharedElementEnterTransition" format="reference"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move shared elements transferred back to a calling Activity. |
| Corresponds to {@link android.view.Window#setSharedElementReturnTransition( |
| android.transition.Transition)}. --> |
| <attr name="windowSharedElementReturnTransition" format="reference"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used when starting a new Activity to move shared elements prior to transferring |
| to the called Activity. |
| Corresponds to {@link android.view.Window#setSharedElementExitTransition( |
| android.transition.Transition)}. --> |
| <attr name="windowSharedElementExitTransition" format="reference"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used for shared elements transferred back to a calling Activity. |
| Corresponds to {@link android.view.Window#setSharedElementReenterTransition( |
| android.transition.Transition)}. --> |
| <attr name="windowSharedElementReenterTransition" format="reference"/> |
| |
| <!-- Flag indicating whether this Window's transition should overlap with |
| the exiting transition of the calling Activity. Corresponds to |
| {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. |
| The default value is true. --> |
| <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> |
| |
| <!-- Flag indicating whether this Window's transition should overlap with |
| the exiting transition of the called Activity when the called Activity |
| finishes. Corresponds to |
| {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. |
| The default value is true. --> |
| <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> |
| |
| <!-- Indicates whether or not shared elements should use an overlay |
| during transitions. The default value is true. --> |
| <attr name="windowSharedElementsUseOverlay" format="boolean"/> |
| |
| <!-- Internal layout used internally for window decor --> |
| <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> |
| |
| <!-- The duration, in milliseconds, of the window background fade duration |
| when transitioning into or away from an Activity when called with an |
| Activity Transition. Corresponds to |
| {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> |
| <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> |
| |
| <!-- ============ --> |
| <!-- Floating toolbar styles --> |
| <!-- ============ --> |
| <eat-comment /> |
| <attr name="floatingToolbarCloseDrawable" format="reference" /> |
| <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" /> |
| <attr name="floatingToolbarItemBackgroundDrawable" format="reference" /> |
| <attr name="floatingToolbarOpenDrawable" format="reference" /> |
| <attr name="floatingToolbarDividerColor" format="reference" /> |
| |
| <!-- ============ --> |
| <!-- Alert Dialog styles --> |
| <!-- ============ --> |
| <eat-comment /> |
| <attr name="alertDialogStyle" format="reference" /> |
| <attr name="alertDialogButtonGroupStyle" format="reference" /> |
| <attr name="alertDialogCenterButtons" format="boolean" /> |
| |
| <!-- ============== --> |
| <!-- Image elements --> |
| <!-- ============== --> |
| <eat-comment /> |
| |
| <!-- Background that can be used behind parts of a UI that provide |
| details on data the user is selecting. For example, this is |
| the background element of PreferenceActivity's embedded |
| preference fragment. --> |
| <attr name="detailsElementBackground" format="reference" /> |
| |
| <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan. |
| This should be used whenever an app is requesting the user to place a finger on the |
| fingerprint sensor. It can be combined with other drawables such as colored circles, so |
| the appearance matches the branding of the app requesting the fingerprint scan.--> |
| <attr name="fingerprintAuthDrawable" format="reference" /> |
| |
| <!-- ============ --> |
| <!-- Panel styles --> |
| <!-- ============ --> |
| <eat-comment /> |
| |
| <!-- The background of a panel when it is inset from the left and right edges of the screen. --> |
| <attr name="panelBackground" format="reference|color" /> |
| <!-- The background of a panel when it extends to the left and right edges of the screen. --> |
| <attr name="panelFullBackground" format="reference|color" /> |
| <!-- Default color of foreground panel imagery. --> |
| <attr name="panelColorForeground" format="reference|color" /> |
| <!-- Color that matches (as closely as possible) the panel background. --> |
| <attr name="panelColorBackground" format="reference|color" /> |
| <!-- Default appearance of panel text. --> |
| <attr name="panelTextAppearance" format="reference" /> |
| |
| <attr name="panelMenuIsCompact" format="boolean" /> |
| <attr name="panelMenuListWidth" format="dimension" /> |
| <attr name="panelMenuListTheme" format="reference" /> |
| |
| <!-- =================== --> |
| <!-- Other widget styles --> |
| <!-- =================== --> |
| <eat-comment /> |
| |
| <!-- Default AbsListView style. --> |
| <attr name="absListViewStyle" format="reference" /> |
| <!-- Default AutoCompleteTextView style. --> |
| <attr name="autoCompleteTextViewStyle" format="reference" /> |
| <!-- Default Checkbox style. --> |
| <attr name="checkboxStyle" format="reference" /> |
| <!-- Default CheckedTextView style. --> |
| <attr name="checkedTextViewStyle" format="reference" /> |
| <!-- Default ListView style for drop downs. --> |
| <attr name="dropDownListViewStyle" format="reference" /> |
| <!-- Default EditText style. --> |
| <attr name="editTextStyle" format="reference" /> |
| <!-- Default ExpandableListView style. --> |
| <attr name="expandableListViewStyle" format="reference" /> |
| <!-- ExpandableListView with white background. --> |
| <attr name="expandableListViewWhiteStyle" format="reference" /> |
| <!-- Default Gallery style. --> |
| <attr name="galleryStyle" format="reference" /> |
| <!-- Default GestureOverlayView style. --> |
| <attr name="gestureOverlayViewStyle" format="reference" /> |
| <!-- Default GridView style. --> |
| <attr name="gridViewStyle" format="reference" /> |
| <!-- The style resource to use for an ImageButton. --> |
| <attr name="imageButtonStyle" format="reference" /> |
| <!-- The style resource to use for an ImageButton that is an image well. --> |
| <attr name="imageWellStyle" format="reference" /> |
| <!-- Default menu-style ListView style. --> |
| <attr name="listMenuViewStyle" format="reference" /> |
| <!-- Default ListView style. --> |
| <attr name="listViewStyle" format="reference" /> |
| <!-- ListView with white background. --> |
| <attr name="listViewWhiteStyle" format="reference" /> |
| <!-- Default PopupWindow style. --> |
| <attr name="popupWindowStyle" format="reference" /> |
| <!-- Default ProgressBar style. This is a medium circular progress bar. --> |
| <attr name="progressBarStyle" format="reference" /> |
| <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> |
| <attr name="progressBarStyleHorizontal" format="reference" /> |
| <!-- Small ProgressBar style. This is a small circular progress bar. --> |
| <attr name="progressBarStyleSmall" format="reference" /> |
| <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> |
| <attr name="progressBarStyleSmallTitle" format="reference" /> |
| <!-- Large ProgressBar style. This is a large circular progress bar. --> |
| <attr name="progressBarStyleLarge" format="reference" /> |
| <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> |
| <attr name="progressBarStyleInverse" format="reference" /> |
| <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> |
| <attr name="progressBarStyleSmallInverse" format="reference" /> |
| <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> |
| <attr name="progressBarStyleLargeInverse" format="reference" /> |
| <!-- Default SeekBar style. --> |
| <attr name="seekBarStyle" format="reference" /> |
| <!-- Default RatingBar style. --> |
| <attr name="ratingBarStyle" format="reference" /> |
| <!-- Indicator RatingBar style. --> |
| <attr name="ratingBarStyleIndicator" format="reference" /> |
| <!-- Small indicator RatingBar style. --> |
| <attr name="ratingBarStyleSmall" format="reference" /> |
| <!-- Default RadioButton style. --> |
| <attr name="radioButtonStyle" format="reference" /> |
| <!-- Default ScrollView style. --> |
| <attr name="scrollViewStyle" format="reference" /> |
| <!-- Default HorizontalScrollView style. --> |
| <attr name="horizontalScrollViewStyle" format="reference" /> |
| <!-- Default Spinner style. --> |
| <attr name="spinnerStyle" format="reference" /> |
| <!-- Default dropdown Spinner style. --> |
| <attr name="dropDownSpinnerStyle" format="reference" /> |
| <!-- Default ActionBar dropdown style. --> |
| <attr name="actionDropDownStyle" format="reference" /> |
| <!-- Default action button style. --> |
| <attr name="actionButtonStyle" format="reference" /> |
| <!-- Default Star style. --> |
| <attr name="starStyle" format="reference" /> |
| <!-- Default TabWidget style. --> |
| <attr name="tabWidgetStyle" format="reference" /> |
| <!-- Default TextView style. --> |
| <attr name="textViewStyle" format="reference" /> |
| <!-- Default WebTextView style. --> |
| <attr name="webTextViewStyle" format="reference" /> |
| <!-- Default WebView style. --> |
| <attr name="webViewStyle" format="reference" /> |
| <!-- Default style for drop down items. --> |
| <attr name="dropDownItemStyle" format="reference" /> |
| <!-- Default style for spinner drop down items. --> |
| <attr name="spinnerDropDownItemStyle" format="reference" /> |
| <!-- Default style for drop down hints. --> |
| <attr name="dropDownHintAppearance" format="reference" /> |
| <!-- Default spinner item style. --> |
| <attr name="spinnerItemStyle" format="reference" /> |
| <!-- Default MapView style. --> |
| <attr name="mapViewStyle" format="reference" /> |
| <!-- Drawable used as an overlay on top of quickcontact photos. --> |
| <attr name="quickContactBadgeOverlay" format="reference" /> |
| <!-- Default quickcontact badge style with small quickcontact window. --> |
| <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> |
| <!-- Default quickcontact badge style with medium quickcontact window. --> |
| <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> |
| <!-- Default quickcontact badge style with large quickcontact window. --> |
| <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> |
| <!-- Default quickcontact badge style with small quickcontact window. --> |
| <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> |
| <!-- Default quickcontact badge style with medium quickcontact window. --> |
| <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> |
| <!-- Default quickcontact badge style with large quickcontact window. --> |
| <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> |
| <!-- Reference to a style that will be used for the window containing a text |
| selection anchor. --> |
| <attr name="textSelectHandleWindowStyle" format="reference" /> |
| <!-- Reference to a style that will be used for the window containing a list of possible |
| text suggestions in an EditText. --> |
| <attr name="textSuggestionsWindowStyle" format="reference" /> |
| <!-- Default ListPopupWindow style. --> |
| <attr name="listPopupWindowStyle" format="reference" /> |
| <!-- Default PopupMenu style. --> |
| <attr name="popupMenuStyle" format="reference" /> |
| <!-- Default context menu PopupMenu style. --> |
| <attr name="contextPopupMenuStyle" format="reference" /> |
| <!-- Default StackView style. --> |
| <attr name="stackViewStyle" format="reference" /> |
| <!-- Magnifier style. --> |
| <attr name="magnifierStyle" format="reference" /> |
| |
| <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated |
| starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> |
| <attr name="fragmentBreadCrumbsStyle" format="reference" /> |
| |
| <!-- NumberPicker style. --> |
| <attr name="numberPickerStyle" format="reference" /> |
| |
| <!-- The CalendarView style. --> |
| <attr name="calendarViewStyle" format="reference" /> |
| |
| <!-- The TimePicker style. --> |
| <attr name="timePickerStyle" format="reference" /> |
| |
| <!-- The TimePicker dialog theme. --> |
| <attr name="timePickerDialogTheme" format="reference" /> |
| |
| <!-- The DatePicker style. --> |
| <attr name="datePickerStyle" format="reference" /> |
| |
| <!-- The DatePicker dialog theme. --> |
| <attr name="datePickerDialogTheme" format="reference" /> |
| |
| <!-- Default ActivityChooserView style. --> |
| <attr name="activityChooserViewStyle" format="reference" /> |
| |
| <!-- Default Toolbar style. --> |
| <attr name="toolbarStyle" format="reference" /> |
| |
| <!-- Fast scroller styles --> |
| <eat-comment /> |
| |
| <!-- Drawable to use as the fast scroll thumb. --> |
| <attr name="fastScrollThumbDrawable" format="reference" /> |
| <!-- Drawable to use as the fast scroll index preview window background |
| when shown on the right. --> |
| <attr name="fastScrollPreviewBackgroundRight" format="reference" /> |
| <!-- Drawable to use as the fast scroll index preview window background |
| when shown on the left. --> |
| <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> |
| <!-- Drawable to use as the track for the fast scroll thumb. |
| This may be null. --> |
| <attr name="fastScrollTrackDrawable" format="reference" /> |
| <!-- Position of the fast scroll index overlay window. --> |
| <attr name="fastScrollOverlayPosition"> |
| <enum name="floating" value="0" /> |
| <enum name="atThumb" value="1" /> |
| <enum name="aboveThumb" value="2" /> |
| </attr> |
| <!-- Text color for the fast scroll index overlay. Make sure it |
| plays nicely with fastScrollPreviewBackground[Left|Right]. --> |
| <attr name="fastScrollTextColor" format="color" /> |
| |
| <!-- =================== --> |
| <!-- Action bar styles --> |
| <!-- =================== --> |
| <eat-comment /> |
| <!-- Default style for tabs within an action bar. --> |
| <attr name="actionBarTabStyle" format="reference" /> |
| <!-- Reference to a style for the Action Bar Tab Bar. --> |
| <attr name="actionBarTabBarStyle" format="reference" /> |
| <!-- Reference to a style for the Action Bar Tab text. --> |
| <attr name="actionBarTabTextStyle" format="reference" /> |
| <!-- Reference to a style for Action Bar overflow buttons. --> |
| <attr name="actionOverflowButtonStyle" format="reference" /> |
| <!-- Reference to a style for the Action Bar menu. --> |
| <attr name="actionOverflowMenuStyle" format="reference" /> |
| <!-- Reference to a theme that should be used to inflate popups |
| shown by widgets in the action bar. --> |
| <attr name="actionBarPopupTheme" format="reference" /> |
| <!-- Reference to a style for the Action Bar. --> |
| <attr name="actionBarStyle" format="reference" /> |
| <!-- Reference to a style for the split Action Bar. This style |
| controls the split component that holds the menu/action |
| buttons. actionBarStyle is still used for the primary |
| bar. --> |
| <attr name="actionBarSplitStyle" format="reference" /> |
| <!-- Reference to a theme that should be used to inflate the |
| action bar. This will be inherited by any widget inflated |
| into the action bar. --> |
| <attr name="actionBarTheme" format="reference" /> |
| <!-- Reference to a theme that should be used to inflate widgets |
| and layouts destined for the action bar. Most of the time |
| this will be a reference to the current theme, but when |
| the action bar has a significantly different contrast |
| profile than the rest of the activity the difference |
| can become important. If this is set to @null the current |
| theme will be used.--> |
| <attr name="actionBarWidgetTheme" format="reference" /> |
| <!-- Size of the Action Bar, including the contextual |
| bar used to present Action Modes. --> |
| <attr name="actionBarSize" format="dimension" > |
| <enum name="wrap_content" value="0" /> |
| </attr> |
| <!-- Custom divider drawable to use for elements in the action bar. --> |
| <attr name="actionBarDivider" format="reference" /> |
| <!-- Custom item state list drawable background for action bar items. --> |
| <attr name="actionBarItemBackground" format="reference" /> |
| <!-- TextAppearance style that will be applied to text that |
| appears within action menu items. --> |
| <attr name="actionMenuTextAppearance" format="reference" /> |
| <!-- Color for text that appears within action menu items. --> |
| <attr name="actionMenuTextColor" format="color|reference" /> |
| |
| <!-- =================== --> |
| <!-- Action mode styles --> |
| <!-- =================== --> |
| <eat-comment /> |
| <!-- Reference to a style for the Action Mode. --> |
| <attr name="actionModeStyle" format="reference" /> |
| <!-- Reference to a style for the Action Mode close button. --> |
| <attr name="actionModeCloseButtonStyle" format="reference" /> |
| <!-- Background drawable to use for action mode UI. --> |
| <attr name="actionModeBackground" format="reference" /> |
| <!-- Background drawable to use for action mode UI in the lower split bar. --> |
| <attr name="actionModeSplitBackground" format="reference" /> |
| <!-- Drawable to use for the close action mode button. --> |
| <attr name="actionModeCloseDrawable" format="reference" /> |
| |
| <!-- Drawable to use for the Cut action button in Contextual Action Bar. --> |
| <attr name="actionModeCutDrawable" format="reference" /> |
| <!-- Drawable to use for the Copy action button in Contextual Action Bar. --> |
| <attr name="actionModeCopyDrawable" format="reference" /> |
| <!-- Drawable to use for the Paste action button in Contextual Action Bar. --> |
| <attr name="actionModePasteDrawable" format="reference" /> |
| <!-- Drawable to use for the Select all action button in Contextual Action Bar. --> |
| <attr name="actionModeSelectAllDrawable" format="reference" /> |
| <!-- Drawable to use for the Share action button in WebView selection action modes. --> |
| <attr name="actionModeShareDrawable" format="reference" /> |
| <!-- Drawable to use for the Find action button in WebView selection action modes. --> |
| <attr name="actionModeFindDrawable" format="reference" /> |
| <!-- Drawable to use for the Web Search action button in WebView selection action modes. --> |
| <attr name="actionModeWebSearchDrawable" format="reference" /> |
| <!-- Drawable to use for the Undo action button in WebView selection action modes. --> |
| <attr name="actionModeUndoDrawable" format="reference" /> |
| <!-- Drawable to use for the Redo action button in WebView selection action modes. --> |
| <attr name="actionModeRedoDrawable" format="reference" /> |
| |
| <!-- PopupWindow style to use for action modes when showing as a window overlay. --> |
| <attr name="actionModePopupWindowStyle" format="reference" /> |
| |
| <!-- =================== --> |
| <!-- Preference styles --> |
| <!-- =================== --> |
| <eat-comment /> |
| |
| <!-- Default style for PreferenceScreen. --> |
| <attr name="preferenceScreenStyle" format="reference" /> |
| <!-- Default style for the PreferenceActivity. --> |
| <attr name="preferenceActivityStyle" format="reference" /> |
| <!-- Default style for Headers pane in PreferenceActivity. --> |
| <attr name="preferenceFragmentStyle" format="reference" /> |
| <!-- Default style for PreferenceCategory. --> |
| <attr name="preferenceCategoryStyle" format="reference" /> |
| <!-- Default style for Preference. --> |
| <attr name="preferenceStyle" format="reference" /> |
| <!-- Default style for informational Preference. --> |
| <attr name="preferenceInformationStyle" format="reference" /> |
| <!-- Default style for CheckBoxPreference. --> |
| <attr name="checkBoxPreferenceStyle" format="reference" /> |
| <!-- Default style for YesNoPreference. --> |
| <attr name="yesNoPreferenceStyle" format="reference" /> |
| <!-- Default style for DialogPreference. --> |
| <attr name="dialogPreferenceStyle" format="reference" /> |
| <!-- Default style for EditTextPreference. --> |
| <attr name="editTextPreferenceStyle" format="reference" /> |
| <!-- @hide Default style for SeekBarDialogPreference. --> |
| <attr name="seekBarDialogPreferenceStyle" format="reference" /> |
| <!-- Default style for RingtonePreference. --> |
| <attr name="ringtonePreferenceStyle" format="reference" /> |
| <!-- The preference layout that has the child/tabbed effect. --> |
| <attr name="preferenceLayoutChild" format="reference" /> |
| <!-- Preference panel style --> |
| <attr name="preferencePanelStyle" format="reference" /> |
| <!-- Preference headers panel style --> |
| <attr name="preferenceHeaderPanelStyle" format="reference" /> |
| <!-- Preference list style --> |
| <attr name="preferenceListStyle" format="reference" /> |
| <!-- Preference fragment list style --> |
| <attr name="preferenceFragmentListStyle" format="reference" /> |
| <!-- Preference fragment padding side --> |
| <attr name="preferenceFragmentPaddingSide" format="dimension" /> |
| <!-- Default style for switch preferences. --> |
| <attr name="switchPreferenceStyle" format="reference" /> |
| <!-- Default style for seekbar preferences. --> |
| <attr name="seekBarPreferenceStyle" format="reference" /> |
| |
| <!-- ============================ --> |
| <!-- Text selection handle styles --> |
| <!-- ============================ --> |
| <eat-comment /> |
| |
| <!-- Reference to a drawable that will be used to display a text selection |
| anchor on the left side of a selection region. --> |
| <attr name="textSelectHandleLeft" format="reference" /> |
| <!-- Reference to a drawable that will be used to display a text selection |
| anchor on the right side of a selection region. --> |
| <attr name="textSelectHandleRight" format="reference" /> |
| <!-- Reference to a drawable that will be used to display a text selection |
| anchor for positioning the cursor within text. --> |
| <attr name="textSelectHandle" format="reference" /> |
| <!-- The layout of the view that is displayed on top of the cursor to paste inside a |
| TextEdit field. --> |
| <attr name="textEditPasteWindowLayout" format="reference" /> |
| <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> |
| <attr name="textEditNoPasteWindowLayout" format="reference" /> |
| <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the |
| insertion cursor because it would be clipped if it were positioned on top. --> |
| <attr name="textEditSidePasteWindowLayout" format="reference" /> |
| <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> |
| <attr name="textEditSideNoPasteWindowLayout" format="reference" /> |
| |
| <!-- Layout of the TextView item that will populate the suggestion popup window. --> |
| <attr name="textEditSuggestionItemLayout" format="reference" /> |
| <!-- Layout of the container of the suggestion popup window. --> |
| <attr name="textEditSuggestionContainerLayout" format="reference" /> |
| <!-- Text appearance of the focused words to be replaced by suggested word. --> |
| <attr name="textEditSuggestionHighlightStyle" format="reference" /> |
| |
| <!-- Theme to use for dialogs spawned from this theme. --> |
| <attr name="dialogTheme" format="reference" /> |
| <!-- Window decor layout to use in dialog mode with icons. --> |
| <attr name="dialogTitleIconsDecorLayout" format="reference" /> |
| <!-- Window decor layout to use in dialog mode with custom titles. --> |
| <attr name="dialogCustomTitleDecorLayout" format="reference" /> |
| <!-- Window decor layout to use in dialog mode with title only. --> |
| <attr name="dialogTitleDecorLayout" format="reference" /> |
| <!-- Preferred padding for dialog content. --> |
| <attr name="dialogPreferredPadding" format="dimension" /> |
| <!-- Corner radius of dialogs. --> |
| <attr name="dialogCornerRadius" format="dimension" /> |
| |
| <!-- Theme to use for alert dialogs spawned from this theme. --> |
| <attr name="alertDialogTheme" format="reference" /> |
| <!-- Icon drawable to use for alerts. --> |
| <attr name="alertDialogIcon" format="reference" /> |
| |
| <!-- Theme to use for presentations spawned from this theme. --> |
| <attr name="presentationTheme" format="reference" /> |
| |
| <!-- Drawable to use for generic vertical dividers. --> |
| <attr name="dividerVertical" format="reference" /> |
| |
| <!-- Drawable to use for generic horizontal dividers. --> |
| <attr name="dividerHorizontal" format="reference" /> |
| |
| <!-- Style for button bars. --> |
| <attr name="buttonBarStyle" format="reference" /> |
| |
| <!-- Style for buttons within button bars. --> |
| <attr name="buttonBarButtonStyle" format="reference" /> |
| |
| <!-- Style for the "positive" buttons within button bars. --> |
| <attr name="buttonBarPositiveButtonStyle" format="reference" /> |
| |
| <!-- Style for the "negative" buttons within button bars. --> |
| <attr name="buttonBarNegativeButtonStyle" format="reference" /> |
| |
| <!-- Style for the "neutral" buttons within button bars. --> |
| <attr name="buttonBarNeutralButtonStyle" format="reference" /> |
| |
| <!-- Corner radius of buttons. --> |
| <attr name="buttonCornerRadius" format="dimension" /> |
| |
| <!-- Corner radius of progress bars. --> |
| <attr name="progressBarCornerRadius" format="dimension" /> |
| |
| <!-- Style for the search query widget. --> |
| <attr name="searchViewStyle" format="reference" /> |
| |
| <!-- Style for segmented buttons - a container that houses several buttons |
| with the appearance of a singel button broken into segments. --> |
| <attr name="segmentedButtonStyle" format="reference" /> |
| |
| <!-- Background drawable for bordered standalone items that need focus/pressed states. --> |
| <attr name="selectableItemBackground" format="reference" /> |
| |
| <!-- Background drawable for borderless standalone items that need focus/pressed states. --> |
| <attr name="selectableItemBackgroundBorderless" format="reference" /> |
| |
| <!-- Style for buttons without an explicit border, often used in groups. --> |
| <attr name="borderlessButtonStyle" format="reference" /> |
| |
| <!-- Background to use for toasts. --> |
| <attr name="toastFrameBackground" format="reference" /> |
| |
| <!-- Background to use for tooltip popups. --> |
| <attr name="tooltipFrameBackground" format="reference" /> |
| |
| <!-- Foreground color to use for tooltip popups. --> |
| <attr name="tooltipForegroundColor" format="reference|color" /> |
| |
| <!-- Background color to use for tooltip popups. --> |
| <attr name="tooltipBackgroundColor" format="reference|color" /> |
| |
| <!-- Theme to use for Search Dialogs. --> |
| <attr name="searchDialogTheme" format="reference" /> |
| |
| <!-- Specifies a drawable to use for the 'home as up' indicator. --> |
| <attr name="homeAsUpIndicator" format="reference" /> |
| |
| <!-- Preference frame layout styles. --> |
| <attr name="preferenceFrameLayoutStyle" format="reference" /> |
| |
| <!-- Default style for the Switch widget. --> |
| <attr name="switchStyle" format="reference" /> |
| |
| <!-- Default style for the MediaRouteButton widget. --> |
| <attr name="mediaRouteButtonStyle" format="reference" /> |
| |
| <!-- ============== --> |
| <!-- Pointer styles --> |
| <!-- ============== --> |
| <eat-comment /> |
| |
| <!-- The drawable for accessibility focused views. --> |
| <attr name="accessibilityFocusedDrawable" format="reference" /> |
| |
| <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> |
| <attr name="findOnPageNextDrawable" format="reference" /> |
| |
| <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> |
| <attr name="findOnPagePreviousDrawable" format="reference" /> |
| |
| <!-- ============= --> |
| <!-- Color palette --> |
| <!-- ============= --> |
| <eat-comment /> |
| |
| <!-- The primary branding color for the app. By default, this is the color applied to the |
| action bar background. --> |
| <attr name="colorPrimary" format="color" /> |
| |
| <!-- Dark variant of the primary branding color. By default, this is the color applied to |
| the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> |
| <attr name="colorPrimaryDark" format="color" /> |
| |
| <!-- The secondary branding color for the app. --> |
| <attr name="colorSecondary" format="color" /> |
| |
| <!-- Bright complement to the primary branding color. By default, this is the color applied |
| to framework controls (via colorControlActivated). --> |
| <attr name="colorAccent" format="color" /> |
| |
| <!-- Light accent color used on Material NEXT buttons. @hide --> |
| <attr name="colorAccentPrimary" format="color" /> |
| |
| <!-- Secondary accent color used on Material NEXT buttons. @hide --> |
| <attr name="colorAccentSecondary" format="color" /> |
| |
| <!-- Tertiary accent color used on Material NEXT buttons. @hide --> |
| <attr name="colorAccentTertiary" format="color" /> |
| |
| <!-- Darker accent color used on Material NEXT buttons. @hide --> |
| <attr name="colorAccentPrimaryVariant" format="color" /> |
| |
| <!-- Text color used on top of Material NEXT accent colors. @hide --> |
| <attr name="textColorOnAccent" format="color" /> |
| |
| <!-- Secondary darker accent color used on Material NEXT buttons. @hide --> |
| <attr name="colorAccentSecondaryVariant" format="color" /> |
| |
| <!-- Tertiary darker accent color used on Material NEXT buttons. @hide --> |
| <attr name="colorAccentTertiaryVariant" format="color" /> |
| |
| <!-- The color applied to framework controls in their normal state. --> |
| <attr name="colorControlNormal" format="color" /> |
| |
| <!-- The color applied to framework controls in their activated (ex. checked) state. --> |
| <attr name="colorControlActivated" format="color" /> |
| |
| <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> |
| <attr name="colorControlHighlight" format="color" /> |
| |
| <!-- The color applied to framework buttons in their normal state. --> |
| <attr name="colorButtonNormal" format="color" /> |
| |
| <!-- The color applied to framework switch thumbs in their normal state. --> |
| <attr name="colorSwitchThumbNormal" format="color" /> |
| |
| <!-- The color applied to framework progress and seek bar backgrounds in their normal state. --> |
| <attr name="colorProgressBackgroundNormal" format="color" /> |
| |
| <!-- The color applied to the edge effect on scrolling containers. --> |
| <attr name="colorEdgeEffect" format="color" /> |
| |
| <!-- The color applied to surfaces on top of colorBackground. @hide --> |
| <attr name="colorSurface" format="color" /> |
| |
| <!-- Alternative color applied to surfaces on top of colorBackground. @hide --> |
| <attr name="colorSurfaceHighlight" format="color" /> |
| |
| <!-- Alternative color applied to surfaces on top of colorBackground. @hide --> |
| <attr name="colorSurfaceVariant" format="color" /> |
| |
| <!-- Alternative color applied to surfaces on top of colorBackground. @hide --> |
| <attr name="colorSurfaceHeader" format="color" /> |
| |
| <!-- Color applied to effects. --> |
| <attr name="effectColor" format="color" /> |
| |
| <!-- =================== --> |
| <!-- Lighting properties --> |
| <!-- =================== --> |
| <eat-comment /> |
| |
| <!-- @hide The default Y position of the light used to project view shadows. --> |
| <attr name="lightY" format="dimension" /> |
| |
| <!-- @hide The default Z position of the light used to project view shadows. --> |
| <attr name="lightZ" format="dimension" /> |
| |
| <!-- @hide The default radius of the light used to project view shadows. --> |
| <attr name="lightRadius" format="dimension" /> |
| |
| <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> |
| <attr name="ambientShadowAlpha" format="float" /> |
| |
| <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> |
| <attr name="spotShadowAlpha" format="float" /> |
| |
| <!-- <p>Whether or not the force dark feature is allowed to be applied to this theme. |
| <p>Setting this to false will disable the auto-dark feature on everything this |
| theme is applied to along with anything drawn by any children of views using |
| this theme. |
| <p>Setting this to true will allow this view to be automatically made dark, however |
| a value of 'true' will not override any 'false' value in its parent chain nor will |
| it prevent any 'false' in any of its children. --> |
| <attr name="forceDarkAllowed" format="boolean" /> |
| |
| <!-- A lower-emphasized variant of the color on the fixed secondary branding color. @hide |
| --> |
| <attr name="materialColorOnSecondaryFixedVariant" format="color"/> |
| <!-- A lower-emphasized variant of the color on the fixed tertiary branding color. @hide |
| --> |
| <attr name="materialColorOnTertiaryFixedVariant" format="color"/> |
| <!-- The container color of surface the most lowered. @hide --> |
| <attr name="materialColorSurfaceContainerLowest" format="color"/> |
| <!-- A lower-emphasized variant of the color on the fixed primary branding color. @hide --> |
| <attr name="materialColorOnPrimaryFixedVariant" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| the secondary container color. @hide --> |
| <attr name="materialColorOnSecondaryContainer" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| the tertiary container color. @hide --> |
| <attr name="materialColorOnTertiaryContainer" format="color"/> |
| <!-- The container color of surface slightly lowered, which replaces the previous surface |
| at elevation level 1. @hide --> |
| <attr name="materialColorSurfaceContainerLow" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| the primary container color. @hide --> |
| <attr name="materialColorOnPrimaryContainer" format="color"/> |
| <!-- A stronger, more emphasized variant of the fixed secondary branding color. @hide --> |
| <attr name="materialColorSecondaryFixedDim" format="color"/> |
| <!-- A tonal variation of the on error color that passes accessibility guidelines for |
| text/iconography when drawn on top of error container. @hide --> |
| <attr name="materialColorOnErrorContainer" format="color"/> |
| <!-- The color text/iconography when drawn on top of the fixed secondary branding color. |
| @hide --> |
| <attr name="materialColorOnSecondaryFixed" format="color"/> |
| <!-- The "on surface" inverse color, useful for inverted backgrounds. @hide --> |
| <attr name="materialColorOnSurfaceInverse" format="color"/> |
| <!-- A stronger, more emphasized variant of the fixed tertiary branding color. @hide --> |
| <attr name="materialColorTertiaryFixedDim" format="color"/> |
| <!-- The color text/iconography when drawn on top of the fixed tertiary branding color. |
| @hide --> |
| <attr name="materialColorOnTertiaryFixed" format="color"/> |
| <!-- A stronger, more emphasized variant of the fixed primary branding color. @hide --> |
| <attr name="materialColorPrimaryFixedDim" format="color"/> |
| <!-- A tonal variation of the secondary color suitable for background color of container |
| views. @hide --> |
| <attr name="materialColorSecondaryContainer" format="color"/> |
| <!-- A tonal variation of the error color suitable for background color of container views. |
| @hide --> |
| <attr name="materialColorErrorContainer" format="color"/> |
| <!-- The color text/iconography when drawn on top of the fixed primary branding color. |
| @hide --> |
| <attr name="materialColorOnPrimaryFixed" format="color"/> |
| <!-- The inverse color of colorPrimary. @hide --> |
| <attr name="materialColorPrimaryInverse" format="color"/> |
| <!-- A secondary branding color for the app, which stays the same between light and dark |
| themes. @hide --> |
| <attr name="materialColorSecondaryFixed" format="color"/> |
| <!-- The surface inverse color, useful for inverted backgrounds. @hide --> |
| <attr name="materialColorSurfaceInverse" format="color"/> |
| <!-- A tonal variation of the surface color. @hide --> |
| <attr name="materialColorSurfaceVariant" format="color"/> |
| <!-- A tonal variation of the tertiary color suitable for background color of container |
| views. @hide --> |
| <attr name="materialColorTertiaryContainer" format="color"/> |
| <!-- A tertiary branding color for the app, which stays the same between light and dark |
| themes. @hide --> |
| <attr name="materialColorTertiaryFixed" format="color"/> |
| <!-- A tonal variation of the primary color suitable for background color of container |
| views. @hide --> |
| <attr name="materialColorPrimaryContainer" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| background. @hide --> |
| <attr name="materialColorOnBackground" format="color"/> |
| <!-- A primary branding color for the app, which stays the same between light and dark |
| themes. @hide --> |
| <attr name="materialColorPrimaryFixed" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| secondary. @hide --> |
| <attr name="materialColorOnSecondary" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| tertiary. @hide --> |
| <attr name="materialColorOnTertiary" format="color"/> |
| <!-- The surface color which always stay the dimmest in either dark or light theme. @hide |
| --> |
| <attr name="materialColorSurfaceDim" format="color"/> |
| <!-- The surface color which always stay the brightest in either dark or light theme. @hide |
| --> |
| <attr name="materialColorSurfaceBright" format="color"/> |
| <!-- The secondary branding color for the app, usually a bright complement to the primary |
| branding color. @hide --> |
| <attr name="materialColorSecondary" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| error. @hide --> |
| <attr name="materialColorOnError" format="color"/> |
| <!-- The color of surfaces such as cards, sheets, menus. @hide --> |
| <attr name="materialColorSurface" format="color"/> |
| <!-- The container color of surface slightly elevated, which replaces the previous surface |
| at elevation level 3. @hide --> |
| <attr name="materialColorSurfaceContainerHigh" format="color"/> |
| <!-- The tertiary branding color for the app, usually a bright complement to the primary |
| branding color. @hide --> |
| <attr name="materialColorTertiary" format="color"/> |
| <!-- The container color of surface the most elevated, which replaces the previous surface |
| variant. @hide --> |
| <attr name="materialColorSurfaceContainerHighest" format="color"/> |
| <!-- A tonal variation of the on surface color that passes accessibility guidelines for |
| text/iconography when drawn on top of surface variant. @hide --> |
| <attr name="materialColorOnSurfaceVariant" format="color"/> |
| <!-- A color meant to be used in element outlines. @hide --> |
| <attr name="materialColorOutline" format="color"/> |
| <!-- A color meant to be used in element outlines on the surface-variant color. @hide --> |
| <attr name="materialColorOutlineVariant" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| primary. @hide --> |
| <attr name="materialColorOnPrimary" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top of |
| surface. @hide --> |
| <attr name="materialColorOnSurface" format="color"/> |
| <!-- The container color of surface, which replaces the previous surface at elevation level |
| 2. @hide --> |
| <attr name="materialColorSurfaceContainer" format="color"/> |
| <!-- The container color of surface, which replaces the previous surface at elevation level |
| 2. @hide --> |
| <attr name="materialColorSurfaceContainer" format="color"/> |
| <!-- The primary branding color for the app. By default, this is the color applied to the |
| action bar background. @hide --> |
| <attr name="materialColorPrimary" format="color"/> |
| <!-- The secondary branding color for the app, usually a bright complement to the primary |
| branding color. @hide --> |
| <attr name="materialColorSecondary" format="color"/> |
| <!-- A color that passes accessibility guidelines for text/iconography when drawn on top |
| of tertiary. @hide --> |
| <attr name="materialColorTertiary" format="color"/> |
| <!-- The error color for the app, intended to draw attention to error conditions. @hide --> |
| <attr name="materialColorError" format="color"/> |
| |
| <!-- System Custom Tokens--> |
| <!-- @hide --> |
| <attr name="customColorWidgetBackground" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorClockHour" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorClockMinute" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorClockSecond" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorThemeApp" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorOnThemeApp" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorThemeAppRing" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorOnThemeAppRing" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorBrandA" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorBrandB" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorBrandC" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorBrandD" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorUnderSurface" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorShadeActive" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorOnShadeActive" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorOnShadeActiveVariant" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorShadeInactive" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorOnShadeInactive" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorOnShadeInactiveVariant" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorShadeDisabled" format="color"/> |
| <!-- @hide --> |
| <attr name="customColorOverviewBackground" format="color"/> |
| |
| </declare-styleable> |
| |
| <!-- **************************************************************** --> |
| <!-- Other non-theme attributes. --> |
| <!-- **************************************************************** --> |
| <eat-comment /> |
| |
| <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). |
| Supported values include the following:<p/> |
| <ul> |
| <li><b>px</b> Pixels</li> |
| <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> |
| <li><b>pt</b> Points</li> |
| <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> |
| </ul> |
| --> |
| <attr name="textSize" format="dimension" /> |
| |
| <!-- Default font family. --> |
| <attr name="fontFamily" format="string" /> |
| |
| <!-- Default text typeface. --> |
| <attr name="typeface"> |
| <enum name="normal" value="0" /> |
| <enum name="sans" value="1" /> |
| <enum name="serif" value="2" /> |
| <enum name="monospace" value="3" /> |
| </attr> |
| |
| <!-- Default text typeface style. --> |
| <attr name="textStyle"> |
| <flag name="normal" value="0" /> |
| <flag name="bold" value="1" /> |
| <flag name="italic" value="2" /> |
| </attr> |
| |
| <!-- Color of text (usually same as colorForeground). --> |
| <attr name="textColor" format="reference|color" /> |
| |
| <!-- Color of highlighted text. --> |
| <attr name="textColorHighlight" format="reference|color" /> |
| |
| <!-- Color of hint text (displayed when the field is empty). --> |
| <attr name="textColorHint" format="reference|color" /> |
| |
| <!-- Color of link text (URLs). --> |
| <attr name="textColorLink" format="reference|color" /> |
| |
| <!-- Reference to a drawable that will be drawn under the insertion cursor. --> |
| <attr name="textCursorDrawable" format="reference" /> |
| |
| <!-- Indicates that the content of a non-editable TextView can be selected. |
| Default value is false. EditText content is always selectable. --> |
| <attr name="textIsSelectable" format="boolean" /> |
| |
| <!-- Where to ellipsize text. --> |
| <attr name="ellipsize"> |
| <enum name="none" value="0" /> |
| <enum name="start" value="1" /> |
| <enum name="middle" value="2" /> |
| <enum name="end" value="3" /> |
| <enum name="marquee" value="4" /> |
| </attr> |
| |
| <!-- The type of data being placed in a text field, used to help an |
| input method decide how to let the user enter text. The constants |
| here correspond to those defined by |
| {@link android.text.InputType}. Generally you can select |
| a single value, though some can be combined together as |
| indicated. Setting this attribute to anything besides |
| <var>none</var> also implies that the text is editable. --> |
| <attr name="inputType"> |
| <!-- There is no content type. The text is not editable. --> |
| <flag name="none" value="0x00000000" /> |
| <!-- Just plain old text. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> |
| <flag name="text" value="0x00000001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| request capitalization of all characters. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> |
| <flag name="textCapCharacters" value="0x00001001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| request capitalization of the first character of every word. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> |
| <flag name="textCapWords" value="0x00002001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| request capitalization of the first character of every sentence. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> |
| <flag name="textCapSentences" value="0x00004001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| request auto-correction of text being input. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> |
| <flag name="textAutoCorrect" value="0x00008001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| specify that this field will be doing its own auto-completion and |
| talking with the input method appropriately. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> |
| <flag name="textAutoComplete" value="0x00010001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| allow multiple lines of text in the field. If this flag is not set, |
| the text field will be constrained to a single line. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. |
| |
| Note: If this flag is not set and the text field doesn't have max length limit, the |
| framework automatically set maximum length of the characters to 5000 for the |
| performance reasons. |
| --> |
| <flag name="textMultiLine" value="0x00020001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| indicate that though the regular text view should not be multiple |
| lines, the IME should provide multiple lines if it can. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> |
| <flag name="textImeMultiLine" value="0x00040001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| indicate that the IME should not show any |
| dictionary-based word suggestions. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> |
| <flag name="textNoSuggestions" value="0x00080001" /> |
| <!-- Can be combined with <var>text</var> and its variations to |
| indicate that if there is extra information, the IME should provide |
| {@link android.view.inputmethod.TextAttribute}. Corresponds to |
| {@link android.text.InputType#TYPE_TEXT_FLAG_ENABLE_TEXT_CONVERSION_SUGGESTIONS}. --> |
| <flag name="textEnableTextConversionSuggestions" value="0x00100001" /> |
| <!-- Text that will be used as a URI. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> |
| <flag name="textUri" value="0x00000011" /> |
| <!-- Text that will be used as an e-mail address. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> |
| <flag name="textEmailAddress" value="0x00000021" /> |
| <!-- Text that is being supplied as the subject of an e-mail. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> |
| <flag name="textEmailSubject" value="0x00000031" /> |
| <!-- Text that is the content of a short message. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> |
| <flag name="textShortMessage" value="0x00000041" /> |
| <!-- Text that is the content of a long message. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> |
| <flag name="textLongMessage" value="0x00000051" /> |
| <!-- Text that is the name of a person. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> |
| <flag name="textPersonName" value="0x00000061" /> |
| <!-- Text that is being supplied as a postal mailing address. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> |
| <flag name="textPostalAddress" value="0x00000071" /> |
| <!-- Text that is a password. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> |
| <flag name="textPassword" value="0x00000081" /> |
| <!-- Text that is a password that should be visible. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> |
| <flag name="textVisiblePassword" value="0x00000091" /> |
| <!-- Text that is being supplied as text in a web form. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> |
| <flag name="textWebEditText" value="0x000000a1" /> |
| <!-- Text that is filtering some other data. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> |
| <flag name="textFilter" value="0x000000b1" /> |
| <!-- Text that is for phonetic pronunciation, such as a phonetic name |
| field in a contact entry. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> |
| <flag name="textPhonetic" value="0x000000c1" /> |
| <!-- Text that will be used as an e-mail address on a web form. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> |
| <flag name="textWebEmailAddress" value="0x000000d1" /> |
| <!-- Text that will be used as a password on a web form. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_TEXT} | |
| {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> |
| <flag name="textWebPassword" value="0x000000e1" /> |
| <!-- A numeric only field. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_NUMBER} | |
| {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> |
| <flag name="number" value="0x00000002" /> |
| <!-- Can be combined with <var>number</var> and its other options to |
| allow a signed number. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_NUMBER} | |
| {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> |
| <flag name="numberSigned" value="0x00001002" /> |
| <!-- Can be combined with <var>number</var> and its other options to |
| allow a decimal (fractional) number. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_NUMBER} | |
| {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> |
| <flag name="numberDecimal" value="0x00002002" /> |
| <!-- A numeric password field. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_NUMBER} | |
| {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> |
| <flag name="numberPassword" value="0x00000012" /> |
| <!-- For entering a phone number. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_PHONE}. --> |
| <flag name="phone" value="0x00000003" /> |
| <!-- For entering a date and time. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_DATETIME} | |
| {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> |
| <flag name="datetime" value="0x00000004" /> |
| <!-- For entering a date. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_DATETIME} | |
| {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> |
| <flag name="date" value="0x00000014" /> |
| <!-- For entering a time. Corresponds to |
| {@link android.text.InputType#TYPE_CLASS_DATETIME} | |
| {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> |
| <flag name="time" value="0x00000024" /> |
| </attr> |
| |
| <!-- Additional features you can enable in an IME associated with an editor |
| to improve the integration with your application. The constants |
| here correspond to those defined by |
| {@link android.view.inputmethod.EditorInfo#imeOptions}. --> |
| <attr name="imeOptions"> |
| <!-- There are no special semantics associated with this editor. --> |
| <flag name="normal" value="0x00000000" /> |
| <!-- There is no specific action associated with this editor, let the |
| editor come up with its own if it can. |
| Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> |
| <flag name="actionUnspecified" value="0x00000000" /> |
| <!-- This editor has no action associated with it. |
| Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> |
| <flag name="actionNone" value="0x00000001" /> |
| <!-- The action key performs a "go" |
| operation to take the user to the target of the text they typed. |
| Typically used, for example, when entering a URL. |
| Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> |
| <flag name="actionGo" value="0x00000002" /> |
| <!-- The action key performs a "search" |
| operation, taking the user to the results of searching for the text |
| the have typed (in whatever context is appropriate). |
| Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> |
| <flag name="actionSearch" value="0x00000003" /> |
| <!-- The action key performs a "send" |
| operation, delivering the text to its target. This is typically used |
| when composing a message. |
| Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> |
| <flag name="actionSend" value="0x00000004" /> |
| <!-- The action key performs a "next" |
| operation, taking the user to the next field that will accept text. |
| Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> |
| <flag name="actionNext" value="0x00000005" /> |
| <!-- The action key performs a "done" |
| operation, closing the soft input method. |
| Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> |
| <flag name="actionDone" value="0x00000006" /> |
| <!-- The action key performs a "previous" |
| operation, taking the user to the previous field that will accept text. |
| Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> |
| <flag name="actionPrevious" value="0x00000007" /> |
| <!-- Used to request that the IME should not update any personalized data such as typing |
| history and personalized language model based on what the user typed on this text |
| editing object. Typical use cases are: |
| <ul> |
| <li>When the application is in a special mode, where user's activities are expected |
| to be not recorded in the application's history. Some web browsers and chat |
| applications may have this kind of modes.</li> |
| <li>When storing typing history does not make much sense. Specifying this flag in |
| typing games may help to avoid typing history from being filled up with words that |
| the user is less likely to type in their daily life. Another example is that when |
| the application already knows that the expected input is not a valid word (e.g. a |
| promotion code that is not a valid word in any natural language).</li> |
| </ul> |
| <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may |
| not respect it.</p> --> |
| <flag name="flagNoPersonalizedLearning" value="0x1000000" /> |
| <!-- Used to request that the IME never go |
| into fullscreen mode. Applications need to be aware that the flag is not |
| a guarantee, and not all IMEs will respect it. |
| <p>Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> |
| <flag name="flagNoFullscreen" value="0x2000000" /> |
| <!-- Like flagNavigateNext, but |
| specifies there is something interesting that a backward navigation |
| can focus on. If the user selects the IME's facility to backward |
| navigate, this will show up in the application as an actionPrevious |
| at {@link android.view.inputmethod.InputConnection#performEditorAction(int) |
| InputConnection.performEditorAction(int)}. |
| <p>Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_PREVIOUS}. --> |
| <flag name="flagNavigatePrevious" value="0x4000000" /> |
| <!-- Used to specify that there is something |
| interesting that a forward navigation can focus on. This is like using |
| actionNext, except allows the IME to be multiline (with |
| an enter key) as well as provide forward navigation. Note that some |
| IMEs may not be able to do this, especially when running on a small |
| screen where there is little space. In that case it does not need to |
| present a UI for this option. Like actionNext, if the |
| user selects the IME's facility to forward navigate, this will show up |
| in the application at |
| {@link android.view.inputmethod.InputConnection#performEditorAction(int) |
| InputConnection.performEditorAction(int)}. |
| <p>Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> |
| <flag name="flagNavigateNext" value="0x8000000" /> |
| <!-- Used to specify that the IME does not need |
| to show its extracted text UI. For input methods that may be fullscreen, |
| often when in landscape mode, this allows them to be smaller and let part |
| of the application be shown behind. Though there will likely be limited |
| access to the application available from the user, it can make the |
| experience of a (mostly) fullscreen IME less jarring. Note that when |
| this flag is specified the IME may <em>not</em> be set up to be able |
| to display text, so it should only be used in situations where this is |
| not needed. |
| <p>Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> |
| <flag name="flagNoExtractUi" value="0x10000000" /> |
| <!-- Used in conjunction with a custom action, this indicates that the |
| action should not be available as an accessory button when the |
| input method is full-screen. |
| Note that by setting this flag, there can be cases where the action |
| is simply never available to the user. Setting this generally means |
| that you think showing text being edited is more important than the |
| action you have supplied. |
| <p>Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> |
| <flag name="flagNoAccessoryAction" value="0x20000000" /> |
| <!-- Used in conjunction with a custom action, |
| this indicates that the action should not be available in-line as |
| a replacement for the "enter" key. Typically this is |
| because the action has such a significant impact or is not recoverable |
| enough that accidentally hitting it should be avoided, such as sending |
| a message. Note that {@link android.widget.TextView} will |
| automatically set this flag for you on multi-line text views. |
| <p>Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> |
| <flag name="flagNoEnterAction" value="0x40000000" /> |
| <!-- Used to request that the IME should be capable of inputting ASCII |
| characters. The intention of this flag is to ensure that the user |
| can type Roman alphabet characters in a {@link android.widget.TextView} |
| used for, typically, account ID or password input. It is expected that IMEs |
| normally are able to input ASCII even without being told so (such IMEs |
| already respect this flag in a sense), but there could be some cases they |
| aren't when, for instance, only non-ASCII input languages like Arabic, |
| Greek, Hebrew, Russian are enabled in the IME. Applications need to be |
| aware that the flag is not a guarantee, and not all IMEs will respect it. |
| However, it is strongly recommended for IME authors to respect this flag |
| especially when their IME could end up with a state that has only non-ASCII |
| input languages enabled. |
| <p>Corresponds to |
| {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> |
| <flag name="flagForceAscii" value="0x80000000" /> |
| </attr> |
| |
| <!-- A coordinate in the X dimension. --> |
| <attr name="x" format="dimension" /> |
| <!-- A coordinate in the Y dimension. --> |
| <attr name="y" format="dimension" /> |
| |
| <!-- Specifies how an object should position its content, on both the X and Y axes, |
| within its own bounds. --> |
| <attr name="gravity"> |
| <!-- Push object to the top of its container, not changing its size. --> |
| <flag name="top" value="0x30" /> |
| <!-- Push object to the bottom of its container, not changing its size. --> |
| <flag name="bottom" value="0x50" /> |
| <!-- Push object to the left of its container, not changing its size. --> |
| <flag name="left" value="0x03" /> |
| <!-- Push object to the right of its container, not changing its size. --> |
| <flag name="right" value="0x05" /> |
| <!-- Place object in the vertical center of its container, not changing its size. --> |
| <flag name="center_vertical" value="0x10" /> |
| <!-- Grow the vertical size of the object if needed so it completely fills its container. --> |
| <flag name="fill_vertical" value="0x70" /> |
| <!-- Place object in the horizontal center of its container, not changing its size. --> |
| <flag name="center_horizontal" value="0x01" /> |
| <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> |
| <flag name="fill_horizontal" value="0x07" /> |
| <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> |
| <flag name="center" value="0x11" /> |
| <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> |
| <flag name="fill" value="0x77" /> |
| <!-- Additional option that can be set to have the top and/or bottom edges of |
| the child clipped to its container's bounds. |
| The clip will be based on the vertical gravity: a top gravity will clip the bottom |
| edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> |
| <flag name="clip_vertical" value="0x80" /> |
| <!-- Additional option that can be set to have the left and/or right edges of |
| the child clipped to its container's bounds. |
| The clip will be based on the horizontal gravity: a left gravity will clip the right |
| edge, a right gravity will clip the left edge, and neither will clip both edges. --> |
| <flag name="clip_horizontal" value="0x08" /> |
| <!-- Push object to the beginning of its container, not changing its size. --> |
| <flag name="start" value="0x00800003" /> |
| <!-- Push object to the end of its container, not changing its size. --> |
| <flag name="end" value="0x00800005" /> |
| </attr> |
| |
| <!-- Controls whether links such as urls and email addresses are |
| automatically found and converted to clickable links. The default |
| value is "none", disabling this feature. --> |
| <attr name="autoLink"> |
| <!-- Match no patterns (default). --> |
| <flag name="none" value="0x00" /> |
| <!-- Match Web URLs. --> |
| <flag name="web" value="0x01" /> |
| <!-- Match email addresses. --> |
| <flag name="email" value="0x02" /> |
| <!-- Match phone numbers. --> |
| <flag name="phone" value="0x04" /> |
| <!-- Match map addresses. |
| Deprecated: see {@link android.text.util.Linkify#MAP_ADDRESSES}. --> |
| <flag name="map" value="0x08" /> |
| <!-- Match all patterns (equivalent to web|email|phone|map). --> |
| <flag name="all" value="0x0f" /> |
| </attr> |
| |
| <!-- Reference to an array resource that will populate a list/adapter. --> |
| <attr name="entries" format="reference" /> |
| |
| <!-- Standard gravity constant that a child supplies to its parent. |
| Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> |
| <attr name="layout_gravity"> |
| <!-- Push object to the top of its container, not changing its size. --> |
| <flag name="top" value="0x30" /> |
| <!-- Push object to the bottom of its container, not changing its size. --> |
| <flag name="bottom" value="0x50" /> |
| <!-- Push object to the left of its container, not changing its size. --> |
| <flag name="left" value="0x03" /> |
| <!-- Push object to the right of its container, not changing its size. --> |
| <flag name="right" value="0x05" /> |
| <!-- Place object in the vertical center of its container, not changing its size. --> |
| <flag name="center_vertical" value="0x10" /> |
| <!-- Grow the vertical size of the object if needed so it completely fills its container. --> |
| <flag name="fill_vertical" value="0x70" /> |
| <!-- Place object in the horizontal center of its container, not changing its size. --> |
| <flag name="center_horizontal" value="0x01" /> |
| <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> |
| <flag name="fill_horizontal" value="0x07" /> |
| <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> |
| <flag name="center" value="0x11" /> |
| <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> |
| <flag name="fill" value="0x77" /> |
| <!-- Additional option that can be set to have the top and/or bottom edges of |
| the child clipped to its container's bounds. |
| The clip will be based on the vertical gravity: a top gravity will clip the bottom |
| edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> |
| <flag name="clip_vertical" value="0x80" /> |
| <!-- Additional option that can be set to have the left and/or right edges of |
| the child clipped to its container's bounds. |
| The clip will be based on the horizontal gravity: a left gravity will clip the right |
| edge, a right gravity will clip the left edge, and neither will clip both edges. --> |
| <flag name="clip_horizontal" value="0x08" /> |
| <!-- Push object to the beginning of its container, not changing its size. --> |
| <flag name="start" value="0x00800003" /> |
| <!-- Push object to the end of its container, not changing its size. --> |
| <flag name="end" value="0x00800005" /> |
| </attr> |
| |
| <!-- Standard orientation constant. --> |
| <attr name="orientation"> |
| <!-- Defines an horizontal widget. --> |
| <enum name="horizontal" value="0" /> |
| <!-- Defines a vertical widget. --> |
| <enum name="vertical" value="1" /> |
| </attr> |
| |
| <!-- Alignment constants. --> |
| <attr name="alignmentMode"> |
| <!-- Align the bounds of the children. |
| See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> |
| <enum name="alignBounds" value="0" /> |
| <!-- Align the margins of the children. |
| See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> |
| <enum name="alignMargins" value="1" /> |
| </attr> |
| |
| <!-- ========================== --> |
| <!-- Key Codes --> |
| <!-- ========================== --> |
| <eat-comment /> |
| |
| <!-- This enum provides the same keycode values as can be found in |
| {@link android.view.KeyEvent}. --> |
| <attr name="keycode"> |
| <enum name="KEYCODE_UNKNOWN" value="0" /> |
| <enum name="KEYCODE_SOFT_LEFT" value="1" /> |
| <enum name="KEYCODE_SOFT_RIGHT" value="2" /> |
| <enum name="KEYCODE_HOME" value="3" /> |
| <enum name="KEYCODE_BACK" value="4" /> |
| <enum name="KEYCODE_CALL" value="5" /> |
| <enum name="KEYCODE_ENDCALL" value="6" /> |
| <enum name="KEYCODE_0" value="7" /> |
| <enum name="KEYCODE_1" value="8" /> |
| <enum name="KEYCODE_2" value="9" /> |
| <enum name="KEYCODE_3" value="10" /> |
| <enum name="KEYCODE_4" value="11" /> |
| <enum name="KEYCODE_5" value="12" /> |
| <enum name="KEYCODE_6" value="13" /> |
| <enum name="KEYCODE_7" value="14" /> |
| <enum name="KEYCODE_8" value="15" /> |
| <enum name="KEYCODE_9" value="16" /> |
| <enum name="KEYCODE_STAR" value="17" /> |
| <enum name="KEYCODE_POUND" value="18" /> |
| <enum name="KEYCODE_DPAD_UP" value="19" /> |
| <enum name="KEYCODE_DPAD_DOWN" value="20" /> |
| <enum name="KEYCODE_DPAD_LEFT" value="21" /> |
| <enum name="KEYCODE_DPAD_RIGHT" value="22" /> |
| <enum name="KEYCODE_DPAD_CENTER" value="23" /> |
| <enum name="KEYCODE_VOLUME_UP" value="24" /> |
| <enum name="KEYCODE_VOLUME_DOWN" value="25" /> |
| <enum name="KEYCODE_POWER" value="26" /> |
| <enum name="KEYCODE_CAMERA" value="27" /> |
| <enum name="KEYCODE_CLEAR" value="28" /> |
| <enum name="KEYCODE_A" value="29" /> |
| <enum name="KEYCODE_B" value="30" /> |
| <enum name="KEYCODE_C" value="31" /> |
| <enum name="KEYCODE_D" value="32" /> |
| <enum name="KEYCODE_E" value="33" /> |
| <enum name="KEYCODE_F" value="34" /> |
| <enum name="KEYCODE_G" value="35" /> |
| <enum name="KEYCODE_H" value="36" /> |
| <enum name="KEYCODE_I" value="37" /> |
| <enum name="KEYCODE_J" value="38" /> |
| <enum name="KEYCODE_K" value="39" /> |
| <enum name="KEYCODE_L" value="40" /> |
| <enum name="KEYCODE_M" value="41" /> |
| <enum name="KEYCODE_N" value="42" /> |
| <enum name="KEYCODE_O" value="43" /> |
| <enum name="KEYCODE_P" value="44" /> |
| <enum name="KEYCODE_Q" value="45" /> |
| <enum name="KEYCODE_R" value="46" /> |
| <enum name="KEYCODE_S" value="47" /> |
| <enum name="KEYCODE_T" value="48" /> |
| <enum name="KEYCODE_U" value="49" /> |
| <enum name="KEYCODE_V" value="50" /> |
| <enum name="KEYCODE_W" value="51" /> |
| <enum name="KEYCODE_X" value="52" /> |
| <enum name="KEYCODE_Y" value="53" /> |
| <enum name="KEYCODE_Z" value="54" /> |
| <enum name="KEYCODE_COMMA" value="55" /> |
| <enum name="KEYCODE_PERIOD" value="56" /> |
| <enum name="KEYCODE_ALT_LEFT" value="57" /> |
| <enum name="KEYCODE_ALT_RIGHT" value="58" /> |
| <enum name="KEYCODE_SHIFT_LEFT" value="59" /> |
| <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> |
| <enum name="KEYCODE_TAB" value="61" /> |
| <enum name="KEYCODE_SPACE" value="62" /> |
| <enum name="KEYCODE_SYM" value="63" /> |
| <enum name="KEYCODE_EXPLORER" value="64" /> |
| <enum name="KEYCODE_ENVELOPE" value="65" /> |
| <enum name="KEYCODE_ENTER" value="66" /> |
| <enum name="KEYCODE_DEL" value="67" /> |
| <enum name="KEYCODE_GRAVE" value="68" /> |
| <enum name="KEYCODE_MINUS" value="69" /> |
| <enum name="KEYCODE_EQUALS" value="70" /> |
| <enum name="KEYCODE_LEFT_BRACKET" value="71" /> |
| <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> |
| <enum name="KEYCODE_BACKSLASH" value="73" /> |
| <enum name="KEYCODE_SEMICOLON" value="74" /> |
| <enum name="KEYCODE_APOSTROPHE" value="75" /> |
| <enum name="KEYCODE_SLASH" value="76" /> |
| <enum name="KEYCODE_AT" value="77" /> |
| <enum name="KEYCODE_NUM" value="78" /> |
| <enum name="KEYCODE_HEADSETHOOK" value="79" /> |
| <enum name="KEYCODE_FOCUS" value="80" /> |
| <enum name="KEYCODE_PLUS" value="81" /> |
| <enum name="KEYCODE_MENU" value="82" /> |
| <enum name="KEYCODE_NOTIFICATION" value="83" /> |
| <enum name="KEYCODE_SEARCH" value="84" /> |
| <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> |
| <enum name="KEYCODE_MEDIA_STOP" value="86" /> |
| <enum name="KEYCODE_MEDIA_NEXT" value="87" /> |
| <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> |
| <enum name="KEYCODE_MEDIA_REWIND" value="89" /> |
| <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> |
| <enum name="KEYCODE_MUTE" value="91" /> |
| <enum name="KEYCODE_PAGE_UP" value="92" /> |
| <enum name="KEYCODE_PAGE_DOWN" value="93" /> |
| <enum name="KEYCODE_PICTSYMBOLS" value="94" /> |
| <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> |
| <enum name="KEYCODE_BUTTON_A" value="96" /> |
| <enum name="KEYCODE_BUTTON_B" value="97" /> |
| <enum name="KEYCODE_BUTTON_C" value="98" /> |
| <enum name="KEYCODE_BUTTON_X" value="99" /> |
| <enum name="KEYCODE_BUTTON_Y" value="100" /> |
| <enum name="KEYCODE_BUTTON_Z" value="101" /> |
| <enum name="KEYCODE_BUTTON_L1" value="102" /> |
| <enum name="KEYCODE_BUTTON_R1" value="103" /> |
| <enum name="KEYCODE_BUTTON_L2" value="104" /> |
| <enum name="KEYCODE_BUTTON_R2" value="105" /> |
| <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> |
| <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> |
| <enum name="KEYCODE_BUTTON_START" value="108" /> |
| <enum name="KEYCODE_BUTTON_SELECT" value="109" /> |
| <enum name="KEYCODE_BUTTON_MODE" value="110" /> |
| <enum name="KEYCODE_ESCAPE" value="111" /> |
| <enum name="KEYCODE_FORWARD_DEL" value="112" /> |
| <enum name="KEYCODE_CTRL_LEFT" value="113" /> |
| <enum name="KEYCODE_CTRL_RIGHT" value="114" /> |
| <enum name="KEYCODE_CAPS_LOCK" value="115" /> |
| <enum name="KEYCODE_SCROLL_LOCK" value="116" /> |
| <enum name="KEYCODE_META_LEFT" value="117" /> |
| <enum name="KEYCODE_META_RIGHT" value="118" /> |
| <enum name="KEYCODE_FUNCTION" value="119" /> |
| <enum name="KEYCODE_SYSRQ" value="120" /> |
| <enum name="KEYCODE_BREAK" value="121" /> |
| <enum name="KEYCODE_MOVE_HOME" value="122" /> |
| <enum name="KEYCODE_MOVE_END" value="123" /> |
| <enum name="KEYCODE_INSERT" value="124" /> |
| <enum name="KEYCODE_FORWARD" value="125" /> |
| <enum name="KEYCODE_MEDIA_PLAY" value="126" /> |
| <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> |
| <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> |
| <enum name="KEYCODE_MEDIA_EJECT" value="129" /> |
| <enum name="KEYCODE_MEDIA_RECORD" value="130" /> |
| <enum name="KEYCODE_F1" value="131" /> |
| <enum name="KEYCODE_F2" value="132" /> |
| <enum name="KEYCODE_F3" value="133" /> |
| <enum name="KEYCODE_F4" value="134" /> |
| <enum name="KEYCODE_F5" value="135" /> |
| <enum name="KEYCODE_F6" value="136" /> |
| <enum name="KEYCODE_F7" value="137" /> |
| <enum name="KEYCODE_F8" value="138" /> |
| <enum name="KEYCODE_F9" value="139" /> |
| <enum name="KEYCODE_F10" value="140" /> |
| <enum name="KEYCODE_F11" value="141" /> |
| <enum name="KEYCODE_F12" value="142" /> |
| <enum name="KEYCODE_NUM_LOCK" value="143" /> |
| <enum name="KEYCODE_NUMPAD_0" value="144" /> |
| <enum name="KEYCODE_NUMPAD_1" value="145" /> |
| <enum name="KEYCODE_NUMPAD_2" value="146" /> |
| <enum name="KEYCODE_NUMPAD_3" value="147" /> |
| <enum name="KEYCODE_NUMPAD_4" value="148" /> |
| <enum name="KEYCODE_NUMPAD_5" value="149" /> |
| <enum name="KEYCODE_NUMPAD_6" value="150" /> |
| <enum name="KEYCODE_NUMPAD_7" value="151" /> |
| <enum name="KEYCODE_NUMPAD_8" value="152" /> |
| <enum name="KEYCODE_NUMPAD_9" value="153" /> |
| <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> |
| <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> |
| <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> |
| <enum name="KEYCODE_NUMPAD_ADD" value="157" /> |
| <enum name="KEYCODE_NUMPAD_DOT" value="158" /> |
| <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> |
| <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> |
| <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> |
| <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> |
| <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> |
| <enum name="KEYCODE_VOLUME_MUTE" value="164" /> |
| <enum name="KEYCODE_INFO" value="165" /> |
| <enum name="KEYCODE_CHANNEL_UP" value="166" /> |
| <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> |
| <enum name="KEYCODE_ZOOM_IN" value="168" /> |
| <enum name="KEYCODE_ZOOM_OUT" value="169" /> |
| <enum name="KEYCODE_TV" value="170" /> |
| <enum name="KEYCODE_WINDOW" value="171" /> |
| <enum name="KEYCODE_GUIDE" value="172" /> |
| <enum name="KEYCODE_DVR" value="173" /> |
| <enum name="KEYCODE_BOOKMARK" value="174" /> |
| <enum name="KEYCODE_CAPTIONS" value="175" /> |
| <enum name="KEYCODE_SETTINGS" value="176" /> |
| <enum name="KEYCODE_TV_POWER" value="177" /> |
| <enum name="KEYCODE_TV_INPUT" value="178" /> |
| <enum name="KEYCODE_STB_POWER" value="179" /> |
| <enum name="KEYCODE_STB_INPUT" value="180" /> |
| <enum name="KEYCODE_AVR_POWER" value="181" /> |
| <enum name="KEYCODE_AVR_INPUT" value="182" /> |
| <enum name="KEYCODE_PROG_GRED" value="183" /> |
| <enum name="KEYCODE_PROG_GREEN" value="184" /> |
| <enum name="KEYCODE_PROG_YELLOW" value="185" /> |
| <enum name="KEYCODE_PROG_BLUE" value="186" /> |
| <enum name="KEYCODE_APP_SWITCH" value="187" /> |
| <enum name="KEYCODE_BUTTON_1" value="188" /> |
| <enum name="KEYCODE_BUTTON_2" value="189" /> |
| <enum name="KEYCODE_BUTTON_3" value="190" /> |
| <enum name="KEYCODE_BUTTON_4" value="191" /> |
| <enum name="KEYCODE_BUTTON_5" value="192" /> |
| <enum name="KEYCODE_BUTTON_6" value="193" /> |
| <enum name="KEYCODE_BUTTON_7" value="194" /> |
| <enum name="KEYCODE_BUTTON_8" value="195" /> |
| <enum name="KEYCODE_BUTTON_9" value="196" /> |
| <enum name="KEYCODE_BUTTON_10" value="197" /> |
| <enum name="KEYCODE_BUTTON_11" value="198" /> |
| <enum name="KEYCODE_BUTTON_12" value="199" /> |
| <enum name="KEYCODE_BUTTON_13" value="200" /> |
| <enum name="KEYCODE_BUTTON_14" value="201" /> |
| <enum name="KEYCODE_BUTTON_15" value="202" /> |
| <enum name="KEYCODE_BUTTON_16" value="203" /> |
| <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> |
| <enum name="KEYCODE_MANNER_MODE" value="205" /> |
| <enum name="KEYCODE_3D_MODE" value="206" /> |
| <enum name="KEYCODE_CONTACTS" value="207" /> |
| <enum name="KEYCODE_CALENDAR" value="208" /> |
| <enum name="KEYCODE_MUSIC" value="209" /> |
| <enum name="KEYCODE_CALCULATOR" value="210" /> |
| <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> |
| <enum name="KEYCODE_EISU" value="212" /> |
| <enum name="KEYCODE_MUHENKAN" value="213" /> |
| <enum name="KEYCODE_HENKAN" value="214" /> |
| <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> |
| <enum name="KEYCODE_YEN" value="216" /> |
| <enum name="KEYCODE_RO" value="217" /> |
| <enum name="KEYCODE_KANA" value="218" /> |
| <enum name="KEYCODE_ASSIST" value="219" /> |
| <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> |
| <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> |
| <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> |
| <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> |
| <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> |
| <enum name="KEYCODE_PAIRING" value="225" /> |
| <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> |
| <enum name="KEYCODE_11" value="227" /> |
| <enum name="KEYCODE_12" value="228" /> |
| <enum name="KEYCODE_LAST_CHANNEL" value="229" /> |
| <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> |
| <enum name="KEYCODE_VOICE_ASSIST" value="231" /> |
| <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> |
| <enum name="KEYCODE_TV_TELETEXT" value="233" /> |
| <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> |
| <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> |
| <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> |
| <enum name="KEYCODE_TV_SATELLITE" value="237" /> |
| <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> |
| <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> |
| <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> |
| <enum name="KEYCODE_TV_NETWORK" value="241" /> |
| <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> |
| <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> |
| <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> |
| <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> |
| <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> |
| <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> |
| <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> |
| <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> |
| <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> |
| <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> |
| <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> |
| <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> |
| <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> |
| <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> |
| <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> |
| <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> |
| <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> |
| <enum name="KEYCODE_HELP" value="259" /> |
| <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> |
| <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> |
| <enum name="KEYCODE_NAVIGATE_IN" value="262" /> |
| <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> |
| <enum name="KEYCODE_STEM_PRIMARY" value="264" /> |
| <enum name="KEYCODE_STEM_1" value="265" /> |
| <enum name="KEYCODE_STEM_2" value="266" /> |
| <enum name="KEYCODE_STEM_3" value="267" /> |
| <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> |
| <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> |
| <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> |
| <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> |
| <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> |
| <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> |
| <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> |
| <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> |
| <enum name="KEYCODE_SOFT_SLEEP" value="276" /> |
| <enum name="KEYCODE_CUT" value="277" /> |
| <enum name="KEYCODE_COPY" value="278" /> |
| <enum name="KEYCODE_PASTE" value="279" /> |
| <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" /> |
| <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" /> |
| <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" /> |
| <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" /> |
| <enum name="KEYCODE_ALL_APPS" value="284" /> |
| <enum name="KEYCODE_REFRESH" value="285" /> |
| <enum name="KEYCODE_THUMBS_UP" value="286" /> |
| <enum name="KEYCODE_THUMBS_DOWN" value="287" /> |
| <enum name="KEYCODE_PROFILE_SWITCH" value="288" /> |
| <enum name="KEYCODE_VIDEO_APP_1" value="289" /> |
| <enum name="KEYCODE_VIDEO_APP_2" value="290" /> |
| <enum name="KEYCODE_VIDEO_APP_3" value="291" /> |
| <enum name="KEYCODE_VIDEO_APP_4" value="292" /> |
| <enum name="KEYCODE_VIDEO_APP_5" value="293" /> |
| <enum name="KEYCODE_VIDEO_APP_6" value="294" /> |
| <enum name="KEYCODE_VIDEO_APP_7" value="295" /> |
| <enum name="KEYCODE_VIDEO_APP_8" value="296" /> |
| <enum name="KEYCODE_FEATURED_APP_1" value="297" /> |
| <enum name="KEYCODE_FEATURED_APP_2" value="298" /> |
| <enum name="KEYCODE_FEATURED_APP_3" value="299" /> |
| <enum name="KEYCODE_FEATURED_APP_4" value="300" /> |
| <enum name="KEYCODE_DEMO_APP_1" value="301" /> |
| <enum name="KEYCODE_DEMO_APP_2" value="302" /> |
| <enum name="KEYCODE_DEMO_APP_3" value="303" /> |
| <enum name="KEYCODE_DEMO_APP_4" value="304" /> |
| </attr> |
| |
| <!-- ***************************************************************** --> |
| <!-- These define collections of attributes that can are with classes. --> |
| <!-- ***************************************************************** --> |
| |
| <!-- ========================== --> |
| <!-- Special attribute classes. --> |
| <!-- ========================== --> |
| <eat-comment /> |
| |
| <!-- The set of attributes that describe a Windows's theme. --> |
| <declare-styleable name="Window"> |
| <attr name="windowBackground" /> |
| <attr name="windowBackgroundFallback" /> |
| <attr name="windowBackgroundBlurRadius" /> |
| <attr name="windowContentOverlay" /> |
| <attr name="windowFrame" /> |
| <attr name="windowNoTitle" /> |
| <attr name="windowFullscreen" /> |
| <attr name="windowOverscan" /> |
| <attr name="windowIsFloating" /> |
| <attr name="windowIsTranslucent" /> |
| <attr name="windowShowWallpaper" /> |
| <attr name="windowAnimationStyle" /> |
| <attr name="windowSoftInputMode" /> |
| <attr name="windowDisablePreview" /> |
| <attr name="windowNoDisplay" /> |
| <attr name="textColor" /> |
| <attr name="backgroundDimEnabled" /> |
| <attr name="backgroundDimAmount" /> |
| <attr name="windowBlurBehindEnabled" /> |
| <attr name="windowBlurBehindRadius" /> |
| <attr name="windowActionBar" /> |
| <attr name="windowActionModeOverlay" /> |
| <attr name="windowActionBarOverlay" /> |
| <attr name="windowEnableSplitTouch" /> |
| <attr name="windowCloseOnTouchOutside" /> |
| <attr name="windowTranslucentStatus" /> |
| <attr name="windowTranslucentNavigation" /> |
| <attr name="windowContentTransitions" /> |
| <attr name="windowActivityTransitions" /> |
| <attr name="windowContentTransitionManager" /> |
| <attr name="windowActionBarFullscreenDecorLayout" /> |
| |
| <!-- The minimum width the window is allowed to be, along the major |
| axis of the screen. That is, when in landscape. Can be either |
| an absolute dimension or a fraction of the screen size in that |
| dimension. --> |
| <attr name="windowMinWidthMajor" format="dimension|fraction" /> |
| <!-- The minimum width the window is allowed to be, along the minor |
| axis of the screen. That is, when in portrait. Can be either |
| an absolute dimension or a fraction of the screen size in that |
| dimension. --> |
| <attr name="windowMinWidthMinor" format="dimension|fraction" /> |
| |
| <!-- A fixed width for the window along the major axis of the screen, |
| that is, when in landscape. Can be either an absolute dimension |
| or a fraction of the screen size in that dimension. --> |
| <attr name="windowFixedWidthMajor" format="dimension|fraction" /> |
| <!-- A fixed height for the window along the minor axis of the screen, |
| that is, when in landscape. Can be either an absolute dimension |
| or a fraction of the screen size in that dimension. --> |
| <attr name="windowFixedHeightMinor" format="dimension|fraction" /> |
| |
| <!-- A fixed width for the window along the minor axis of the screen, |
| that is, when in portrait. Can be either an absolute dimension |
| or a fraction of the screen size in that dimension. --> |
| <attr name="windowFixedWidthMinor" format="dimension|fraction" /> |
| <!-- A fixed height for the window along the major axis of the screen, |
| that is, when in portrait. Can be either an absolute dimension |
| or a fraction of the screen size in that dimension. --> |
| <attr name="windowFixedHeightMajor" format="dimension|fraction" /> |
| <attr name="windowOutsetBottom" format="dimension" /> |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move Views into the initial Window's content Scene. Corresponds to |
| {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> |
| <attr name="windowEnterTransition"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move Views out of the scene when the Window is |
| preparing to close. Corresponds to |
| {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> |
| <attr name="windowReturnTransition"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move Views out of the Window's content Scene when launching a new Activity. |
| Corresponds to |
| {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> |
| <attr name="windowExitTransition"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move Views in to the scene when returning from a previously-started Activity. |
| Corresponds to |
| {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> |
| <attr name="windowReenterTransition"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move shared elements transferred into the Window's initial content Scene. |
| Corresponds to {@link android.view.Window#setSharedElementEnterTransition( |
| android.transition.Transition)}. --> |
| <attr name="windowSharedElementEnterTransition"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used to move shared elements transferred back to a calling Activity. |
| Corresponds to {@link android.view.Window#setSharedElementReturnTransition( |
| android.transition.Transition)}. --> |
| <attr name="windowSharedElementReturnTransition"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used when starting a new Activity to move shared elements prior to transferring |
| to the called Activity. |
| Corresponds to {@link android.view.Window#setSharedElementExitTransition( |
| android.transition.Transition)}. --> |
| <attr name="windowSharedElementExitTransition"/> |
| |
| <!-- Reference to a Transition XML resource defining the desired Transition |
| used for shared elements transferred back to a calling Activity. |
| Corresponds to {@link android.view.Window#setSharedElementReenterTransition( |
| android.transition.Transition)}. --> |
| <attr name="windowSharedElementReenterTransition"/> |
| |
| |
| <!-- Flag indicating whether this Window's transition should overlap with |
| the exiting transition of the calling Activity. Corresponds to |
| {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> |
| <attr name="windowAllowEnterTransitionOverlap"/> |
| |
| <!-- Flag indicating whether this Window's transition should overlap with |
| the exiting transition of the called Activity when the called Activity |
| finishes. Corresponds to |
| {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> |
| <attr name="windowAllowReturnTransitionOverlap"/> |
| |
| <!-- Indicates whether or not shared elements should use an overlay |
| during transitions. The default value is true. --> |
| <attr name="windowSharedElementsUseOverlay"/> |
| |
| <!-- Flag indicating whether this Window is responsible for drawing the background for the |
| system bars. If true and the window is not floating, the system bars are drawn with a |
| transparent background and the corresponding areas in this window are filled with the |
| colors specified in {@link android.R.attr#statusBarColor} and |
| {@link android.R.attr#navigationBarColor}. Corresponds to |
| {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> |
| <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> |
| |
| <!-- The color for the status bar. If the color is not opaque, consider setting |
| {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and |
| {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. |
| For this to take effect, the window must be drawing the system bar backgrounds with |
| {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not |
| have been requested to be translucent with |
| {@link android.R.attr#windowTranslucentStatus}. |
| Corresponds to {@link android.view.Window#setStatusBarColor(int)}. |
| <p>If the color is transparent and the window enforces the status bar contrast, the |
| system will determine whether a scrim is necessary and draw one on behalf of the app to |
| ensure that the status bar has enough contrast with the contents of this app, and set |
| an appropriate effective bar background accordingly. |
| See: {@link android.R.attr#enforceStatusBarContrast} |
| <p>If the window belongs to an app targeting |
| {@link android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM VANILLA_ICE_CREAM} or above, |
| this attribute is ignored. |
| @deprecated Draw proper background behind |
| {@link android.view.WindowInsets.Type#statusBars()}} instead. --> |
| <attr name="statusBarColor" format="color" /> |
| |
| <!-- The color for the navigation bar. If the color is not opaque, consider setting |
| {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and |
| {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. |
| For this to take effect, the window must be drawing the system bar backgrounds with |
| {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not |
| have been requested to be translucent with |
| {@link android.R.attr#windowTranslucentNavigation}. |
| Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. |
| <p>If the color is transparent and the window enforces the navigation bar contrast, the |
| system will determine whether a scrim is necessary and draw one on behalf of the app to |
| ensure that the navigation bar has enough contrast with the contents of this app, and |
| set an appropriate effective bar background accordingly. |
| See: {@link android.R.attr#enforceNavigationBarContrast} |
| <p>If the window belongs to an app targeting |
| {@link android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM VANILLA_ICE_CREAM} or above, |
| this attribute is ignored. |
| @deprecated Draw proper background behind |
| {@link android.view.WindowInsets.Type#navigationBars()} or |
| {@link android.view.WindowInsets.Type#tappableElement()} instead. --> |
| <attr name="navigationBarColor" format="color" /> |
| |
| <!-- Shows a thin line of the specified color between the navigation bar and the app |
| content. |
| <p>For this to take effect, the window must be drawing the system bar backgrounds with |
| {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not |
| have been requested to be translucent with |
| {@link android.R.attr#windowTranslucentNavigation}. |
| Corresponds to {@link android.view.Window#setNavigationBarDividerColor(int)}. |
| <p>If the window belongs to an app targeting |
| {@link android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM VANILLA_ICE_CREAM} or above, |
| this attribute is ignored. |
| @deprecated Draw proper background behind |
| {@link android.view.WindowInsets.Type#navigationBars()} or |
| {@link android.view.WindowInsets.Type#tappableElement()} instead. --> |
| <attr name="navigationBarDividerColor" format="color" /> |
| |
| <!-- Sets whether the system should ensure that the status bar has enough |
| contrast when a fully transparent background is requested. |
| |
| <p>If set to this value, the system will determine whether a scrim is necessary |
| to ensure that the status bar has enough contrast with the contents of |
| this app, and set an appropriate effective bar background color accordingly. |
| |
| <p>When the status bar color has a non-zero alpha value, the value of this |
| attribute has no effect. |
| |
| <p>If the app does not target at least {@link android.os.Build.VERSION_CODES#Q Q}, |
| this attribute is ignored. |
| |
| @see android.view.Window#setStatusBarContrastEnforced |
| @deprecated Draw proper background behind |
| {@link android.view.WindowInsets.Type#statusBars()}} instead. --> |
| <attr name="enforceStatusBarContrast" format="boolean" /> |
| |
| <!-- Sets whether the system should ensure that the navigation bar has enough |
| contrast when a fully transparent background is requested. |
| |
| <p>If set to this value, the system will determine whether a scrim is necessary |
| to ensure that the navigation bar has enough contrast with the contents of |
| this app, and set an appropriate effective bar background color accordingly. |
| |
| <p>When the navigation bar color has a non-zero alpha value, the value of this |
| attribute has no effect. |
| |
| <p>If the app does not target at least {@link android.os.Build.VERSION_CODES#Q Q}, |
| this attribute is ignored. |
| |
| @see android.view.Window#setNavigationBarContrastEnforced --> |
| <attr name="enforceNavigationBarContrast" format="boolean" /> |
| |
| <!-- The duration, in milliseconds, of the window background fade duration |
| when transitioning into or away from an Activity when called with an |
| Activity Transition. Corresponds to |
| {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> |
| <attr name="windowTransitionBackgroundFadeDuration" /> |
| |
| <!-- Elevation to use for the window. --> |
| <attr name="windowElevation" format="dimension" /> |
| |
| <!-- Flag indicating whether this window should skip movement animations. |
| See also {@link android.view.WindowManager.LayoutParams#setCanPlayMoveAnimation} --> |
| <attr name="windowNoMoveAnimation" format="boolean" /> |
| |
| <!-- Whether to clip window content to the outline of the window background. --> |
| <attr name="windowClipToOutline" format="boolean" /> |
| |
| <!-- If set, the status bar will be drawn such that it is compatible with a light |
| status bar background. |
| <p>For this to take effect, the window must be drawing the system bar backgrounds with |
| {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not |
| have been requested to be translucent with |
| {@link android.R.attr#windowTranslucentStatus}. |
| Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on |
| the decor view and |
| {@link android.view.WindowInsetsController#APPEARANCE_LIGHT_STATUS_BARS} on the |
| {@link android.view.WindowInsetsController}. --> |
| <attr name="windowLightStatusBar" format="boolean" /> |
| |
| <!-- Reference to a drawable to be used as the splash screen content of the window. This |
| drawable will be placed on top of the {@link android.R.attr#windowBackground} with its |
| bounds inset by the system bars. If the drawable should not be inset by the system |
| bars, use a fullscreen theme. |
| <p> |
| Note that even if no splashscreen content is set on the theme, the system may still |
| show a splash screen using the other attributes on the theme, like the |
| {@link android.R.attr#windowBackground}. |
| {@deprecated Use windowSplashscreenAnimatedIcon instead.} |
| --> |
| <attr name="windowSplashscreenContent" format="reference" /> |
| |
| <!-- If set, the navigation bar will be drawn such that it is compatible with a light |
| navigation bar background. |
| <p>For this to take effect, the window must be drawing the system bar backgrounds with |
| {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not |
| have been requested to be translucent with |
| {@link android.R.attr#windowTranslucentNavigation}. |
| Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR} on |
| the decor view and |
| {@link android.view.WindowInsetsController#APPEARANCE_LIGHT_NAVIGATION_BARS} on the |
| {@link android.view.WindowInsetsController}. --> |
| <attr name="windowLightNavigationBar" format="boolean" /> |
| |
| <!-- Controls how the window is laid out if there is a {@code DisplayCutout}. |
| <p> |
| Defaults to {@code default}. But if the window fills the screen, and it belongs to an app |
| targeting {@link android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM VANILLA_ICE_CREAM} or |
| above, the behavior will be the same as specifying {@code always} regardless. |
| <p> |
| See also |
| {@link android.view.WindowManager.LayoutParams#layoutInDisplayCutoutMode |
| WindowManager.LayoutParams.layoutInDisplayCutoutMode}, |
| {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT}, |
| {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES}, |
| {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER}, |
| and {@link android.view.DisplayCutout DisplayCutout} |
| --> |
| <attr name="windowLayoutInDisplayCutoutMode"> |
| <!-- <p> |
| The window is allowed to extend into the <code>DisplayCutout</code> area, only if |
| the <code>DisplayCutout</code> is fully contained within a system bar. Otherwise, the |
| window is laid out such that it does not overlap with the <code>DisplayCutout</code> |
| area. |
| <p> |
| Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT</code>. |
| --> |
| <enum name="default" value="0" /> |
| <!-- <p> |
| The window is always allowed to extend into the <code>DisplayCutout</code> areas on the |
| short edges of the screen even if fullscreen or in landscape. |
| The window will never extend into a <code>DisplayCutout</code> area on the long edges of |
| the screen. |
| <p> |
| The window must make sure that no important content overlaps with the |
| <code>DisplayCutout</code>. |
| <p> |
| Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES</code>. |
| --> |
| <enum name="shortEdges" value="1" /> |
| <!-- <p> |
| The window is never allowed to overlap with the <code>DisplayCutout</code> area. |
| <p> |
| This should be used with windows that transiently set |
| <code>SYSTEM_UI_FLAG_FULLSCREEN</code> to avoid a relayout of the window when the |
| flag is set or cleared. |
| <p> |
| Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER</code>. |
| --> |
| <enum name="never" value="2" /> |
| <!-- <p> |
| The window is always allowed to extend into the <code>DisplayCutout</code> areas on the |
| all edges of the screen. |
| <p> |
| The window must make sure that no important content overlaps with the |
| <code>DisplayCutout</code>. |
| <p> |
| Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS</code>. |
| --> |
| <enum name="always" value="3" /> |
| </attr> |
| |
| <!-- The background color for the splash screen, if not specify then system will |
| calculate from windowBackground. --> |
| <attr name="windowSplashScreenBackground" format="color"/> |
| |
| <!-- Replace an icon in the center of the starting window, if the object is animated |
| and drawable(e.g. AnimationDrawable, AnimatedVectorDrawable), then it will also |
| play the animation while showing the starting window. --> |
| <attr name="windowSplashScreenAnimatedIcon" format="reference"/> |
| <!-- The duration, in milliseconds, of the window splash screen icon animation duration |
| when playing the splash screen starting window. The maximum animation duration should |
| be limited below 1000ms. |
| @deprecated Not used by framework starting from API level 33. The system estimates the |
| duration of the vector animation automatically. --> |
| <attr name="windowSplashScreenAnimationDuration" format="integer"/> |
| |
| <!-- Place a drawable image in the bottom of the starting window. The image can be used to |
| represent the branding of the application. --> |
| <attr name="windowSplashScreenBrandingImage" format="reference"/> |
| <!-- Set a background behind the splash screen icon. This is useful if there is not enough |
| contrast between the window background and the icon. Note the shape would also be |
| masking like an icon. --> |
| <attr name="windowSplashScreenIconBackgroundColor" format="color"/> |
| |
| <!-- Specify whether this application always wants the icon to be displayed on the splash |
| screen. --> |
| <attr name="windowSplashScreenBehavior"> |
| <!-- The icon is shown when the launching activity sets the splashScreenStyle to |
| SPLASH_SCREEN_STYLE_ICON. If the launching activity does not specify any style, |
| follow the system behavior. --> |
| <enum name="default" value="0" /> |
| <!-- The icon is shown unless the launching app specified SPLASH_SCREEN_STYLE_EMPTY --> |
| <enum name="icon_preferred" value="1" /> |
| </attr> |
| <!-- Offer Window the ability to opt out the UI Toolkit discrete variable refresh rate. |
| This feature allows device to adjust refresh rate as needed and |
| can be useful for power saving. |
| Set to false to reduce the frame rate optimizations on devices with |
| variable refresh rate screens. |
| The default is true. --> |
| <attr name="windowIsFrameRatePowerSavingsBalanced" format="boolean"/> |
| |
| <!-- Flag indicating whether this window would opt-out the edge-to-edge enforcement. |
| |
| <p>If this is false, the edge-to-edge enforcement will be applied to the window if it |
| belongs to an app targeting |
| {@link android.os.Build.VERSION_CODES#VANILLA_ICE_CREAM VANILLA_ICE_CREAM} or above. |
| The affected behaviors are: |
| <ul> |
| <li>The framework will not fit the content view to the insets and will just pass |
| through the {@link android.view.WindowInsets} to the content view, as if calling |
| {@link android.view.Window#setDecorFitsSystemWindows(boolean)} with false. |
| <li>{@link android.view.WindowManager.LayoutParams#layoutInDisplayCutoutMode} of |
| the fill-screen windows will behave as specifying {@link |
| android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS}. |
| <li>The framework will set {@link android.R.attr#statusBarColor}, |
| {@link android.R.attr#navigationBarColor}, and |
| {@link android.R.attr#navigationBarDividerColor} to transparent. |
| <li>The frameworks will send Configuration no longer considering system insets. |
| The Configuration will be stable regardless of the system insets change. |
| </ul> |
| |
| <p>If this is true, the edge-to-edge enforcement won't be applied. However, this |
| attribute will be deprecated and disabled in a future SDK level. |
| |
| <p>This is false by default. --> |
| <attr name="windowOptOutEdgeToEdgeEnforcement" format="boolean"/> |
| </declare-styleable> |
| |
| <!-- The set of attributes that describe a AlertDialog's theme. --> |
| <declare-styleable name="AlertDialog"> |
| <attr name="fullDark" format="reference|color" /> |
| <attr name="topDark" format="reference|color" /> |
| <attr name="centerDark" format="reference|color" /> |
| <attr name="bottomDark" format="reference|color" /> |
| <attr name="fullBright" format="reference|color" /> |
| <attr name="topBright" format="reference|color" /> |
| <attr name="centerBright" format="reference|color" /> |
| <attr name="bottomBright" format="reference|color" /> |
| <attr name="bottomMedium" format="reference|color" /> |
| <attr name="centerMedium" format="reference|color" /> |
| <attr name="layout" /> |
| <attr name="buttonPanelSideLayout" format="reference" /> |
| <attr name="listLayout" format="reference" /> |
| <attr name="multiChoiceItemLayout" format="reference" /> |
| <attr name="singleChoiceItemLayout" format="reference" /> |
| <attr name="listItemLayout" format="reference" /> |
| <attr name="progressLayout" format="reference" /> |
| <attr name="horizontalProgressLayout" format="reference" /> |
| <!-- @hide Not ready for public use. --> |
| <attr name="showTitle" format="boolean" /> |
| <!-- @hide Whether fullDark, etc. should use default values if null. --> |
| <attr name="needsDefaultBackgrounds" format="boolean" /> |
| <!-- @hide Workaround until we replace AlertController with custom layout. --> |
| <attr name="controllerType"> |
| <!-- The default controller. --> |
| <enum name="normal" value="0" /> |
| <!-- Controller for micro specific layout. --> |
| <enum name="micro" value="1" /> |
| </attr> |
| <!-- @hide Offset when scrolling to a selection. --> |
| <attr name="selectionScrollOffset" format="dimension" /> |
| </declare-styleable> |
| |
| <!-- @hide --> |
| <declare-styleable name="ButtonBarLayout"> |
| <!-- Whether to automatically stack the buttons when there is not |
| enough space to lay them out side-by-side. --> |
| <attr name="allowStacking" format="boolean" /> |
| </declare-styleable> |
| |
| <!-- Fragment animation class attributes. --> |
| <declare-styleable name="FragmentAnimation"> |
| <attr name="fragmentOpenEnterAnimation" format="reference" /> |
| <attr name="fragmentOpenExitAnimation" format="reference" /> |
| <attr name="fragmentCloseEnterAnimation" format="reference" /> |
| <attr name="fragmentCloseExitAnimation" format="reference" /> |
| <attr name="fragmentFadeEnterAnimation" format="reference" /> |
| <attr name="fragmentFadeExitAnimation" format="reference" /> |
| </declare-styleable> |
| |
| <!-- Window animation class attributes. --> |
| <declare-styleable name="WindowAnimation"> |
| <!-- The animation used when a window is being added. --> |
| <attr name="windowEnterAnimation" format="reference" /> |
| <!-- The animation used when a window is being removed. --> |
| <attr name="windowExitAnimation" format="reference" /> |
| <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> |
| <attr name="windowShowAnimation" format="reference" /> |
| <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> |
| <attr name="windowHideAnimation" format="reference" /> |
| |
| <!-- When opening a new activity, this is the animation that is |
| run on the next activity (which is entering the screen). --> |
| <attr name="activityOpenEnterAnimation" format="reference" /> |
| <!-- When opening a new activity, this is the animation that is |
| run on the previous activity (which is exiting the screen). --> |
| <attr name="activityOpenExitAnimation" format="reference" /> |
| <!-- When closing the current activity, this is the animation that is |
| run on the next activity (which is entering the screen). --> |
| <attr name="activityCloseEnterAnimation" format="reference" /> |
| <!-- When closing the current activity, this is the animation that is |
| run on the current activity (which is exiting the screen). --> |
| <attr name="activityCloseExitAnimation" format="reference" /> |
| <!-- When closing a dream activity, this is the animation that is |
| run on the dream activity (which is exiting the screen). --> |
| <attr name="dreamActivityCloseExitAnimation" format="reference" /> |
| <!-- When opening a dream activity, this is the animation that is |
| run on the dream activity (which is entering the screen). --> |
| <attr name="dreamActivityOpenEnterAnimation" format="reference" /> |
| <!-- When opening a dream activity, this is the animation that is |
| run on the old activity (which is exiting the screen). --> |
| <attr name="dreamActivityOpenExitAnimation" format="reference" /> |
| <!-- When opening an activity in a new task, this is the animation that is |
| run on the activity of the new task (which is entering the screen). --> |
| <attr name="taskOpenEnterAnimation" format="reference" /> |
| <!-- When opening an activity in a new task, this is the animation that is |
| run on the activity of the old task (which is exiting the screen). --> |
| <attr name="taskOpenExitAnimation" format="reference" /> |
| <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, |
| this is the animation that is run on the activity of the new task (which is |
| entering the screen and then leaving). --> |
| <attr name="launchTaskBehindTargetAnimation" format="reference" /> |
| <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, |
| this is the animation that is run on the activity of the old task (which is |
| already on the screen and then stays on). --> |
| <attr name="launchTaskBehindSourceAnimation" format="reference" /> |
| <!-- When closing the last activity of a task, this is the animation that is |
| run on the activity of the next task (which is entering the screen). --> |
| <attr name="taskCloseEnterAnimation" format="reference" /> |
| <!-- When opening an activity in a new task, this is the animation that is |
| run on the activity of the old task (which is exiting the screen). --> |
| <attr name="taskCloseExitAnimation" format="reference" /> |
| <!-- When bringing an existing task to the foreground, this is the |
| animation that is run on the top activity of the task being brought |
| to the foreground (which is entering the screen). --> |
| <attr name="taskToFrontEnterAnimation" format="reference" /> |
| <!-- When bringing an existing task to the foreground, this is the |
| animation that is run on the current foreground activity |
| (which is exiting the screen). --> |
| <attr name="taskToFrontExitAnimation" format="reference" /> |
| <!-- When sending the current task to the background, this is the |
| animation that is run on the top activity of the task behind |
| it (which is entering the screen). --> |
| <attr name="taskToBackEnterAnimation" format="reference" /> |
| <!-- When sending the current task to the background, this is the |
| animation that is run on the top activity of the current task |
| (which is exiting the screen). --> |
| <attr name="taskToBackExitAnimation" format="reference" /> |
| |
| <!-- When opening a new activity that shows the wallpaper, while |
| currently not showing the wallpaper, this is the animation that |
| is run on the new wallpaper activity (which is entering the screen). --> |
| <attr name="wallpaperOpenEnterAnimation" format=&quo
|