Android APIs
public static final class

R.attr

extends Object
java.lang.Object
   ↳ android.support.v17.leanback.R.attr

Summary

Fields
public static int activatedAnimationDuration Defines the duration in milliseconds of the activated animation for a card layout.
public static int baseCardViewStyle CardView styles

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int browsePaddingBottom bottom padding of BrowseFragment

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int browsePaddingEnd end padding of BrowseFragment, RowsFragment, DetailsFragment

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int browsePaddingStart start padding of BrowseFragment, RowsFragment, DetailsFragment

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int browsePaddingTop top padding of BrowseFragment

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int browseRowsFadingEdgeLength fading edge length of start of browse row when HeadersFragment is visible

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int browseRowsMarginStart start margin of RowsFragment inside BrowseFragment when HeadersFragment is visible

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int browseRowsMarginTop top margin of RowsFragment inside BrowseFragment when BrowseFragment title is visible

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int browseTitleIconStyle BrowseFragment Title icon style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int browseTitleTextStyle BrowseFragment Title text style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int browseTitleViewStyle BrowseFragment TitleView style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int cardType Defines the type of the card layout

Must be one of the following constant values.

public static int closed_captioning

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int columnWidth Defining width of each column of VerticalGridView

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int defaultBrandColor Default brand color used for the background of certain leanback visual elements such as the headers fragment.
public static int defaultSearchBrightColor Default color that search orb pulses to.
public static int defaultSearchColor Default colors

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int defaultSearchIcon

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int detailsActionButtonStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int detailsDescriptionBodyStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int detailsDescriptionSubtitleStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int detailsDescriptionTitleStyle for details overviews

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int errorMessageStyle for messages in the error fragment

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int extraVisibility Defines when the extra region of a card layout is displayed.
public static int fast_forward

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int focusOutEnd Allow DPAD key to navigate out at the end of the view, default is false

Must be a boolean value, either "true" or "false".

public static int focusOutFront Allow DPAD key to navigate out at the front of the View (where position = 0), default is false

Must be a boolean value, either "true" or "false".

