Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2014 The Android Open Source Project
      4 
      5      Licensed under the Apache License, Version 2.0 (the "License");
      6      you may not use this file except in compliance with the License.
      7      You may obtain a copy of the License at
      8 
      9           http://www.apache.org/licenses/LICENSE-2.0
     10 
     11      Unless required by applicable law or agreed to in writing, software
     12      distributed under the License is distributed on an "AS IS" BASIS,
     13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 
     18 <resources>
     19     <declare-styleable name="lbBaseGridView">
     20         <!-- Allow DPAD key to navigate out at the front of the View (where position = 0),
     21              default is false  -->
     22         <attr name="focusOutFront" format="boolean" />
     23         <!-- Allow DPAD key to navigate out at the end of the view, default is false -->
     24         <attr name="focusOutEnd" format="boolean" />
     25         <!-- Allow DPAD key to navigate out of first row, for HorizontalGridView, it's the
     26              top edge, for VerticalGridView it's the "start" edge.  Default value is true.  -->
     27         <attr name="focusOutSideStart" format="boolean" />
     28         <!-- Allow DPAD key to navigate out of last row, for HorizontalGridView, it's the
     29              bottom edge, for VerticalGridView it's the "end" edge.  Default value is true.  -->
     30         <attr name="focusOutSideEnd" format="boolean" />
     31         <!-- Defining margin between two items horizontally -->
     32         <attr name="horizontalMargin" format="dimension" />
     33         <!-- Defining margin between two items vertically -->
     34         <attr name="verticalMargin" format="dimension" />
     35         <!-- Defining gravity of child view -->
     36         <attr name="android:gravity" />
     37     </declare-styleable>
     38 
     39     <declare-styleable name="lbHorizontalGridView">
     40         <!-- Defining height of each row of HorizontalGridView -->
     41         <attr name="rowHeight" format="dimension" >
     42             <enum name="wrap_content" value="-2" />
     43         </attr>
     44         <!-- Defining number of rows -->
     45         <attr name="numberOfRows" format="integer" />
     46     </declare-styleable>
     47 
     48     <declare-styleable name="lbVerticalGridView">
     49         <!-- Defining width of each column of VerticalGridView -->
     50         <attr name="columnWidth" format="dimension" >
     51             <enum name="wrap_content" value="-2" />
     52         </attr>
     53         <!-- Defining number of columns -->
     54         <attr name="numberOfColumns" format="integer" />
     55     </declare-styleable>
     56 
     57     <declare-styleable name="lbBaseCardView">
     58         <!-- Defines the background of card -->
     59         <attr name="cardForeground" format="reference|color"/>
     60         <!-- Defines the background of card -->
     61         <attr name="cardBackground" format="reference|color"/>
     62         <!-- Defines the type of the card layout -->
     63         <attr name="cardType" format="enum">
     64             <!-- A simple card layout with a single layout region. -->
     65             <enum name="mainOnly" value="0" />
     66             <!-- A card layout with two layout regions: a main area which is
     67                  always visible, and an info region that appears over the lower
     68                  area of the main region. -->
     69             <enum name="infoOver" value="1" />
     70             <!-- A card layout with two layout regions: a main area which is
     71                  always visible, and an info region that appears below the main
     72                  region. -->
     73             <enum name="infoUnder" value="2" />
     74             <!-- A card layout with three layout regions: a main area which is
     75                  always visible, an info region that appears below the main
     76                  region, and an extra region that appears below the info region
     77                  after a small delay. -->
     78             <enum name="infoUnderWithExtra" value="3" />
     79         </attr>
     80         <!-- Defines when the info region of a card layout is displayed. -->
     81         <attr name="infoVisibility" format="enum">
     82             <!-- Always display the info region. -->
     83             <enum name="always" value="0"/>
     84             <!-- Display the info region only when activated. -->
     85             <enum name="activated" value="1"/>
     86             <!-- Display the info region only when selected. -->
     87             <enum name="selected" value="2"/>
     88         </attr>
     89         <!-- Defines when the extra region of a card layout is displayed.
     90              Depends on infoVisibility, meaning the extra region never displays
     91              if the info region is not displayed as well. -->
     92         <attr name="extraVisibility" format="enum">
     93             <!-- Always display the extra region. -->
     94             <enum name="always" value="0"/>
     95             <!-- Display the extra region only when activated. -->
     96             <enum name="activated" value="1"/>
     97             <!-- Display the extra region only when selected. -->
     98             <enum name="selected" value="2"/>
     99         </attr>
    100         <!-- Defines the delay in milliseconds before the selection animation
    101              runs for a card layout. -->
    102         <attr name="selectedAnimationDelay" format="integer" />
    103         <!-- Defines the duration in milliseconds of the selection animation for
    104              a card layout. -->
    105         <attr name="selectedAnimationDuration" format="integer" />
    106         <!-- Defines the duration in milliseconds of the activated animation for
    107              a card layout. -->
    108         <attr name="activatedAnimationDuration" format="integer" />
    109     </declare-styleable>
    110 
    111     <!-- This is the basic set of layout attributes for elements within a card
    112          layout. These attributes are specified with the rest of an elements's
    113          normal attributes. -->
    114     <declare-styleable name="lbBaseCardView_Layout">
    115         <!-- The card layout region defined by this element. At most one of
    116              element of each type should be specified as an immediate child of
    117              the card layout. -->
    118         <attr name="layout_viewType" format="enum">
    119             <!-- The main region of the card. -->
    120             <enum name="main" value="0"/>
    121             <!-- The info region of the card. -->
    122             <enum name="info" value="1"/>
    123             <!-- The extra region of the card. -->
    124             <enum name="extra" value="2"/>
    125         </attr>
    126     </declare-styleable>
    127 
    128     <declare-styleable name="lbImageCardView">
    129         <!-- Deprecated. Use 'imageCardViewInfoAreaStyle' instead. -->
    130         <attr name="infoAreaBackground" format="reference|color"/>
    131         <!-- Defines what components the ImageCardView will use. -->
    132         <attr name="lbImageCardViewType">
    133             <flag name="Title" value="1" />
    134             <flag name="Content" value="2" />
    135             <flag name="IconOnRight" value="4" />
    136             <flag name="IconOnLeft" value="8" />
    137             <!-- Only display the main image. -->
    138             <flag name="ImageOnly" value="0" />
    139         </attr>
    140     </declare-styleable>
    141 
    142     <declare-styleable name="lbSearchOrbView">
    143         <!-- Defining icon of the search affordance -->
    144         <attr name="searchOrbIcon" format="reference"/>
    145         <!-- Defining icon tint color of the search affordance -->
    146         <attr name="searchOrbIconColor" format="reference|color"/>
    147         <!-- Defining color of the search affordance -->
    148         <attr name="searchOrbColor" format="reference|color" />
    149         <!-- Defining pulse color of the search affordance -->
    150         <attr name="searchOrbBrightColor" format="reference|color" />
    151     </declare-styleable>
    152 
    153     <declare-styleable name="lbPlaybackControlsActionIcons">
    154         <attr name="play" format="reference"/>
    155         <attr name="pause" format="reference"/>
    156         <attr name="fast_forward" format="reference"/>
    157         <attr name="rewind" format="reference"/>
    158         <attr name="skip_next" format="reference"/>
    159         <attr name="skip_previous" format="reference"/>
    160         <attr name="thumb_up_outline" format="reference"/>
    161         <attr name="thumb_up" format="reference"/>
    162         <attr name="thumb_down_outline" format="reference"/>
    163         <attr name="thumb_down" format="reference"/>
    164         <attr name="repeat" format="reference"/>
    165         <attr name="repeat_one" format="reference"/>
    166         <attr name="shuffle" format="reference"/>
    167         <attr name="high_quality" format="reference"/>
    168         <attr name="closed_captioning" format="reference"/>
    169         <attr name="picture_in_picture" format="reference"/>
    170     </declare-styleable>
    171 
    172     <declare-styleable name="lbSlide">
    173         <!-- A duplication of Slide attribute slideEdge for KitKat -->
    174         <attr name="lb_slideEdge">
    175             <!-- Slide to and from the left edge of the Scene. -->
    176             <enum name="left" value="0x03" />
    177             <!-- Slide to and from the top edge of the Scene. -->
    178             <enum name="top" value="0x30" />
    179             <!-- Slide to and from the right edge of the Scene. -->
    180             <enum name="right" value="0x05" />
    181             <!-- Slide to and from the bottom edge of the Scene. -->
    182             <enum name="bottom" value="0x50" />
    183             <!-- Slide to and from the x-axis position at the start of the Scene root. -->
    184             <enum name="start" value="0x00800003"/>
    185             <!-- Slide to and from the x-axis position at the end of the Scene root. -->
    186             <enum name="end" value="0x00800005"/>
    187         </attr>
    188         <attr name="android:duration" />
    189         <attr name="android:startDelay" />
    190         <attr name="android:interpolator" />
    191     </declare-styleable>
    192 
    193     <declare-styleable name="lbResizingTextView">
    194         <!-- Conditions used to trigger text resizing -->
    195         <attr name="resizeTrigger">
    196             <!-- Resize text whenever it lays out into the maximum number of lines -->
    197             <flag name="maxLines" value="0x01" />
    198         </attr>
    199         <!-- Text size for resized text -->
    200         <attr name="resizedTextSize" format="dimension" />
    201         <!-- Whether to maintain the same line spacing when text is resized, default is false -->
    202         <attr name="maintainLineSpacing" format="boolean" />
    203         <!-- Adjustment to top padding for resized text -->
    204         <attr name="resizedPaddingAdjustmentTop" format="dimension" />
    205         <!-- Adjustment to bottom padding for resized text -->
    206         <attr name="resizedPaddingAdjustmentBottom" format="dimension" />
    207     </declare-styleable>
    208 
    209     <declare-styleable name="LeanbackTheme">
    210 
    211         <!-- start padding of BrowseFragment, RowsFragment, DetailsFragment -->
    212         <attr name="browsePaddingStart" format="dimension" />
    213         <!-- end padding of BrowseFragment, RowsFragment, DetailsFragment -->
    214         <attr name="browsePaddingEnd" format="dimension" />
    215         <!-- top padding of BrowseFragment -->
    216         <attr name="browsePaddingTop" format="dimension" />
    217         <!-- bottom padding of BrowseFragment -->
    218         <attr name="browsePaddingBottom" format="dimension" />
    219         <!-- start margin of RowsFragment inside BrowseFragment when HeadersFragment is visible -->
    220         <attr name="browseRowsMarginStart" format="dimension" />
    221         <!-- top margin of RowsFragment inside BrowseFragment when BrowseFragment title is visible -->
    222         <attr name="browseRowsMarginTop" format="dimension" />
    223         <!-- fading edge length of start of browse row when HeadersFragment is visible -->
    224         <attr name="browseRowsFadingEdgeLength" format="dimension" />
    225 
    226         <!-- fragment title text style -->
    227         <attr name="browseTitleTextStyle" format="reference" />
    228 
    229         <!-- fragment title icon style -->
    230         <attr name="browseTitleIconStyle" format="reference" />
    231 
    232         <!-- fragment title view style -->
    233         <attr name="browseTitleViewStyle" format="reference" />
    234 
    235         <!-- customize title view layout file, it must have title view with id browse_title_group -->
    236         <attr name="browseTitleViewLayout" format="reference" />
    237 
    238         <!-- vertical grid style inside HeadersFragment -->
    239         <attr name="headersVerticalGridStyle" format="reference" />
    240         <!-- header style inside HeadersFragment -->
    241         <attr name="headerStyle" format="reference" />
    242         <!-- Non selectable header style inside HeadersFragment -->
    243         <attr name="sectionHeaderStyle" format="reference" />
    244 
    245         <!-- vertical grid style inside RowsFragment -->
    246         <attr name="rowsVerticalGridStyle" format="reference" />
    247 
    248         <!-- horizontal grid style inside a row -->
    249         <attr name="rowHorizontalGridStyle" format="reference" />
    250         <!-- header style inside a row -->
    251         <attr name="rowHeaderStyle" format="reference" />
    252         <!-- style for the layout that hosting Header inside a row -->
    253         <attr name="rowHeaderDockStyle" format="reference" />
    254 
    255         <!-- hover card title style -->
    256         <attr name="rowHoverCardTitleStyle" format="reference" />
    257         <!-- hover card description style -->
    258         <attr name="rowHoverCardDescriptionStyle" format="reference" />
    259 
    260         <!-- CardView styles -->
    261         <attr name="baseCardViewStyle" format="reference" />
    262         <attr name="imageCardViewStyle" format="reference" />
    263         <attr name="imageCardViewImageStyle" format="reference" />
    264         <attr name="imageCardViewTitleStyle" format="reference" />
    265         <attr name="imageCardViewContentStyle" format="reference" />
    266         <attr name="imageCardViewBadgeStyle" format="reference" />
    267         <attr name="imageCardViewInfoAreaStyle" format="reference" />
    268 
    269         <!-- for details overviews -->
    270         <attr name="detailsDescriptionTitleStyle" format="reference" />
    271         <attr name="detailsDescriptionSubtitleStyle" format="reference" />
    272         <attr name="detailsDescriptionBodyStyle" format="reference" />
    273         <attr name="detailsActionButtonStyle" format="reference" />
    274 
    275         <!-- for playlist and playback controls styling -->
    276         <attr name="playbackPaddingStart" format="dimension"/>
    277         <attr name="playbackPaddingEnd" format="dimension"/>
    278         <attr name="playbackMediaItemPaddingStart" format="dimension"/>
    279 
    280         <attr name="playbackMediaListHeaderStyle" format="reference"/>
    281         <attr name="playbackMediaItemRowStyle" format="reference"/>
    282         <attr name="playbackMediaItemSeparatorStyle" format="reference"/>
    283 
    284         <attr name="playbackMediaListHeaderTitleStyle" format="reference"/>
    285         <attr name="playbackMediaItemDetailsStyle" format="reference"/>
    286         <attr name="playbackMediaItemNumberStyle" format="reference"/>
    287         <attr name="playbackMediaItemNameStyle" format="reference"/>
    288         <attr name="playbackMediaItemDurationStyle" format="reference"/>
    289 
    290         <attr name="playbackControlsButtonStyle" format="reference" />
    291         <attr name="playbackControlButtonLabelStyle" format="reference" />
    292         <attr name="playbackControlsTimeStyle" format="reference" />
    293 
    294         <!-- style for a vertical grid of items -->
    295         <attr name="itemsVerticalGridStyle" format="reference" />
    296 
    297         <!-- for messages in the error fragment -->
    298         <attr name="errorMessageStyle" format="reference" />
    299 
    300         <!-- Default brand color used for the background of certain leanback visual elements
    301              such as the headers fragment. If your app runs on:
    302              a) SDK 21+: set colorPrimary, used by the leanback launcher and elsewhere, and defaultBrandColor will inherit it.
    303              b) SDK < 21: set the brand color explicitly via defaultBrandColor, or programatically.
    304          -->
    305         <attr name="defaultBrandColor" format="reference|color" />
    306         <!-- Default dark brand color used for the background of certain leanback visual elements
    307              such as the actions background. If your app runs on:
    308              a) SDK 21+: set colorPrimaryDark, used by the leanback launcher and elsewhere, and defaultBrandColorDark will inherit it.
    309              b) SDK < 21: set the brand color explicitly via defaultBrandColorDark, or programatically.
    310          -->
    311         <attr name="defaultBrandColorDark" format="reference|color" />
    312 
    313         <!-- Default background color for Search Icon -->
    314         <attr name="defaultSearchColor" format="reference|color" />
    315         <!-- Default icon color for Search Icon -->
    316         <attr name="defaultSearchIconColor" format="reference|color" />
    317         <!-- Default color that search orb pulses to.  If not set, this color is determined programatically based on the defaultSearchColor -->
    318         <attr name="defaultSearchBrightColor" format="reference|color" />
    319         <!-- Default color for SectionHeader, by default same as defaultSearchColor -->
    320         <attr name="defaultSectionHeaderColor" format="reference|color" />
    321 
    322         <!-- Style for searchOrb -->
    323         <attr name="searchOrbViewStyle" format="reference"/>
    324         <attr name="defaultSearchIcon" format="reference" />
    325 
    326         <attr name="playbackProgressPrimaryColor" format="reference|color" />
    327         <attr name="playbackControlsIconHighlightColor" format="reference|color" />
    328         <attr name="playbackControlsActionIcons" format="reference" />
    329 
    330         <!-- Default color for dimmed views. -->
    331         <attr name="overlayDimMaskColor" format="color" />
    332         <!-- Default level of dimming for active views. -->
    333         <attr name="overlayDimActiveLevel" format="fraction" />
    334         <!-- Default level of dimming for dimmed views. -->
    335         <attr name="overlayDimDimmedLevel" format="fraction" />
    336     </declare-styleable>
    337 
    338     <declare-styleable name="LeanbackGuidedStepTheme">
    339 
    340         <!-- Theme attribute for the overall theme used in a GuidedStepFragment. The Leanback themes
    341              set the default for this, but a custom theme that does not derive from a leanback theme
    342              can set this to <code>@style/Theme.Leanback.GuidedStep</code> in order to specify the
    343              default GuidedStepFragment styles. -->
    344         <attr name="guidedStepTheme" format="reference" />
    345         <!-- Used to control the height of the fragment. By default this fragment will take
    346              up the full height of it's parent. The height of this fragment is governed by
    347              this property. Default weight is set to 2.0, so inorder to render the fragment
    348              in half screen mode, this attribute should be set to 1.0 -->
    349         <attr name="guidedStepHeightWeight" format="float" />
    350 
    351         <!-- Y offset to the bottom of the TitleView(font baseline) used to align the
    352              first action text on the right. -->
    353         <attr name="guidedStepKeyline" format="float" />
    354 
    355         <!-- @hide
    356              Theme attribute used to inspect theme inheritance. -->
    357         <attr name="guidedStepThemeFlag" format="boolean" />
    358 
    359         <!-- Theme attribute of background drawable used by GuidedStepFragment. -->
    360         <attr name="guidedStepBackground" format="reference|color" />
    361 
    362         <!-- Theme attribute for the animation used when a guided step element is animated in
    363              response to the IME appearing. Default is {@link
    364              android.support.v17.leanback.R.animator#lb_guidedstep_slide_up}. -->
    365         <attr name="guidedStepImeAppearingAnimation" format="reference" />
    366         <!-- Theme attribute for the animation used when a guided step element is animated in
    367              response to the IME disappearing. Default is {@link
    368              android.support.v17.leanback.R.animator#lb_guidedstep_slide_down}. -->
    369         <attr name="guidedStepImeDisappearingAnimation" format="reference" />
    370 
    371         <!-- Theme attribute for the style of the main container in a GuidanceStylist. Default is
    372              {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceContainerStyle}.-->
    373         <attr name="guidanceContainerStyle" format="reference" />
    374         <!-- Theme attribute for the style of the title in a GuidanceStylist. Default is
    375              {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceTitleStyle}. -->
    376         <attr name="guidanceTitleStyle" format="reference" />
    377         <!-- Theme attribute for the style of the description in a GuidanceStylist. Default is
    378              {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceDescriptionStyle}. -->
    379         <attr name="guidanceDescriptionStyle" format="reference" />
    380         <!-- Theme attribute for the style of the breadcrumb in a GuidanceStylist. Default is
    381              {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceBreadcrumbStyle}. -->
    382         <attr name="guidanceBreadcrumbStyle" format="reference" />
    383         <!-- Theme attribute for the style of the icon in a GuidanceStylist. Default is
    384              {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidanceIconStyle}. -->
    385         <attr name="guidanceIconStyle" format="reference" />
    386 
    387         <!-- Theme attribute for the style of the item selector in a GuidedActionsPresenter. Default is
    388              ?android:attr/selectableItemBackground. -->
    389         <attr name="guidedActionsSelectorDrawable" format="reference" />
    390 
    391         <!-- Theme attribute for the shadow elevation of GuidedActions. Default is
    392              {@link android.support.v17.leanback.R.dimen#lb_guidedactions_elevation}.-->
    393         <attr name="guidedActionsElevation" format="dimension|reference" />
    394 
    395         <!-- Theme attribute for the background of GuidedActions. Default is
    396              {@link android.support.v17.leanback.R.color#lb_guidedactions_background}.-->
    397         <attr name="guidedActionsBackground" format="reference" />
    398 
    399         <!-- Theme attribute for the dark version background of GuidedActions. Default is
    400              {@link android.support.v17.leanback.R.color#lb_guidedactions_background_dark}.-->
    401         <attr name="guidedActionsBackgroundDark" format="reference" />
    402 
    403         <!-- Theme attribute for the style of the list in a GuidedActionsPresenter. Default is
    404              {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionsListStyle}.-->
    405         <attr name="guidedActionsListStyle" format="reference" />
    406 
    407         <!-- Theme attribute for the style of the sub actions list in a GuidedActionsPresenter. Default is
    408              {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidedSubActionsListStyle}.-->
    409         <attr name="guidedSubActionsListStyle" format="reference" />
    410 
    411         <!-- Theme attribute for the style of the list in a GuidedActionsPresenter. Default is
    412              {@link android.support.v17.leanback.R.style#Widget_Leanback_GuidedButtonActionsListStyle}.-->
    413         <attr name="guidedButtonActionsListStyle" format="reference" />
    414 
    415         <!-- Theme attribute for the style of the container of a single action in a
    416              GuidedActionsPresenter. Default is {@link
    417              android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemContainerStyle}. -->
    418         <attr name="guidedActionItemContainerStyle" format="reference" />
    419         <!-- Theme attribute for the style of an action's checkmark in a GuidedActionsPresenter.
    420              Default is {@link
    421              android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemCheckmarkStyle}. -->
    422         <attr name="guidedActionItemCheckmarkStyle" format="reference" />
    423         <!-- Theme attribute for the style of an action's icon in a GuidedActionsPresenter. Default
    424              is {@link
    425              android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemIconStyle}. -->
    426         <attr name="guidedActionItemIconStyle" format="reference" />
    427         <!-- Theme attribute for the style of an action's content in a GuidedActionsPresenter.
    428              Default is {@link
    429              android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemContentStyle}. -->
    430         <attr name="guidedActionItemContentStyle" format="reference" />
    431         <!-- Theme attribute for the style of an action's title in a GuidedActionsPresenter. Default
    432              is {@link
    433              android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemTitleStyle}. -->
    434         <attr name="guidedActionItemTitleStyle" format="reference" />
    435         <!-- Theme attribute for the style of an action's description in a GuidedActionsPresenter.
    436              Default is {@link
    437              android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemDescriptionStyle}. -->
    438         <attr name="guidedActionItemDescriptionStyle" format="reference" />
    439         <!-- Theme attribute for the style of an action's chevron decoration in a
    440              GuidedActionsPresenter. Default is {@link
    441              android.support.v17.leanback.R.style#Widget_Leanback_GuidedActionItemChevronStyle}. -->
    442         <attr name="guidedActionItemChevronStyle" format="reference" />
    443 
    444         <!-- Theme attribute for the animation used in a GuidedActionsPresenter when an action
    445              is pressed. Default is {@link
    446              android.support.v17.leanback.R.animator#lb_guidedactions_item_pressed}. -->
    447         <attr name="guidedActionPressedAnimation" format="reference" />
    448         <!-- Theme attribute for the animation used in a GuidedActionsPresenter when an action
    449              is unpressed. Default is {@link
    450              android.support.v17.leanback.R.animator#lb_guidedactions_item_unpressed}. -->
    451         <attr name="guidedActionUnpressedAnimation" format="reference" />
    452         <!-- Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron
    453              decoration when its action is enabled. Default is {@link
    454              android.support.v17.leanback.R.string#lb_guidedactions_item_enabled_chevron_alpha}. -->
    455         <attr name="guidedActionEnabledChevronAlpha" format="reference" />
    456         <!-- Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron
    457              decoration when its action is disabled. Default is {@link
    458              android.support.v17.leanback.R.string#lb_guidedactions_item_disabled_chevron_alpha}. -->
    459         <attr name="guidedActionDisabledChevronAlpha" format="reference" />
    460         <!-- Theme attribute used for the weight of actions.  Default is {@link
    461              android.support.v17.leanback.R.string#lb_guidedactions_width_weight}. -->
    462         <attr name="guidedActionContentWidthWeight" format="reference" />
    463         <!-- Theme attribute used for the weight of actions when there are two panels.  Default is {@link
    464              android.support.v17.leanback.R.string#lb_guidedactions_width_weight_two_panels}. -->
    465         <attr name="guidedActionContentWidthWeightTwoPanels" format="reference" />
    466         <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text
    467              view when the action's isMultilineDescription is set to false. Default is {@link
    468              android.support.v17.leanback.R.integer#lb_guidedactions_item_title_min_lines}. -->
    469         <attr name="guidedActionTitleMinLines" format="reference" />
    470         <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text
    471              view when the action's isMultilineDescription is set to true. Default is {@link
    472              android.support.v17.leanback.R.integer#lb_guidedactions_item_title_max_lines}. -->
    473         <attr name="guidedActionTitleMaxLines" format="reference" />
    474         <!-- Theme attribute used in a GuidedActionsPresenter for the max lines of the title text
    475              view when the action's isMultilineDescription is set to false. Default is {@link
    476              android.support.v17.leanback.R.integer#lb_guidedactions_item_description_min_lines}. -->
    477         <attr name="guidedActionDescriptionMinLines" format="reference" />
    478         <!-- Theme attribute used in a GuidedActionsPresenter for the vertical padding between
    479              action views in the list. Default is {@link
    480              android.support.v17.leanback.R.dimen#lb_guidedactions_vertical_padding}. -->
    481         <attr name="guidedActionVerticalPadding" format="reference" />
    482 
    483         <!-- Deprecated theme attribute, do not use -->
    484         <attr name="guidedActionsContainerStyle" format="reference" />
    485         <!-- Deprecated theme attribute, do not use -->
    486         <attr name="guidedActionsSelectorStyle" format="reference" />
    487         <!-- Deprecated theme attribute, do not use -->
    488         <attr name="guidedStepEntryAnimation" format="reference" />
    489         <!-- Deprecated theme attribute, do not use -->
    490         <attr name="guidedStepExitAnimation" format="reference" />
    491         <!-- Deprecated theme attribute, do not use -->
    492         <attr name="guidedStepReentryAnimation" format="reference" />
    493         <!-- Deprecated theme attribute, do not use -->
    494         <attr name="guidedStepReturnAnimation" format="reference" />
    495         <!-- Deprecated theme attribute, do not use -->
    496         <attr name="guidanceEntryAnimation" format="reference" />
    497         <!-- Deprecated theme attribute, do not use -->
    498         <attr name="guidedActionsEntryAnimation" format="reference" />
    499         <!-- Deprecated theme attribute, do not use -->
    500         <attr name="guidedActionsSelectorShowAnimation" format="reference" />
    501         <!-- Deprecated theme attribute, do not use -->
    502         <attr name="guidedActionsSelectorHideAnimation" format="reference" />
    503         <!-- Deprecated theme attribute, do not use -->
    504         <attr name="guidedActionCheckedAnimation" format="reference" />
    505         <!-- Deprecated theme attribute, do not use -->
    506         <attr name="guidedActionUncheckedAnimation" format="reference" />
    507         <!-- Deprecated theme attribute, do not use -->
    508         <attr name="guidedActionContentWidth" format="reference" />
    509         <!-- Deprecated theme attribute, do not use -->
    510         <attr name="guidedActionContentWidthNoIcon" format="reference" />
    511     </declare-styleable>
    512 
    513     <declare-styleable name="lbDatePicker">
    514         <attr name="android:minDate" />
    515         <attr name="android:maxDate" />
    516         <!-- e.g. "MDY", "MY" -->
    517         <attr name="datePickerFormat" format="string"/>
    518     </declare-styleable>
    519 
    520     <declare-styleable name="LeanbackOnboardingTheme">
    521         <!-- Theme attribute for the overall theme used in the onboarding. The Leanback themes set
    522              the default for this, but a custom theme that does not derive from a leanback theme can
    523              set this to <code>@style/Theme.Leanback.Onboarding</code> in order to specify the
    524              default OnboardingFragment styles. -->
    525         <attr name="onboardingTheme" format="reference" />
    526 
    527         <!-- Theme attribute for the style of the header in onboarding screen. Default is
    528              {@link android.support.v17.leanback.R.style#Widget_Leanback_OnboardingHeaderStyle}.-->
    529         <attr name="onboardingHeaderStyle" format="reference" />
    530         <!-- Theme attribute for the style of the title text in onboarding screen. Default is
    531              {@link android.support.v17.leanback.R.style#Widget_Leanback_OnboardingTitleStyle}.-->
    532         <attr name="onboardingTitleStyle" format="reference" />
    533         <!-- Theme attribute for the style of the description text in onboarding screen. Default is
    534              {@link android.support.v17.leanback.R.style#Widget_Leanback_OnboardingDescriptionStyle}.-->
    535         <attr name="onboardingDescriptionStyle" format="reference" />
    536 
    537         <!-- Theme attribute for the style of the navigator container in onboarding screen. Default is
    538              {@link android.support.v17.leanback.R.style#Widget_Leanback_OnboardingNavigatorContainerStyle}.-->
    539         <attr name="onboardingNavigatorContainerStyle" format="reference" />
    540         <!-- Theme attribute for the style of the page indicator in onboarding screen. Default is
    541              {@link android.support.v17.leanback.R.style#Widget_Leanback_OnboardingPageIndicatorStyle}.-->
    542         <attr name="onboardingPageIndicatorStyle" format="reference" />
    543         <!-- Theme attribute for the style of the start button in onboarding screen. Default is
    544              {@link android.support.v17.leanback.R.style#Widget_Leanback_OnboardingStartButtonStyle}.-->
    545         <attr name="onboardingStartButtonStyle" format="reference" />
    546 
    547         <!-- Theme attribute for the style of the logo in onboarding screen. Default is
    548              {@link android.support.v17.leanback.R.style#Widget_Leanback_OnboardingLogoStyle}.-->
    549         <attr name="onboardingLogoStyle" format="reference" />
    550     </declare-styleable>
    551 
    552     <declare-styleable name="PagingIndicator">
    553         <!-- Attributes for the radius of the dot. -->
    554         <attr name="dotRadius" format="reference" />
    555         <!-- Attributes for the radius of the arrow. -->
    556         <attr name="arrowRadius" format="reference" />
    557         <!-- Attributes for the distance between the centers of the adjacent dots. -->
    558         <attr name="dotToDotGap" format="reference" />
    559         <!-- Attributes for the distance between the centers of the arrow circle and the adjacent dot. -->
    560         <attr name="dotToArrowGap" format="reference" />
    561         <!-- Attribute for background color of the dots in PagingIndicator. -->
    562         <attr name="dotBgColor" format="reference" />
    563         <!-- Attribute for background color of the arrow in PagingIndicator. -->
    564         <attr name="arrowBgColor" format="reference" />
    565     </declare-styleable>
    566 </resources>
    567