Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <resources>
     18     <!-- Many app-specific attributes are declared in this file.
     19          Unless otherwise specified, they are intended to be set within
     20          the context of a theme declaration.
     21 
     22          Each cluster of attributes below states whether it is meant to
     23          be set by the app and read by the system, or set by the system and
     24          read by the app. -->
     25     <eat-comment/>
     26 
     27 
     28     <attr name="title" format="string"/>
     29     <attr name="height" format="dimension"/>
     30     <!-- Specifies whether the theme is light, otherwise it is dark. -->
     31     <attr name="isLightTheme" format="boolean" />
     32 
     33     <!-- These are the standard attributes that make up a complete theme. -->
     34     <declare-styleable name="AppCompatTheme">
     35 
     36         <!-- ============= -->
     37         <!-- Window styles -->
     38         <!-- ============= -->
     39         <eat-comment />
     40 
     41         <!-- Flag indicating whether this window should have an Action Bar
     42              in place of the usual title bar. -->
     43         <attr name="windowActionBar" format="boolean" />
     44 
     45         <!-- Flag indicating whether there should be no title on this window. -->
     46         <attr name="windowNoTitle" format="boolean" />
     47 
     48         <!-- Flag indicating whether this window's Action Bar should overlay
     49              application content. Does nothing if the window would not
     50              have an Action Bar. -->
     51         <attr name="windowActionBarOverlay" format="boolean" />
     52 
     53         <!-- Flag indicating whether action modes should overlay window content
     54              when there is not reserved space for their UI (such as an Action Bar). -->
     55         <attr name="windowActionModeOverlay" format="boolean" />
     56 
     57         <!-- A fixed width for the window along the major axis of the screen,
     58              that is, when in landscape. Can be either an absolute dimension
     59              or a fraction of the screen size in that dimension. -->
     60         <attr name="windowFixedWidthMajor" format="dimension|fraction" />
     61         <!-- A fixed height for the window along the minor axis of the screen,
     62              that is, when in landscape. Can be either an absolute dimension
     63              or a fraction of the screen size in that dimension. -->
     64         <attr name="windowFixedHeightMinor" format="dimension|fraction" />
     65 
     66         <!-- A fixed width for the window along the minor axis of the screen,
     67              that is, when in portrait. Can be either an absolute dimension
     68              or a fraction of the screen size in that dimension. -->
     69         <attr name="windowFixedWidthMinor" format="dimension|fraction" />
     70         <!-- A fixed height for the window along the major axis of the screen,
     71              that is, when in portrait. Can be either an absolute dimension
     72              or a fraction of the screen size in that dimension. -->
     73         <attr name="windowFixedHeightMajor" format="dimension|fraction" />
     74 
     75         <!-- The minimum width the window is allowed to be, along the major
     76              axis of the screen.  That is, when in landscape.  Can be either
     77              an absolute dimension or a fraction of the screen size in that
     78              dimension. -->
     79         <attr name="windowMinWidthMajor" format="dimension|fraction" />
     80         <!-- The minimum width the window is allowed to be, along the minor
     81              axis of the screen.  That is, when in portrait.  Can be either
     82              an absolute dimension or a fraction of the screen size in that
     83              dimension. -->
     84         <attr name="windowMinWidthMinor" format="dimension|fraction" />
     85 
     86         <attr name="android:windowIsFloating" />
     87         <attr name="android:windowAnimationStyle" />
     88 
     89         <!-- =================== -->
     90         <!-- Action bar styles   -->
     91         <!-- =================== -->
     92         <eat-comment />
     93         <!-- Default style for tabs within an action bar -->
     94         <attr name="actionBarTabStyle" format="reference" />
     95         <attr name="actionBarTabBarStyle" format="reference" />
     96         <attr name="actionBarTabTextStyle" format="reference" />
     97         <attr name="actionOverflowButtonStyle" format="reference" />
     98         <attr name="actionOverflowMenuStyle" format="reference" />
     99         <!-- Reference to a theme that should be used to inflate popups
    100              shown by widgets in the action bar. -->
    101         <attr name="actionBarPopupTheme" format="reference" />
    102         <!-- Reference to a style for the Action Bar -->
    103         <attr name="actionBarStyle" format="reference" />
    104         <!-- Reference to a style for the split Action Bar. This style
    105              controls the split component that holds the menu/action
    106              buttons. actionBarStyle is still used for the primary
    107              bar. -->
    108         <attr name="actionBarSplitStyle" format="reference" />
    109         <!-- Reference to a theme that should be used to inflate the
    110              action bar. This will be inherited by any widget inflated
    111              into the action bar. -->
    112         <attr name="actionBarTheme" format="reference" />
    113         <!-- Reference to a theme that should be used to inflate widgets
    114              and layouts destined for the action bar. Most of the time
    115              this will be a reference to the current theme, but when
    116              the action bar has a significantly different contrast
    117              profile than the rest of the activity the difference
    118              can become important. If this is set to @null the current
    119              theme will be used.-->
    120         <attr name="actionBarWidgetTheme" format="reference" />
    121         <!-- Size of the Action Bar, including the contextual
    122              bar used to present Action Modes. -->
    123         <attr name="actionBarSize" format="dimension" >
    124             <enum name="wrap_content" value="0" />
    125         </attr>
    126         <!-- Custom divider drawable to use for elements in the action bar. -->
    127         <attr name="actionBarDivider" format="reference" />
    128         <!-- Custom item state list drawable background for action bar items. -->
    129         <attr name="actionBarItemBackground" format="reference" />
    130         <!-- TextAppearance style that will be applied to text that
    131              appears within action menu items. -->
    132         <attr name="actionMenuTextAppearance" format="reference" />
    133         <!-- Color for text that appears within action menu items. -->
    134         <!-- Color for text that appears within action menu items. -->
    135         <attr name="actionMenuTextColor" format="color|reference"/>
    136 
    137 
    138         <!-- =================== -->
    139         <!-- Action mode styles  -->
    140         <!-- =================== -->
    141         <eat-comment/>
    142         <attr name="actionModeStyle" format="reference"/>
    143         <attr name="actionModeCloseButtonStyle" format="reference"/>
    144         <!-- Background drawable to use for action mode UI -->
    145         <attr name="actionModeBackground" format="reference"/>
    146         <!-- Background drawable to use for action mode UI in the lower split bar -->
    147         <attr name="actionModeSplitBackground" format="reference"/>
    148         <!-- Drawable to use for the close action mode button -->
    149         <attr name="actionModeCloseDrawable" format="reference"/>
    150         <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
    151         <attr name="actionModeCutDrawable" format="reference"/>
    152         <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
    153         <attr name="actionModeCopyDrawable" format="reference"/>
    154         <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
    155         <attr name="actionModePasteDrawable" format="reference"/>
    156         <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
    157         <attr name="actionModeSelectAllDrawable" format="reference"/>
    158         <!-- Drawable to use for the Share action button in WebView selection action modes -->
    159         <attr name="actionModeShareDrawable" format="reference"/>
    160         <!-- Drawable to use for the Find action button in WebView selection action modes -->
    161         <attr name="actionModeFindDrawable" format="reference"/>
    162         <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
    163         <attr name="actionModeWebSearchDrawable" format="reference"/>
    164 
    165         <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
    166         <attr name="actionModePopupWindowStyle" format="reference"/>
    167 
    168 
    169         <!-- =================== -->
    170         <!-- Text styles -->
    171         <!-- =================== -->
    172         <eat-comment />
    173         <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
    174         <attr name="textAppearanceLargePopupMenu" format="reference"/>
    175         <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
    176         <attr name="textAppearanceSmallPopupMenu" format="reference"/>
    177         <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
    178         <attr name="textAppearancePopupMenuHeader" format="reference" />
    179 
    180 
    181         <!-- =================== -->
    182         <!-- Dialog styles -->
    183         <!-- =================== -->
    184         <eat-comment />
    185 
    186         <!-- Theme to use for dialogs spawned from this theme. -->
    187         <attr name="dialogTheme" format="reference" />
    188         <!-- Preferred padding for dialog content. -->
    189         <attr name="dialogPreferredPadding" format="dimension" />
    190         <!-- The list divider used in alert dialogs. -->
    191         <attr name="listDividerAlertDialog" format="reference" />
    192 
    193         <!-- =================== -->
    194         <!-- Other widget styles -->
    195         <!-- =================== -->
    196         <eat-comment />
    197 
    198         <!-- Default ActionBar dropdown style. -->
    199         <attr name="actionDropDownStyle" format="reference"/>
    200         <!-- The preferred item height for dropdown lists. -->
    201         <attr name="dropdownListPreferredItemHeight" format="dimension"/>
    202         <!-- Default Spinner style. -->
    203         <attr name="spinnerDropDownItemStyle" format="reference" />
    204         <!-- Specifies a drawable to use for the 'home as up' indicator. -->
    205         <attr name="homeAsUpIndicator" format="reference"/>
    206 
    207         <!-- Default action button style. -->
    208         <attr name="actionButtonStyle" format="reference"/>
    209 
    210         <!-- Style for button bars -->
    211         <attr name="buttonBarStyle" format="reference"/>
    212         <!-- Style for buttons within button bars -->
    213         <attr name="buttonBarButtonStyle" format="reference"/>
    214         <!-- A style that may be applied to buttons or other selectable items
    215              that should react to pressed and focus states, but that do not
    216              have a clear visual border along the edges. -->
    217         <attr name="selectableItemBackground" format="reference"/>
    218         <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
    219         <attr name="selectableItemBackgroundBorderless" format="reference" />
    220         <!-- Style for buttons without an explicit border, often used in groups. -->
    221         <attr name="borderlessButtonStyle" format="reference" />
    222         <!-- A drawable that may be used as a vertical divider between visual elements. -->
    223         <attr name="dividerVertical" format="reference"/>
    224         <!-- A drawable that may be used as a horizontal divider between visual elements. -->
    225         <attr name="dividerHorizontal" format="reference"/>
    226         <!-- Default ActivityChooserView style. -->
    227         <attr name="activityChooserViewStyle" format="reference" />
    228 
    229         <!-- Default Toolbar style. -->
    230         <attr name="toolbarStyle" format="reference" />
    231         <!-- Default Toolar NavigationButtonStyle -->
    232         <attr name="toolbarNavigationButtonStyle" format="reference" />
    233 
    234         <!-- Default PopupMenu style. -->
    235         <attr name="popupMenuStyle" format="reference"/>
    236         <!-- Default PopupWindow style. -->
    237         <attr name="popupWindowStyle" format="reference" />
    238 
    239         <!-- EditText text foreground color. -->
    240         <attr name="editTextColor" format="reference|color" />
    241         <!-- EditText background drawable. -->
    242         <attr name="editTextBackground" format="reference" />
    243 
    244         <!-- ImageButton background drawable. -->
    245         <attr name="imageButtonStyle" format="reference" />
    246 
    247         <!-- ============================ -->
    248         <!-- SearchView styles and assets -->
    249         <!-- ============================ -->
    250         <eat-comment />
    251         <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
    252         <attr name="textAppearanceSearchResultTitle" format="reference" />
    253         <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
    254         <attr name="textAppearanceSearchResultSubtitle" format="reference" />
    255         <!-- Text color for urls in search suggestions, used by things like global search -->
    256         <attr name="textColorSearchUrl" format="reference|color" />
    257         <!-- Style for the search query widget. -->
    258         <attr name="searchViewStyle" format="reference" />
    259 
    260         <!-- =========== -->
    261         <!-- List styles -->
    262         <!-- =========== -->
    263         <eat-comment />
    264 
    265         <!-- The preferred list item height. -->
    266         <attr name="listPreferredItemHeight" format="dimension"/>
    267         <!-- A smaller, sleeker list item height. -->
    268         <attr name="listPreferredItemHeightSmall" format="dimension"/>
    269         <!-- A larger, more robust list item height. -->
    270         <attr name="listPreferredItemHeightLarge" format="dimension"/>
    271 
    272         <!-- The preferred padding along the left edge of list items. -->
    273         <attr name="listPreferredItemPaddingLeft" format="dimension"/>
    274         <!-- The preferred padding along the right edge of list items. -->
    275         <attr name="listPreferredItemPaddingRight" format="dimension"/>
    276 
    277         <!-- ListPopupWindow compatibility -->
    278         <attr name="dropDownListViewStyle" format="reference"/>
    279         <attr name="listPopupWindowStyle" format="reference"/>
    280 
    281         <!-- The preferred TextAppearance for the primary text of list items. -->
    282         <attr name="textAppearanceListItem" format="reference"/>
    283         <!-- The preferred TextAppearance for the primary text of small list items. -->
    284         <attr name="textAppearanceListItemSmall" format="reference"/>
    285 
    286 
    287         <!-- ============ -->
    288         <!-- Panel styles -->
    289         <!-- ============ -->
    290         <eat-comment />
    291 
    292         <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
    293         <attr name="panelBackground" format="reference" />
    294         <!-- Default Panel Menu width. -->
    295         <attr name="panelMenuListWidth" format="dimension" />
    296         <!-- Default Panel Menu style. -->
    297         <attr name="panelMenuListTheme" format="reference" />
    298         <!-- Drawable used as a background for selected list items. -->
    299         <attr name="listChoiceBackgroundIndicator" format="reference" />
    300 
    301         <!-- ============= -->
    302         <!-- Color palette -->
    303         <!-- ============= -->
    304         <eat-comment />
    305 
    306         <!-- The primary branding color for the app. By default, this is the color applied to the
    307              action bar background. -->
    308         <attr name="colorPrimary" format="color" />
    309 
    310         <!-- Dark variant of the primary branding color. By default, this is the color applied to
    311              the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
    312         <attr name="colorPrimaryDark" format="color" />
    313 
    314         <!-- Bright complement to the primary branding color. By default, this is the color applied
    315              to framework controls (via colorControlActivated). -->
    316         <attr name="colorAccent" format="color" />
    317 
    318         <!-- The color applied to framework controls in their normal state. -->
    319         <attr name="colorControlNormal" format="color" />
    320 
    321         <!-- The color applied to framework controls in their activated (ex. checked) state. -->
    322         <attr name="colorControlActivated" format="color" />
    323 
    324         <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
    325         <attr name="colorControlHighlight" format="color" />
    326 
    327         <!-- The color applied to framework buttons in their normal state. -->
    328         <attr name="colorButtonNormal" format="color" />
    329 
    330         <!-- The color applied to framework switch thumbs in their normal state. -->
    331         <attr name="colorSwitchThumbNormal" format="color" />
    332 
    333         <!-- The background used by framework controls. -->
    334         <attr name="controlBackground" format="reference" />
    335 
    336         <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. -->
    337         <attr name="colorBackgroundFloating" format="color" />
    338 
    339         <!-- ============ -->
    340         <!-- Alert Dialog styles -->
    341         <!-- ============ -->
    342         <eat-comment />
    343         <attr name="alertDialogStyle" format="reference" />
    344         <attr name="alertDialogButtonGroupStyle" format="reference" />
    345         <attr name="alertDialogCenterButtons" format="boolean" />
    346         <!-- Theme to use for alert dialogs spawned from this theme. -->
    347         <attr name="alertDialogTheme" format="reference" />
    348 
    349         <!-- Color of list item text in alert dialogs. -->
    350         <attr name="textColorAlertDialogListItem" format="reference|color" />
    351 
    352         <!-- Style for the "positive" buttons within button bars -->
    353         <attr name="buttonBarPositiveButtonStyle" format="reference" />
    354 
    355         <!-- Style for the "negative" buttons within button bars -->
    356         <attr name="buttonBarNegativeButtonStyle" format="reference" />
    357 
    358         <!-- Style for the "neutral" buttons within button bars -->
    359         <attr name="buttonBarNeutralButtonStyle" format="reference" />
    360 
    361         <!-- ===================== -->
    362         <!-- Default widget styles -->
    363         <!-- ===================== -->
    364         <eat-comment />
    365 
    366         <!-- Default AutoCompleteTextView style. -->
    367         <attr name="autoCompleteTextViewStyle" format="reference" />
    368         <!-- Normal Button style. -->
    369         <attr name="buttonStyle" format="reference" />
    370         <!-- Small Button style. -->
    371         <attr name="buttonStyleSmall" format="reference" />
    372         <!-- Default Checkbox style. -->
    373         <attr name="checkboxStyle" format="reference" />
    374         <!-- Default CheckedTextView style. -->
    375         <attr name="checkedTextViewStyle" format="reference" />
    376         <!-- Default EditText style. -->
    377         <attr name="editTextStyle" format="reference" />
    378         <!-- Default RadioButton style. -->
    379         <attr name="radioButtonStyle" format="reference" />
    380         <!-- Default RatingBar style. -->
    381         <attr name="ratingBarStyle" format="reference" />
    382         <!-- Indicator RatingBar style. -->
    383         <attr name="ratingBarStyleIndicator" format="reference" />
    384         <!-- Small indicator RatingBar style. -->
    385         <attr name="ratingBarStyleSmall" format="reference" />
    386         <!-- Default SeekBar style. -->
    387         <attr name="seekBarStyle" format="reference" />
    388         <!-- Default Spinner style. -->
    389         <attr name="spinnerStyle" format="reference" />
    390         <!-- Default style for the Switch widget. -->
    391         <attr name="switchStyle" format="reference" />
    392 
    393         <!-- Default menu-style ListView style. -->
    394         <attr name="listMenuViewStyle" format="reference" />
    395     </declare-styleable>
    396 
    397 
    398     <!-- ============================================ -->
    399 
    400     <!-- Attributes used to style the Action Bar.
    401          These should be set on your theme; the default actionBarStyle will
    402          propagate them to the correct elements as needed.
    403 
    404          Please Note: when overriding attributes for an ActionBar style
    405          you must specify each attribute twice: once with the "android:"
    406          namespace prefix and once without. -->
    407     <declare-styleable name="ActionBar">
    408         <!-- The type of navigation to use. -->
    409         <attr name="navigationMode">
    410             <!-- Normal static title text -->
    411             <enum name="normal" value="0"/>
    412             <!-- The action bar will use a selection list for navigation. -->
    413             <enum name="listMode" value="1"/>
    414             <!-- The action bar will use a series of horizontal tabs for navigation. -->
    415             <enum name="tabMode" value="2"/>
    416         </attr>
    417         <!-- Options affecting how the action bar is displayed. -->
    418         <attr name="displayOptions">
    419             <flag name="none" value="0" />
    420             <flag name="useLogo" value="0x1"/>
    421             <flag name="showHome" value="0x2"/>
    422             <flag name="homeAsUp" value="0x4"/>
    423             <flag name="showTitle" value="0x8"/>
    424             <flag name="showCustom" value="0x10"/>
    425             <flag name="disableHome" value="0x20"/>
    426         </attr>
    427         <!-- Specifies title text used for navigationMode="normal" -->
    428         <attr name="title"/>
    429         <!-- Specifies subtitle text used for navigationMode="normal" -->
    430         <attr name="subtitle" format="string"/>
    431         <!-- Specifies a style to use for title text. -->
    432         <attr name="titleTextStyle" format="reference"/>
    433         <!-- Specifies a style to use for subtitle text. -->
    434         <attr name="subtitleTextStyle" format="reference"/>
    435         <!-- Specifies the drawable used for the application icon. -->
    436         <attr name="icon" format="reference"/>
    437         <!-- Specifies the drawable used for the application logo. -->
    438         <attr name="logo" format="reference"/>
    439         <!-- Specifies the drawable used for item dividers. -->
    440         <attr name="divider" format="reference"/>
    441         <!-- Specifies a background drawable for the action bar. -->
    442         <attr name="background" format="reference"/>
    443         <!-- Specifies a background drawable for a second stacked row of the action bar. -->
    444         <attr name="backgroundStacked" format="reference|color"/>
    445         <!-- Specifies a background drawable for the bottom component of a split action bar. -->
    446         <attr name="backgroundSplit" format="reference|color"/>
    447         <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
    448         <attr name="customNavigationLayout" format="reference"/>
    449         <!-- Specifies a fixed height. -->
    450         <attr name="height"/>
    451         <!-- Specifies a layout to use for the "home" section of the action bar. -->
    452         <attr name="homeLayout" format="reference"/>
    453         <!-- Specifies a style resource to use for an embedded progress bar. -->
    454         <attr name="progressBarStyle" format="reference"/>
    455         <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
    456         <attr name="indeterminateProgressStyle" format="reference"/>
    457         <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
    458         <attr name="progressBarPadding" format="dimension"/>
    459         <!-- Up navigation glyph -->
    460         <attr name="homeAsUpIndicator" />
    461         <!-- Specifies padding that should be applied to the left and right sides of
    462              system-provided items in the bar. -->
    463         <attr name="itemPadding" format="dimension"/>
    464         <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
    465         <attr name="hideOnContentScroll" format="boolean"/>
    466         <!-- Minimum inset for content views within a bar. Navigation buttons and
    467              menu views are excepted. Only valid for some themes and configurations. -->
    468         <attr name="contentInsetStart" format="dimension"/>
    469         <!-- Minimum inset for content views within a bar. Navigation buttons and
    470              menu views are excepted. Only valid for some themes and configurations. -->
    471         <attr name="contentInsetEnd" format="dimension"/>
    472         <!-- Minimum inset for content views within a bar. Navigation buttons and
    473              menu views are excepted. Only valid for some themes and configurations. -->
    474         <attr name="contentInsetLeft" format="dimension"/>
    475         <!-- Minimum inset for content views within a bar. Navigation buttons and
    476              menu views are excepted. Only valid for some themes and configurations. -->
    477         <attr name="contentInsetRight" format="dimension"/>
    478         <!-- Minimum inset for content views within a bar when a navigation button
    479              is present, such as the Up button. Only valid for some themes and configurations. -->
    480         <attr name="contentInsetStartWithNavigation" format="dimension" />
    481         <!-- Minimum inset for content views within a bar when actions from a menu
    482              are present. Only valid for some themes and configurations. -->
    483         <attr name="contentInsetEndWithActions" format="dimension" />
    484         <!-- Elevation for the action bar itself -->
    485         <attr name="elevation" format="dimension" />
    486         <!-- Reference to a theme that should be used to inflate popups
    487              shown by widgets in the action bar. -->
    488         <attr name="popupTheme" format="reference" />
    489     </declare-styleable>
    490 
    491     <!-- Valid LayoutParams for views placed in the action bar as custom views. -->
    492     <declare-styleable name="ActionBarLayout">
    493         <attr name="android:layout_gravity"/>
    494     </declare-styleable>
    495 
    496     <declare-styleable name="ActionMenuItemView">
    497         <attr name="android:minWidth"/>
    498     </declare-styleable>
    499 
    500     <declare-styleable name="ActionMode">
    501         <!-- Specifies a style to use for title text. -->
    502         <attr name="titleTextStyle"/>
    503         <!-- Specifies a style to use for subtitle text. -->
    504         <attr name="subtitleTextStyle"/>
    505         <!-- Specifies a background for the action mode bar. -->
    506         <attr name="background"/>
    507         <!-- Specifies a background for the split action mode bar. -->
    508         <attr name="backgroundSplit"/>
    509         <!-- Specifies a fixed height for the action mode bar. -->
    510         <attr name="height"/>
    511         <!-- Specifies a layout to use for the "close" item at the starting edge. -->
    512         <attr name="closeItemLayout" format="reference" />
    513     </declare-styleable>
    514 
    515     <declare-styleable name="View">
    516         <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
    517         <attr name="paddingStart" format="dimension"/>
    518         <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
    519         <attr name="paddingEnd" format="dimension"/>
    520         <!-- Boolean that controls whether a view can take focus.  By default the user can not
    521              move focus to a view; by setting this attribute to true the view is
    522              allowed to take focus.  This value does not impact the behavior of
    523              directly calling {@link android.view.View#requestFocus}, which will
    524              always request focus regardless of this view.  It only impacts where
    525              focus navigation will try to move focus. -->
    526         <attr name="android:focusable" />
    527         <!-- Deprecated. -->
    528         <attr name="theme" format="reference" />
    529         <!-- Specifies a theme override for a view. When a theme override is set, the
    530              view will be inflated using a {@link android.content.Context} themed with
    531              the specified resource. -->
    532         <attr name="android:theme" />
    533     </declare-styleable>
    534 
    535     <declare-styleable name="ViewBackgroundHelper">
    536         <attr name="android:background" />
    537         <!-- Tint to apply to the background. -->
    538         <attr name="backgroundTint" format="color" />
    539 
    540         <!-- Blending mode used to apply the background tint. -->
    541         <attr name="backgroundTintMode">
    542             <!-- The tint is drawn on top of the drawable.
    543                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
    544             <enum name="src_over" value="3" />
    545             <!-- The tint is masked by the alpha channel of the drawable. The drawables
    546                  color channels are thrown out. [Sa * Da, Sc * Da] -->
    547             <enum name="src_in" value="5" />
    548             <!-- The tint is drawn above the drawable, but with the drawables alpha
    549                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
    550             <enum name="src_atop" value="9" />
    551             <!-- Multiplies the color and alpha channels of the drawable with those of
    552                  the tint. [Sa * Da, Sc * Dc] -->
    553             <enum name="multiply" value="14" />
    554             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
    555             <enum name="screen" value="15" />
    556         </attr>
    557     </declare-styleable>
    558 
    559     <declare-styleable name="MenuView">
    560         <!-- Default appearance of menu item text. -->
    561         <attr name="android:itemTextAppearance"/>
    562         <!-- Default horizontal divider between rows of menu items. -->
    563         <attr name="android:horizontalDivider"/>
    564         <!-- Default vertical divider between menu items. -->
    565         <attr name="android:verticalDivider"/>
    566         <!-- Default background for the menu header. -->
    567         <attr name="android:headerBackground"/>
    568         <!-- Default background for each menu item. -->
    569         <attr name="android:itemBackground"/>
    570         <!-- Default animations for the menu. -->
    571         <attr name="android:windowAnimationStyle"/>
    572         <!-- Default disabled icon alpha for each menu item that shows an icon. -->
    573         <attr name="android:itemIconDisabledAlpha"/>
    574         <!-- Whether space should be reserved in layout when an icon is missing. -->
    575         <attr name="preserveIconSpacing" format="boolean" />
    576         <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
    577         <attr name="subMenuArrow" format="reference" />
    578     </declare-styleable>
    579     <declare-styleable name="ActionMenuView">
    580         <!-- Size of padding on either end of a divider. -->
    581     </declare-styleable>
    582 
    583     <!-- Base attributes that are available to all groups. -->
    584     <declare-styleable name="MenuGroup">
    585 
    586         <!-- The ID of the group. -->
    587         <attr name="android:id" />
    588 
    589         <!-- The category applied to all items within this group.
    590              (This will be or'ed with the orderInCategory attribute.) -->
    591         <attr name="android:menuCategory" />
    592 
    593         <!-- The order within the category applied to all items within this group.
    594              (This will be or'ed with the category attribute.) -->
    595         <attr name="android:orderInCategory" />
    596 
    597         <!-- Whether the items are capable of displaying a check mark. -->
    598         <attr name="android:checkableBehavior" />
    599 
    600         <!-- Whether the items are shown/visible. -->
    601         <attr name="android:visible" />
    602 
    603         <!-- Whether the items are enabled. -->
    604         <attr name="android:enabled" />
    605 
    606     </declare-styleable>
    607 
    608     <!-- Base attributes that are available to all Item objects. -->
    609     <declare-styleable name="MenuItem">
    610 
    611         <!-- The ID of the item. -->
    612         <attr name="android:id" />
    613 
    614         <!-- The category applied to the item.
    615              (This will be or'ed with the orderInCategory attribute.) -->
    616         <attr name="android:menuCategory" />
    617 
    618         <!-- The order within the category applied to the item.
    619              (This will be or'ed with the category attribute.) -->
    620         <attr name="android:orderInCategory" />
    621 
    622         <!-- The title associated with the item. -->
    623         <attr name="android:title" />
    624 
    625         <!-- The condensed title associated with the item.  This is used in situations where the
    626              normal title may be too long to be displayed. -->
    627         <attr name="android:titleCondensed" />
    628 
    629         <!-- The icon associated with this item.  This icon will not always be shown, so
    630              the title should be sufficient in describing this item. -->
    631         <attr name="android:icon" />
    632 
    633         <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
    634              with alphabetic keys. -->
    635         <attr name="android:alphabeticShortcut" />
    636 
    637         <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
    638              keyboard. -->
    639         <attr name="android:numericShortcut" />
    640 
    641         <!-- Whether the item is capable of displaying a check mark. -->
    642         <attr name="android:checkable" />
    643 
    644         <!-- Whether the item is checked.  Note that you must first have enabled checking with
    645              the checkable attribute or else the check mark will not appear. -->
    646         <attr name="android:checked"  />
    647 
    648         <!-- Whether the item is shown/visible. -->
    649         <attr name="android:visible" />
    650 
    651         <!-- Whether the item is enabled. -->
    652         <attr name="android:enabled" />
    653 
    654         <!-- Name of a method on the Context used to inflate the menu that will be
    655              called when the item is clicked. -->
    656         <attr name="android:onClick" />
    657 
    658         <!-- How this item should display in the Action Bar, if present. -->
    659         <attr name="showAsAction">
    660             <!-- Never show this item in an action bar, show it in the overflow menu instead.
    661                  Mutually exclusive with "ifRoom" and "always". -->
    662             <flag name="never" value="0" />
    663             <!-- Show this item in an action bar if there is room for it as determined
    664                  by the system. Favor this option over "always" where possible.
    665                  Mutually exclusive with "never" and "always". -->
    666             <flag name="ifRoom" value="1" />
    667             <!-- Always show this item in an actionbar, even if it would override
    668                  the system's limits of how much stuff to put there. This may make
    669                  your action bar look bad on some screens. In most cases you should
    670                  use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
    671             <flag name="always" value="2" />
    672             <!-- When this item is shown as an action in the action bar, show a text
    673                  label with it even if it has an icon representation. -->
    674             <flag name="withText" value="4" />
    675             <!-- This item's action view collapses to a normal menu
    676                  item. When expanded, the action view takes over a
    677                  larger segment of its container. -->
    678             <flag name="collapseActionView" value="8" />
    679         </attr>
    680 
    681         <!-- An optional layout to be used as an action view.
    682              See {@link android.view.MenuItem#setActionView(android.view.View)}
    683              for more info. -->
    684         <attr name="actionLayout" format="reference" />
    685 
    686         <!-- The name of an optional View class to instantiate and use as an
    687              action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
    688              for more info. -->
    689         <attr name="actionViewClass" format="string" />
    690 
    691         <!-- The name of an optional ActionProvider class to instantiate an action view
    692              and perform operations such as default action for that menu item.
    693              See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
    694              for more info. -->
    695         <attr name="actionProviderClass" format="string" />
    696 
    697     </declare-styleable>
    698 
    699     <declare-styleable name="Spinner">
    700         <!-- The prompt to display when the spinner's dialog is shown. -->
    701         <attr name="android:prompt" />
    702         <!-- Theme to use for the drop-down or dialog popup window. -->
    703         <attr name="popupTheme" />
    704         <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
    705         <attr name="android:popupBackground" />
    706         <!-- Width of the dropdown in spinnerMode="dropdown". -->
    707         <attr name="android:dropDownWidth" />
    708         <!-- Reference to an array resource that will populate the Spinner. -->
    709         <attr name="android:entries" />
    710     </declare-styleable>
    711 
    712     <declare-styleable name="SearchView">
    713         <!-- The layout to use for the search view. -->
    714         <attr name="layout" format="reference" />
    715         <!-- The default state of the SearchView. If true, it will be iconified when not in
    716              use and expanded when clicked. -->
    717         <attr name="iconifiedByDefault" format="boolean" />
    718         <!-- An optional maximum width of the SearchView. -->
    719         <attr name="android:maxWidth" />
    720         <!-- An optional user-defined query hint string to be displayed in the empty query field. -->
    721         <attr name="queryHint" format="string" />
    722         <!-- Default query hint used when {@code queryHint} is undefined and
    723              the search view's {@code SearchableInfo} does not provide a hint. -->
    724         <attr name="defaultQueryHint" format="string" />
    725         <!-- The IME options to set on the query text field. -->
    726         <attr name="android:imeOptions" />
    727         <!-- The input type to set on the query text field. -->
    728         <attr name="android:inputType" />
    729         <!-- Close button icon -->
    730         <attr name="closeIcon" format="reference" />
    731         <!-- Go button icon -->
    732         <attr name="goIcon" format="reference" />
    733         <!-- Search icon -->
    734         <attr name="searchIcon" format="reference" />
    735         <!-- Search icon displayed as a text field hint -->
    736         <attr name="searchHintIcon" format="reference" />
    737         <!-- Voice button icon -->
    738         <attr name="voiceIcon" format="reference" />
    739         <!-- Commit icon shown in the query suggestion row -->
    740         <attr name="commitIcon" format="reference" />
    741         <!-- Layout for query suggestion rows -->
    742         <attr name="suggestionRowLayout" format="reference" />
    743         <!-- Background for the section containing the search query -->
    744         <attr name="queryBackground" format="reference" />
    745         <!-- Background for the section containing the action (e.g. voice search) -->
    746         <attr name="submitBackground" format="reference" />
    747         <attr name="android:focusable" />
    748     </declare-styleable>
    749 
    750     <!-- Attrbitutes for a ActivityChooserView. -->
    751     <declare-styleable name="ActivityChooserView">
    752         <!-- The maximal number of items initially shown in the activity list. -->
    753         <attr name="initialActivityCount" format="string" />
    754         <!-- The drawable to show in the button for expanding the activities overflow popup.
    755              <strong>Note:</strong> Clients would like to set this drawable
    756              as a clue about the action the chosen activity will perform. For
    757              example, if share activity is to be chosen the drawable should
    758              give a clue that sharing is to be performed.
    759          -->
    760         <attr name="expandActivityOverflowButtonDrawable" format="reference" />
    761     </declare-styleable>
    762 
    763     <declare-styleable name="AppCompatTextView">
    764         <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
    765         <attr name="textAllCaps" format="reference|boolean" />
    766         <attr name="android:textAppearance" />
    767     </declare-styleable>
    768 
    769     <declare-styleable name="LinearLayoutCompat">
    770         <!-- Should the layout be a column or a row?  Use "horizontal"
    771              for a row, "vertical" for a column.  The default is
    772              horizontal. -->
    773         <attr name="android:orientation" />
    774         <attr name="android:gravity" />
    775         <!-- When set to false, prevents the layout from aligning its children's
    776              baselines. This attribute is particularly useful when the children
    777              use different values for gravity. The default value is true. -->
    778         <attr name="android:baselineAligned" />
    779         <!-- When a linear layout is part of another layout that is baseline
    780           aligned, it can specify which of its children to baseline align to
    781           (that is, which child TextView).-->
    782         <attr name="android:baselineAlignedChildIndex" />
    783         <!-- Defines the maximum weight sum. If unspecified, the sum is computed
    784              by adding the layout_weight of all of the children. This can be
    785              used for instance to give a single child 50% of the total available
    786              space by giving it a layout_weight of 0.5 and setting the weightSum
    787              to 1.0. -->
    788         <attr name="android:weightSum" />
    789         <!-- When set to true, all children with a weight will be considered having
    790              the minimum size of the largest child. If false, all children are
    791              measured normally. -->
    792         <attr name="measureWithLargestChild" format="boolean" />
    793         <!-- Drawable to use as a vertical divider between buttons. -->
    794         <attr name="divider" />
    795         <!-- Setting for which dividers to show. -->
    796         <attr name="showDividers">
    797             <flag name="none" value="0" />
    798             <flag name="beginning" value="1" />
    799             <flag name="middle" value="2" />
    800             <flag name="end" value="4" />
    801         </attr>
    802         <!-- Size of padding on either end of a divider. -->
    803         <attr name="dividerPadding" format="dimension" />
    804     </declare-styleable>
    805 
    806     <declare-styleable name="LinearLayoutCompat_Layout">
    807         <attr name="android:layout_width" />
    808         <attr name="android:layout_height" />
    809         <attr name="android:layout_weight" />
    810         <attr name="android:layout_gravity" />
    811     </declare-styleable>
    812 
    813     <declare-styleable name="Toolbar">
    814         <attr name="titleTextAppearance" format="reference" />
    815         <attr name="subtitleTextAppearance" format="reference" />
    816         <attr name="title" />
    817         <attr name="subtitle" />
    818         <attr name="android:gravity" />
    819         <!--  Specifies extra space on the left, start, right and end sides
    820               of the toolbar's title. Margin values should be positive. -->
    821         <attr name="titleMargin" format="dimension" />
    822         <!--  Specifies extra space on the start side of the toolbar's title.
    823               If both this attribute and titleMargin are specified, then this
    824               attribute takes precedence. Margin values should be positive. -->
    825         <attr name="titleMarginStart" format="dimension" />
    826         <!--  Specifies extra space on the end side of the toolbar's title.
    827               If both this attribute and titleMargin are specified, then this
    828               attribute takes precedence. Margin values should be positive. -->
    829         <attr name="titleMarginEnd" format="dimension" />
    830         <!--  Specifies extra space on the top side of the toolbar's title.
    831               If both this attribute and titleMargin are specified, then this
    832               attribute takes precedence. Margin values should be positive. -->
    833         <attr name="titleMarginTop" format="dimension" />
    834         <!--  Specifies extra space on the bottom side of the toolbar's title.
    835               If both this attribute and titleMargin are specified, then this
    836               attribute takes precedence. Margin values should be positive. -->
    837         <attr name="titleMarginBottom" format="dimension" />
    838         <!-- {@deprecated Use titleMargin} -->
    839         <attr name="titleMargins" format="dimension" />
    840         <attr name="contentInsetStart" />
    841         <attr name="contentInsetEnd" />
    842         <attr name="contentInsetLeft" />
    843         <attr name="contentInsetRight" />
    844         <attr name="contentInsetStartWithNavigation" />
    845         <attr name="contentInsetEndWithActions" />
    846         <attr name="maxButtonHeight" format="dimension" />
    847         <attr name="buttonGravity">
    848             <!-- Push object to the top of its container, not changing its size. -->
    849             <flag name="top" value="0x30" />
    850             <!-- Push object to the bottom of its container, not changing its size. -->
    851             <flag name="bottom" value="0x50" />
    852         </attr>
    853         <!-- Icon drawable to use for the collapse button. -->
    854         <attr name="collapseIcon" format="reference" />
    855         <!-- Text to set as the content description for the collapse button. -->
    856         <attr name="collapseContentDescription" format="string" />
    857         <!-- Reference to a theme that should be used to inflate popups
    858              shown by widgets in the toolbar. -->
    859         <attr name="popupTheme" />
    860         <!-- Icon drawable to use for the navigation button located at
    861              the start of the toolbar. -->
    862         <attr name="navigationIcon" format="reference" />
    863         <!-- Text to set as the content description for the navigation button
    864              located at the start of the toolbar. -->
    865         <attr name="navigationContentDescription" format="string" />
    866         <!-- Drawable to set as the logo that appears at the starting side of
    867              the Toolbar, just after the navigation button. -->
    868         <attr name="logo" />
    869         <!-- A content description string to describe the appearance of the
    870              associated logo image. -->
    871         <attr name="logoDescription" format="string" />
    872         <!-- A color to apply to the title string. -->
    873         <attr name="titleTextColor" format="color" />
    874         <!-- A color to apply to the subtitle string. -->
    875         <attr name="subtitleTextColor" format="color" />
    876         <attr name="android:minHeight" />
    877     </declare-styleable>
    878 
    879     <declare-styleable name="PopupWindowBackgroundState">
    880         <!-- State identifier indicating the popup will be above the anchor. -->
    881         <attr name="state_above_anchor" format="boolean" />
    882     </declare-styleable>
    883 
    884     <declare-styleable name="ListPopupWindow">
    885         <!-- Amount of pixels by which the drop down should be offset vertically. -->
    886         <attr name="android:dropDownVerticalOffset" />
    887         <!-- Amount of pixels by which the drop down should be offset horizontally. -->
    888         <attr name="android:dropDownHorizontalOffset" />
    889     </declare-styleable>
    890 
    891     <declare-styleable name="PopupWindow">
    892         <!-- Whether the popup window should overlap its anchor view. -->
    893         <attr name="overlapAnchor" format="boolean" />
    894         <attr name="android:popupBackground" />
    895         <attr name="android:popupAnimationStyle"/>
    896     </declare-styleable>
    897 
    898     <declare-styleable name="DrawerArrowToggle">
    899         <!-- The drawing color for the bars -->
    900         <attr name="color" format="color"/>
    901         <!-- Whether bars should rotate or not during transition -->
    902         <attr name="spinBars" format="boolean"/>
    903         <!-- The total size of the drawable -->
    904         <attr name="drawableSize" format="dimension"/>
    905         <!-- The max gap between the bars when they are parallel to each other -->
    906         <attr name="gapBetweenBars" format="dimension"/>
    907         <!-- The length of the arrow head when formed to make an arrow -->
    908         <attr name="arrowHeadLength" format="dimension"/>
    909         <!-- The length of the shaft when formed to make an arrow -->
    910         <attr name="arrowShaftLength" format="dimension"/>
    911         <!-- The length of the bars when they are parallel to each other -->
    912         <attr name="barLength" format="dimension"/>
    913         <!-- The thickness (stroke size) for the bar paint -->
    914         <attr name="thickness" format="dimension"/>
    915     </declare-styleable>
    916 
    917     <attr name="drawerArrowStyle" format="reference" />
    918 
    919     <declare-styleable name="ViewStubCompat">
    920         <!-- Supply an identifier for the layout resource to inflate when the ViewStub
    921              becomes visible or when forced to do so. The layout resource must be a
    922              valid reference to a layout. -->
    923         <attr name="android:layout" />
    924         <!-- Overrides the id of the inflated View with this value. -->
    925         <attr name="android:inflatedId" />
    926         <attr name="android:id" />
    927     </declare-styleable>
    928 
    929     <declare-styleable name="CompoundButton">
    930         <attr name="android:button"/>
    931         <!-- Tint to apply to the button drawable. -->
    932         <attr name="buttonTint" format="color" />
    933 
    934         <!-- Blending mode used to apply the button tint. -->
    935         <attr name="buttonTintMode">
    936             <!-- The tint is drawn on top of the drawable.
    937                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
    938             <enum name="src_over" value="3" />
    939             <!-- The tint is masked by the alpha channel of the drawable. The drawables
    940                  color channels are thrown out. [Sa * Da, Sc * Da] -->
    941             <enum name="src_in" value="5" />
    942             <!-- The tint is drawn above the drawable, but with the drawables alpha
    943                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
    944             <enum name="src_atop" value="9" />
    945             <!-- Multiplies the color and alpha channels of the drawable with those of
    946                  the tint. [Sa * Da, Sc * Dc] -->
    947             <enum name="multiply" value="14" />
    948             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
    949             <enum name="screen" value="15" />
    950         </attr>
    951     </declare-styleable>
    952 
    953     <declare-styleable name="SwitchCompat">
    954         <!-- Drawable to use as the "thumb" that switches back and forth. -->
    955         <attr name="android:thumb" />
    956         <!-- Tint to apply to the thumb drawable. -->
    957         <attr name="thumbTint" format="color" />
    958         <!-- Blending mode used to apply the thumb tint. -->
    959         <attr name="thumbTintMode">
    960             <!-- The tint is drawn on top of the drawable.
    961                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
    962             <enum name="src_over" value="3" />
    963             <!-- The tint is masked by the alpha channel of the drawable. The drawables
    964                  color channels are thrown out. [Sa * Da, Sc * Da] -->
    965             <enum name="src_in" value="5" />
    966             <!-- The tint is drawn above the drawable, but with the drawables alpha
    967                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
    968             <enum name="src_atop" value="9" />
    969             <!-- Multiplies the color and alpha channels of the drawable with those of
    970                  the tint. [Sa * Da, Sc * Dc] -->
    971             <enum name="multiply" value="14" />
    972             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
    973             <enum name="screen" value="15" />
    974             <!-- Combines the tint and drawable color and alpha channels, clamping the
    975                  result to valid color values. Saturate(S + D) -->
    976             <enum name="add" value="16" />
    977         </attr>
    978         <!-- Drawable to use as the "track" that the switch thumb slides within. -->
    979         <attr name="track" format="reference" />
    980         <!-- Tint to apply to the track. -->
    981         <attr name="trackTint" format="color" />
    982         <!-- Blending mode used to apply the track tint. -->
    983         <attr name="trackTintMode">
    984             <!-- The tint is drawn on top of the drawable.
    985                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
    986             <enum name="src_over" value="3" />
    987             <!-- The tint is masked by the alpha channel of the drawable. The drawables
    988                  color channels are thrown out. [Sa * Da, Sc * Da] -->
    989             <enum name="src_in" value="5" />
    990             <!-- The tint is drawn above the drawable, but with the drawables alpha
    991                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
    992             <enum name="src_atop" value="9" />
    993             <!-- Multiplies the color and alpha channels of the drawable with those of
    994                  the tint. [Sa * Da, Sc * Dc] -->
    995             <enum name="multiply" value="14" />
    996             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
    997             <enum name="screen" value="15" />
    998             <!-- Combines the tint and drawable color and alpha channels, clamping the
    999                  result to valid color values. Saturate(S + D) -->
   1000             <enum name="add" value="16" />
   1001         </attr>
   1002         <!-- Text to use when the switch is in the checked/"on" state. -->
   1003         <attr name="android:textOn" />
   1004         <!-- Text to use when the switch is in the unchecked/"off" state. -->
   1005         <attr name="android:textOff" />
   1006         <!-- Amount of padding on either side of text within the switch thumb. -->
   1007         <attr name="thumbTextPadding" format="dimension" />
   1008         <!-- TextAppearance style for text displayed on the switch thumb. -->
   1009         <attr name="switchTextAppearance" format="reference" />
   1010         <!-- Minimum width for the switch component -->
   1011         <attr name="switchMinWidth" format="dimension" />
   1012         <!-- Minimum space between the switch and caption text -->
   1013         <attr name="switchPadding" format="dimension" />
   1014         <!-- Whether to split the track and leave a gap for the thumb drawable. -->
   1015         <attr name="splitTrack" format="boolean" />
   1016         <!-- Whether to draw on/off text. -->
   1017         <attr name="showText" format="boolean" />
   1018     </declare-styleable>
   1019 
   1020     <declare-styleable name="TextAppearance">
   1021         <attr name="android:textSize" />
   1022         <attr name="android:textColor" />
   1023         <attr name="android:textStyle" />
   1024         <attr name="android:typeface" />
   1025         <attr name="textAllCaps" />
   1026         <attr name="android:shadowColor"/>
   1027         <attr name="android:shadowDy"/>
   1028         <attr name="android:shadowDx"/>
   1029         <attr name="android:shadowRadius"/>
   1030     </declare-styleable>
   1031 
   1032     <!-- The set of attributes that describe a AlertDialog's theme. -->
   1033     <declare-styleable name="AlertDialog">
   1034         <attr name="android:layout" />
   1035         <attr name="buttonPanelSideLayout" format="reference" />
   1036         <attr name="listLayout" format="reference" />
   1037         <attr name="multiChoiceItemLayout" format="reference" />
   1038         <attr name="singleChoiceItemLayout" format="reference" />
   1039         <attr name="listItemLayout" format="reference" />
   1040     </declare-styleable>
   1041 
   1042     <!-- @hide -->
   1043     <declare-styleable name="ButtonBarLayout">
   1044         <!-- Whether to automatically stack the buttons when there is not
   1045              enough space to lay them out side-by-side. -->
   1046         <attr name="allowStacking" format="boolean" />
   1047     </declare-styleable>
   1048 
   1049     <!-- Attributes that can be assigned to a ColorStateList item. -->
   1050     <declare-styleable name="ColorStateListItem">
   1051         <!-- Base color for this state. -->
   1052         <attr name="android:color" />
   1053         <!-- Alpha multiplier applied to the base color. -->
   1054         <attr name="alpha" format="float" />
   1055         <attr name="android:alpha"/>
   1056     </declare-styleable>
   1057 
   1058     <declare-styleable name="AppCompatImageView">
   1059         <attr name="android:src"/>
   1060         <!-- Sets a drawable as the content of this ImageView. Allows the use of vector drawable
   1061              when running on older versions of the platform. -->
   1062         <attr name="srcCompat" format="reference" />
   1063     </declare-styleable>
   1064 
   1065     <declare-styleable name="AppCompatSeekBar">
   1066         <attr name="android:thumb" />
   1067         <!-- Drawable displayed at each progress position on a seekbar. -->
   1068         <attr name="tickMark" format="reference" />
   1069         <!-- Tint to apply to the tick mark drawable. -->
   1070         <attr name="tickMarkTint" format="color" />
   1071         <!-- Blending mode used to apply the tick mark tint. -->
   1072         <attr name="tickMarkTintMode">
   1073             <!-- The tint is drawn on top of the drawable.
   1074                  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
   1075             <enum name="src_over" value="3" />
   1076             <!-- The tint is masked by the alpha channel of the drawable. The drawables
   1077                  color channels are thrown out. [Sa * Da, Sc * Da] -->
   1078             <enum name="src_in" value="5" />
   1079             <!-- The tint is drawn above the drawable, but with the drawables alpha
   1080                  channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
   1081             <enum name="src_atop" value="9" />
   1082             <!-- Multiplies the color and alpha channels of the drawable with those of
   1083                  the tint. [Sa * Da, Sc * Dc] -->
   1084             <enum name="multiply" value="14" />
   1085             <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
   1086             <enum name="screen" value="15" />
   1087             <!-- Combines the tint and drawable color and alpha channels, clamping the
   1088                  result to valid color values. Saturate(S + D) -->
   1089             <enum name="add" value="16" />
   1090         </attr>
   1091     </declare-styleable>
   1092 
   1093     <declare-styleable name="AppCompatTextHelper">
   1094         <attr name="android:drawableLeft" />
   1095         <attr name="android:drawableTop" />
   1096         <attr name="android:drawableRight" />
   1097         <attr name="android:drawableBottom" />
   1098         <attr name="android:drawableStart" />
   1099         <attr name="android:drawableEnd" />
   1100         <attr name="android:textAppearance" />
   1101     </declare-styleable>
   1102 
   1103 </resources>
   1104