public static int guidanceBreadcrumbStyle Theme attribute for the style of the breadcrumb in a GuidanceStylist.
public static int guidanceContainerStyle Theme attribute for the style of the main container in a GuidanceStylist.
public static int guidanceDescriptionStyle Theme attribute for the style of the description in a GuidanceStylist.
public static int guidanceEntryAnimation Theme attribute for the animation used when the guidance is animated in at activity start.
public static int guidanceIconStyle Theme attribute for the style of the icon in a GuidanceStylist.
public static int guidanceTitleStyle Theme attribute for the style of the title in a GuidanceStylist.
public static int guidedActionCheckedAnimation Theme attribute for the animation used in a GuidedActionsPresenter when an action is checked.
public static int guidedActionContentWidth Theme attribute used in a GuidedActionsPresenter for the width of the text area of a single action when there is an icon present.
public static int guidedActionContentWidthNoIcon Theme attribute used in a GuidedActionsPresenter for the width of the text area of a single action when there is no icon present.
public static int guidedActionDescriptionMinLines Theme attribute used in a GuidedActionsPresenter for the max lines of the title text view when the action's isMultilineDescription is set to false.
public static int guidedActionDisabledChevronAlpha Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron decoration when its action is disabled.
public static int guidedActionEnabledChevronAlpha Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron decoration when its action is enabled.
public static int guidedActionItemCheckmarkStyle Theme attribute for the style of an action's checkmark in a GuidedActionsPresenter.
public static int guidedActionItemChevronStyle Theme attribute for the style of an action's chevron decoration in a GuidedActionsPresenter.
public static int guidedActionItemContainerStyle Theme attribute for the style of the container of a single action in a GuidedActionsPresenter.
public static int guidedActionItemContentStyle Theme attribute for the style of an action's content in a GuidedActionsPresenter.
public static int guidedActionItemDescriptionStyle Theme attribute for the style of an action's description in a GuidedActionsPresenter.
public static int guidedActionItemIconStyle Theme attribute for the style of an action's icon in a GuidedActionsPresenter.
public static int guidedActionItemTitleStyle Theme attribute for the style of an action's title in a GuidedActionsPresenter.
public static int guidedActionPressedAnimation Theme attribute for the animation used in a GuidedActionsPresenter when an action is pressed.
public static int guidedActionTitleMaxLines Theme attribute used in a GuidedActionsPresenter for the max lines of the title text view when the action's isMultilineDescription is set to true.
public static int guidedActionTitleMinLines Theme attribute used in a GuidedActionsPresenter for the max lines of the title text view when the action's isMultilineDescription is set to false.
public static int guidedActionUncheckedAnimation Theme attribute for the animation used in a GuidedActionsPresenter when an action is unchecked.
public static int guidedActionUnpressedAnimation Theme attribute for the animation used in a GuidedActionsPresenter when an action is unpressed.
public static int guidedActionVerticalPadding Theme attribute used in a GuidedActionsPresenter for the vertical padding between action views in the list.
public static int guidedActionsContainerStyle Theme attribute for the style of the container in a GuidedActionsPresenter.
public static int guidedActionsEntryAnimation Theme attribute for the animation used in a GuidedActionsPresenter when the actions list is animated in at activity start.
public static int guidedActionsListStyle Theme attribute for the style of the list in a GuidedActionsPresenter.
public static int guidedActionsSelectorHideAnimation Theme attribute for the animation used in a GuidedActionsPresenter when the action selector is animated in at activity start.
public static int guidedActionsSelectorShowAnimation Theme attribute for the animation used in a GuidedActionsPresenter when the action selector is animated in at activity start.
public static int guidedActionsSelectorStyle Theme attribute for the style of the item selector in a GuidedActionsPresenter.
public static int guidedStepEntryAnimation Theme attribute for the animation used when a guided step element is animated in on fragment stack push.
public static int guidedStepExitAnimation Theme attribute for the animation used when a guided step element is animated out on fragment stack push.
public static int guidedStepReentryAnimation Theme attribute for the animation used when a guided step element is animated in on fragment stack pop.
public static int guidedStepReturnAnimation Theme attribute for the animation used when a guided step element is animated out on fragment stack pop.
public static int guidedStepTheme Theme attribute for the overall theme used in a GuidedStepFragment.
public static int headerStyle header style inside HeadersFragment

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int headersVerticalGridStyle vertical grid style inside HeadersFragment

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int high_quality

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int horizontalMargin Defining margin between two items horizontally

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int imageCardViewStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int infoAreaBackground

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int infoVisibility Defines when the info region of a card layout is displayed.
public static int itemsVerticalGridStyle style for a vertical grid of items

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int layout_viewType The card layout region defined by this element.
public static int lb_slideEdge A duplication of Slide attribute slideEdge for KitKat

Must be one of the following constant values.

public static int maintainLineSpacing Whether to maintain the same line spacing when text is resized, default is false

Must be a boolean value, either "true" or "false".

public static int numberOfColumns Defining number of columns

Must be an integer value, such as "100".

public static int numberOfRows Defining number of rows

Must be an integer value, such as "100".

public static int overlayDimActiveLevel Default level of dimming for active views.
public static int overlayDimDimmedLevel Default level of dimming for dimmed views.
public static int overlayDimMaskColor Default color for dimmed views.
public static int pause

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int play

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlButtonLabelStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlsActionIcons

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlsButtonStyle for playback controls

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlsIconHighlightColor

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlsTimeStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackProgressPrimaryColor

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int repeat

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int repeat_one

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int resizeTrigger Conditions used to trigger text resizing

Must be one or more (separated by '|') of the following constant values.

public static int resizedPaddingAdjustmentBottom Adjustment to bottom padding for resized text

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int resizedPaddingAdjustmentTop Adjustment to top padding for resized text

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int resizedTextSize Text size for resized text

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int rewind

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHeaderDockStyle style for the layout that hosting Header inside a row

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHeaderStyle header style inside a row

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHeight Defining height of each row of HorizontalGridView

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

public static int rowHorizontalGridStyle horizontal grid style inside a row

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHoverCardDescriptionStyle hover card description style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHoverCardTitleStyle hover card title style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowsVerticalGridStyle vertical grid style inside RowsFragment

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int searchOrbBrightColor Defining pulse color of the search affordance

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int searchOrbColor Defining color of the search affordance

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int searchOrbIcon Defining icon of the search affordance

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int searchOrbIconColor Defining icon tint color of the search affordance

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int searchOrbViewStyle Style for searchOrb

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int selectedAnimationDelay Defines the delay in milliseconds before the selection animation runs for a card layout.
public static int selectedAnimationDuration Defines the duration in milliseconds of the selection animation for a card layout.
public static int shuffle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int skip_next

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int skip_previous

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int thumb_down

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int thumb_down_outline

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int thumb_up

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int thumb_up_outline

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int verticalMargin Defining margin between two items vertically

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp".

Public Constructors
R.attr()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static int activatedAnimationDuration

Defines the duration in milliseconds of the activated animation for a card layout.

Must be an integer value, such as "100".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int baseCardViewStyle

CardView styles

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int browsePaddingBottom

bottom padding of BrowseFragment

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int browsePaddingEnd

end padding of BrowseFragment, RowsFragment, DetailsFragment

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int browsePaddingStart

start padding of BrowseFragment, RowsFragment, DetailsFragment

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int browsePaddingTop

top padding of BrowseFragment

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int browseRowsFadingEdgeLength

fading edge length of start of browse row when HeadersFragment is visible

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int browseRowsMarginStart

start margin of RowsFragment inside BrowseFragment when HeadersFragment is visible

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int browseRowsMarginTop

top margin of RowsFragment inside BrowseFragment when BrowseFragment title is visible

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int browseTitleIconStyle

BrowseFragment Title icon style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int browseTitleTextStyle

BrowseFragment Title text style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int browseTitleViewStyle

BrowseFragment TitleView style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int cardType

Defines the type of the card layout

Must be one of the following constant values.

ConstantValueDescription
mainOnly0 A simple card layout with a single layout region.
infoOver1 A card layout with two layout regions: a main area which is always visible, and an info region that appears over the lower area of the main region.
infoUnder2 A card layout with two layout regions: a main area which is always visible, and an info region that appears below the main region.
infoUnderWithExtra3 A card layout with three layout regions: a main area which is always visible, an info region that appears below the main region, and an extra region that appears below the info region after a small delay.

public static int closed_captioning

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int columnWidth

Defining width of each column of VerticalGridView

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

May be one of the following constant values.

ConstantValueDescription
wrap_content-2

public static int defaultBrandColor

Default brand color used for the background of certain leanback visual elements such as the headers fragment. If your app runs on: a) SDK 21+: set colorPrimary, used by the leanback launcher and elsewhere, and defaultBrandColor will inherit it. b) SDK < 21: set the brand color explicitly via defaultBrandColor, or programatically.

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int defaultSearchBrightColor

Default color that search orb pulses to. If not set, this color is determined programatically based on the defaultSearchColor

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int defaultSearchColor

Default colors

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int defaultSearchIcon

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int detailsActionButtonStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int detailsDescriptionBodyStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int detailsDescriptionSubtitleStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int detailsDescriptionTitleStyle

for details overviews

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int errorMessageStyle

for messages in the error fragment

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int extraVisibility

Defines when the extra region of a card layout is displayed. Depends on infoVisibility, meaning the extra region never displays if the info region is not displayed as well.

Must be one of the following constant values.

ConstantValueDescription
always0 Always display the extra region.
activated1 Display the extra region only when activated.
selected2 Display the extra region only when selected.

public static int fast_forward

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int focusOutEnd

Allow DPAD key to navigate out at the end of the view, default is false

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int focusOutFront

Allow DPAD key to navigate out at the front of the View (where position = 0), default is false

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int guidanceBreadcrumbStyle

Theme attribute for the style of the breadcrumb in a GuidanceStylist. Default is Widget_Leanback_GuidanceBreadcrumbStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidanceContainerStyle

Theme attribute for the style of the main container in a GuidanceStylist. Default is Widget_Leanback_GuidanceContainerStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidanceDescriptionStyle

Theme attribute for the style of the description in a GuidanceStylist. Default is Widget_Leanback_GuidanceDescriptionStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidanceEntryAnimation

Theme attribute for the animation used when the guidance is animated in at activity start. Default is lb_guidance_entry.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidanceIconStyle

Theme attribute for the style of the icon in a GuidanceStylist. Default is Widget_Leanback_GuidanceIconStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidanceTitleStyle

Theme attribute for the style of the title in a GuidanceStylist. Default is Widget_Leanback_GuidanceTitleStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionCheckedAnimation

Theme attribute for the animation used in a GuidedActionsPresenter when an action is checked. Default is lb_guidedactions_item_checked.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionContentWidth

Theme attribute used in a GuidedActionsPresenter for the width of the text area of a single action when there is an icon present. Default is lb_guidedactions_item_text_width.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionContentWidthNoIcon

Theme attribute used in a GuidedActionsPresenter for the width of the text area of a single action when there is no icon present. Default is lb_guidedactions_item_text_width_no_icon.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionDescriptionMinLines

Theme attribute used in a GuidedActionsPresenter for the max lines of the title text view when the action's isMultilineDescription is set to false. Default is lb_guidedactions_item_description_min_lines.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionDisabledChevronAlpha

Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron decoration when its action is disabled. Default is lb_guidedactions_item_disabled_chevron_alpha.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionEnabledChevronAlpha

Theme attribute used in a GuidedActionsPresenter for the alpha value of the chevron decoration when its action is enabled. Default is lb_guidedactions_item_enabled_chevron_alpha.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionItemCheckmarkStyle

Theme attribute for the style of an action's checkmark in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionItemCheckmarkStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionItemChevronStyle

Theme attribute for the style of an action's chevron decoration in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionItemChevronStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionItemContainerStyle

Theme attribute for the style of the container of a single action in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionItemContainerStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionItemContentStyle

Theme attribute for the style of an action's content in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionItemContentStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionItemDescriptionStyle

Theme attribute for the style of an action's description in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionItemDescriptionStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionItemIconStyle

Theme attribute for the style of an action's icon in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionItemIconStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionItemTitleStyle

Theme attribute for the style of an action's title in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionItemTitleStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionPressedAnimation

Theme attribute for the animation used in a GuidedActionsPresenter when an action is pressed. Default is lb_guidedactions_item_pressed.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionTitleMaxLines

Theme attribute used in a GuidedActionsPresenter for the max lines of the title text view when the action's isMultilineDescription is set to true. Default is lb_guidedactions_item_title_max_lines.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionTitleMinLines

Theme attribute used in a GuidedActionsPresenter for the max lines of the title text view when the action's isMultilineDescription is set to false. Default is lb_guidedactions_item_title_min_lines.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionUncheckedAnimation

Theme attribute for the animation used in a GuidedActionsPresenter when an action is unchecked. Default is lb_guidedactions_item_unchecked.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionUnpressedAnimation

Theme attribute for the animation used in a GuidedActionsPresenter when an action is unpressed. Default is lb_guidedactions_item_unpressed.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionVerticalPadding

Theme attribute used in a GuidedActionsPresenter for the vertical padding between action views in the list. Default is lb_guidedactions_vertical_padding.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionsContainerStyle

Theme attribute for the style of the container in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionsContainerStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionsEntryAnimation

Theme attribute for the animation used in a GuidedActionsPresenter when the actions list is animated in at activity start. Default is lb_guidedactions_entry.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionsListStyle

Theme attribute for the style of the list in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionsListStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionsSelectorHideAnimation

Theme attribute for the animation used in a GuidedActionsPresenter when the action selector is animated in at activity start. Default is lb_guidedactions_selector_hide.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionsSelectorShowAnimation

Theme attribute for the animation used in a GuidedActionsPresenter when the action selector is animated in at activity start. Default is lb_guidedactions_selector_show.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedActionsSelectorStyle

Theme attribute for the style of the item selector in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedActionsSelectorStyle.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedStepEntryAnimation

Theme attribute for the animation used when a guided step element is animated in on fragment stack push. Default is lb_guidedstep_slide_in_from_end.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedStepExitAnimation

Theme attribute for the animation used when a guided step element is animated out on fragment stack push. Default is lb_guidedstep_slide_out_to_start.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedStepReentryAnimation

Theme attribute for the animation used when a guided step element is animated in on fragment stack pop. Default is lb_guidedstep_slide_in_from_start.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedStepReturnAnimation

Theme attribute for the animation used when a guided step element is animated out on fragment stack pop. Default is lb_guidedstep_slide_out_to_end.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int guidedStepTheme

Theme attribute for the overall theme used in a GuidedStepFragment. The Leanback themes set the default for this, but a custom theme that does not derive from a leanback theme can set this to @style/Theme.Leanback.GuidedStep in order to specify the default GuidedStepFragment styles.

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int headerStyle

header style inside HeadersFragment

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int headersVerticalGridStyle

vertical grid style inside HeadersFragment

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int high_quality

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int horizontalMargin

Defining margin between two items horizontally

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int imageCardViewStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int infoAreaBackground

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int infoVisibility

Defines when the info region of a card layout is displayed.

Must be one of the following constant values.

ConstantValueDescription
always0 Always display the info region.
activated1 Display the info region only when activated.
selected2 Display the info region only when selected.

public static int itemsVerticalGridStyle

style for a vertical grid of items

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int layout_viewType

The card layout region defined by this element. At most one of element of each type should be specified as an immediate child of the card layout.

Must be one of the following constant values.

ConstantValueDescription
main0 The main region of the card.
info1 The info region of the card.
extra2 The extra region of the card.

public static int lb_slideEdge

A duplication of Slide attribute slideEdge for KitKat

Must be one of the following constant values.

ConstantValueDescription
left0x03 Slide to and from the left edge of the Scene.
top0x30 Slide to and from the top edge of the Scene.
right0x05 Slide to and from the right edge of the Scene.
bottom0x50 Slide to and from the bottom edge of the Scene.
start0x00800003 Slide to and from the x-axis position at the start of the Scene root.
end0x00800005 Slide to and from the x-axis position at the end of the Scene root.

public static int maintainLineSpacing

Whether to maintain the same line spacing when text is resized, default is false

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int numberOfColumns

Defining number of columns

Must be an integer value, such as "100".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int numberOfRows

Defining number of rows

Must be an integer value, such as "100".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int overlayDimActiveLevel

Default level of dimming for active views.

Must be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int overlayDimDimmedLevel

Default level of dimming for dimmed views.

Must be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%". The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to some parent container.

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int overlayDimMaskColor

Default color for dimmed views.

Must be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int pause

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int play

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlButtonLabelStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlsActionIcons

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlsButtonStyle

for playback controls

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackControlsIconHighlightColor

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int playbackControlsTimeStyle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int playbackProgressPrimaryColor

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int repeat

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int repeat_one

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int resizeTrigger

Conditions used to trigger text resizing

Must be one or more (separated by '|') of the following constant values.

ConstantValueDescription
maxLines0x01 Resize text whenever it lays out into the maximum number of lines

public static int resizedPaddingAdjustmentBottom

Adjustment to bottom padding for resized text

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int resizedPaddingAdjustmentTop

Adjustment to top padding for resized text

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int resizedTextSize

Text size for resized text

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int rewind

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHeaderDockStyle

style for the layout that hosting Header inside a row

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHeaderStyle

header style inside a row

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHeight

Defining height of each row of HorizontalGridView

May be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

May be one of the following constant values.

ConstantValueDescription
wrap_content-2

public static int rowHorizontalGridStyle

horizontal grid style inside a row

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHoverCardDescriptionStyle

hover card description style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowHoverCardTitleStyle

hover card title style

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int rowsVerticalGridStyle

vertical grid style inside RowsFragment

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int searchOrbBrightColor

Defining pulse color of the search affordance

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int searchOrbColor

Defining color of the search affordance

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int searchOrbIcon

Defining icon of the search affordance

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int searchOrbIconColor

Defining icon tint color of the search affordance

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

public static int searchOrbViewStyle

Style for searchOrb

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int selectedAnimationDelay

Defines the delay in milliseconds before the selection animation runs for a card layout.

Must be an integer value, such as "100".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int selectedAnimationDuration

Defines the duration in milliseconds of the selection animation for a card layout.

Must be an integer value, such as "100".

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

public static int shuffle

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int skip_next

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int skip_previous

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int thumb_down

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int thumb_down_outline

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int thumb_up

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int thumb_up_outline

Must be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

public static int verticalMargin

Defining margin between two items vertically

Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters).

This may also be a reference to a resource (in the form "@[package:]type:name") or theme attribute (in the form "?[package:][type:]name") containing a value of this type.

Public Constructors

public R.attr ()