Most visited

Recently visited

R.attr

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 arrowBgColor

Attribute for background color of the arrow in PagingIndicator.

public static int arrowRadius

Attributes for the radius of the arrow.

public static int baseCardViewStyle

CardView styles

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

public static int browsePaddingBottom

bottom padding of BrowseFragment

May 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

May 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

May 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

May 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

May 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

May 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

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

public static int browseTitleIconStyle

fragment title icon style

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

public static int browseTitleTextStyle

fragment title text style

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

public static int browseTitleViewLayout

customize title view layout file, it must have title view with id browse_title_group

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

public static int browseTitleViewStyle

fragment title view style

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

public static int cardBackground

Defines the background of card

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

public static int cardForeground

Defines the background of card

May be a reference to another resource, in the form "@[+][package:]type/name" or 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

May be a reference to another resource, in the form "@[+][package:]type/name" or 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 datePickerFormat

e.g.

public static int defaultBrandColor

Default brand color used for the background of certain leanback visual elements such as the headers fragment.

public static int defaultBrandColorDark

Default dark brand color used for the background of certain leanback visual elements such as the actions background.

public static int defaultSearchBrightColor

Default color that search orb pulses to.

public static int defaultSearchColor

Default background color for Search Icon

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

public static int defaultSearchIcon

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

public static int defaultSearchIconColor

Default icon color for Search Icon

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

public static int defaultSectionHeaderColor

Default color for SectionHeader, by default same as defaultSearchColor

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

public static int detailsActionButtonStyle

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

public static int detailsDescriptionBodyStyle

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

public static int detailsDescriptionSubtitleStyle

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

public static int detailsDescriptionTitleStyle

for details overviews

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

public static int dotBgColor

Attribute for background color of the dots in PagingIndicator.

public static int dotRadius

Attributes for the radius of the dot.

public static int dotToArrowGap

Attributes for the distance between the centers of the arrow circle and the adjacent dot.

public static int dotToDotGap

Attributes for the distance between the centers of the adjacent dots.

public static int errorMessageStyle

for messages in the error fragment

May be a reference to another resource, in the form "@[+][package:]type/name" or 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

May be a reference to another resource, in the form "@[+][package:]type/name" or 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

May be a boolean value, such as "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

May be a boolean value, such as "true" or "false".

public static int focusOutSideEnd

Allow DPAD key to navigate out of last row, for HorizontalGridView, it's the bottom edge, for VerticalGridView it's the "end" edge.

public static int focusOutSideStart

Allow DPAD key to navigate out of first row, for HorizontalGridView, it's the top edge, for VerticalGridView it's the "start" edge.

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

Deprecated theme attribute, do not use

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

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

Deprecated theme attribute, do not use

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

public static int guidedActionContentWidth

Deprecated theme attribute, do not use

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

public static int guidedActionContentWidthNoIcon

Deprecated theme attribute, do not use

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

public static int guidedActionContentWidthWeight

Theme attribute used for the weight of actions.

public static int guidedActionContentWidthWeightTwoPanels

Theme attribute used for the weight of actions when there are two panels.

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

Deprecated theme attribute, do not use

May be a reference to another resource, in the form "@[+][package:]type/name" or 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.

public static int guidedActionVerticalPadding

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

public static int guidedActionsBackground

Theme attribute for the background of GuidedActions.

public static int guidedActionsBackgroundDark

Theme attribute for the dark version background of GuidedActions.

public static int guidedActionsContainerStyle

Deprecated theme attribute, do not use

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

public static int guidedActionsElevation

Theme attribute for the shadow elevation of GuidedActions.

public static int guidedActionsEntryAnimation

Deprecated theme attribute, do not use

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

public static int guidedActionsListStyle

Theme attribute for the style of the list in a GuidedActionsPresenter.

public static int guidedActionsSelectorDrawable

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

public static int guidedActionsSelectorHideAnimation

Deprecated theme attribute, do not use

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

public static int guidedActionsSelectorShowAnimation

Deprecated theme attribute, do not use

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

public static int guidedActionsSelectorStyle

Deprecated theme attribute, do not use

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

public static int guidedButtonActionsListStyle

Theme attribute for the style of the list in a GuidedActionsPresenter.

public static int guidedStepBackground

Theme attribute of background drawable used by GuidedStepFragment.

public static int guidedStepEntryAnimation

Deprecated theme attribute, do not use

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

public static int guidedStepExitAnimation

Deprecated theme attribute, do not use

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

public static int guidedStepHeightWeight

Used to control the height of the fragment.

public static int guidedStepImeAppearingAnimation

Theme attribute for the animation used when a guided step element is animated in response to the IME appearing.

public static int guidedStepImeDisappearingAnimation

Theme attribute for the animation used when a guided step element is animated in response to the IME disappearing.

public static int guidedStepKeyline

Y offset to the bottom of the TitleView(font baseline) used to align the first action text on the right.

public static int guidedStepReentryAnimation

Deprecated theme attribute, do not use

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

public static int guidedStepReturnAnimation

Deprecated theme attribute, do not use

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

public static int guidedStepTheme

Theme attribute for the overall theme used in a GuidedStepFragment.

public static int guidedSubActionsListStyle

Theme attribute for the style of the sub actions list in a GuidedActionsPresenter.

public static int headerStyle

header style inside HeadersFragment

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

public static int headersVerticalGridStyle

vertical grid style inside HeadersFragment

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

public static int high_quality

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

public static int horizontalMargin

Defining margin between two items horizontally

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

public static int imageCardViewBadgeStyle

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

public static int imageCardViewContentStyle

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

public static int imageCardViewImageStyle

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

public static int imageCardViewInfoAreaStyle

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

public static int imageCardViewStyle

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

public static int imageCardViewTitleStyle

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

public static int infoAreaBackground

Deprecated.

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

May be a reference to another resource, in the form "@[+][package:]type/name" or 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 lbImageCardViewType

Defines what components the ImageCardView will use.

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

May be a boolean value, such as "true" or "false".

public static int numberOfColumns

Defining number of columns

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

public static int numberOfRows

Defining number of rows

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

public static int onboardingDescriptionStyle

Theme attribute for the style of the description text in onboarding screen.

public static int onboardingHeaderStyle

Theme attribute for the style of the header in onboarding screen.

public static int onboardingLogoStyle

Theme attribute for the style of the logo in onboarding screen.

public static int onboardingNavigatorContainerStyle

Theme attribute for the style of the navigator container in onboarding screen.

public static int onboardingPageIndicatorStyle

Theme attribute for the style of the page indicator in onboarding screen.

public static int onboardingStartButtonStyle

Theme attribute for the style of the start button in onboarding screen.

public static int onboardingTheme

Theme attribute for the overall theme used in the onboarding.

public static int onboardingTitleStyle

Theme attribute for the style of the title text in onboarding screen.

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

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

public static int picture_in_picture

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

public static int play

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

public static int playbackControlButtonLabelStyle

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

public static int playbackControlsActionIcons

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

public static int playbackControlsButtonStyle

May be a reference to another resource, in the form "@[+][package:]type/name" or 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 a theme attribute in the form "?[package:]type/name".

public static int playbackControlsTimeStyle

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

public static int playbackMediaItemDetailsStyle

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

public static int playbackMediaItemDurationStyle

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

public static int playbackMediaItemNameStyle

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

public static int playbackMediaItemNumberStyle

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

public static int playbackMediaItemPaddingStart

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

public static int playbackMediaItemRowStyle

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

public static int playbackMediaItemSeparatorStyle

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

public static int playbackMediaListHeaderStyle

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

public static int playbackMediaListHeaderTitleStyle

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

public static int playbackPaddingEnd

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

public static int playbackPaddingStart

for playlist and playback controls styling

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

public static int playbackProgressPrimaryColor

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

public static int repeat

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

public static int repeat_one

May be a reference to another resource, in the form "@[+][package:]type/name" or 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

May 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

May 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

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

public static int rewind

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

public static int rowHeaderDockStyle

style for the layout that hosting Header inside a row

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

public static int rowHeaderStyle

header style inside a row

May be a reference to another resource, in the form "@[+][package:]type/name" or 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

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

public static int rowHoverCardDescriptionStyle

hover card description style

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

public static int rowHoverCardTitleStyle

hover card title style

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

public static int rowsVerticalGridStyle

vertical grid style inside RowsFragment

May be a reference to another resource, in the form "@[+][package:]type/name" or 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 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 a theme attribute in the form "?[package:]type/name".

public static int searchOrbIcon

Defining icon of the search affordance

May be a reference to another resource, in the form "@[+][package:]type/name" or 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 a theme attribute in the form "?[package:]type/name".

public static int searchOrbViewStyle

Style for searchOrb

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

public static int sectionHeaderStyle

Non selectable header style inside HeadersFragment

May be a reference to another resource, in the form "@[+][package:]type/name" or 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

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

public static int skip_next

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

public static int skip_previous

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

public static int thumb_down

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

public static int thumb_down_outline

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

public static int thumb_up

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

public static int thumb_up_outline

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

public static int verticalMargin

Defining margin between two items vertically

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

Public constructors

R.attr()

Inherited methods

From class java.lang.Object

Fields

activatedAnimationDuration

int activatedAnimationDuration

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

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

arrowBgColor

int arrowBgColor

Attribute for background color of the arrow in PagingIndicator.

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

arrowRadius

int arrowRadius

Attributes for the radius of the arrow.

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

baseCardViewStyle

int baseCardViewStyle

CardView styles

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

browsePaddingBottom

int browsePaddingBottom

bottom padding of BrowseFragment

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), and mm (millimeters).

browsePaddingEnd

int browsePaddingEnd

end padding of BrowseFragment, RowsFragment, DetailsFragment

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), and mm (millimeters).

browsePaddingStart

int browsePaddingStart

start padding of BrowseFragment, RowsFragment, DetailsFragment

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), and mm (millimeters).

browsePaddingTop

int browsePaddingTop

top padding of BrowseFragment

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), and mm (millimeters).

browseRowsFadingEdgeLength

int browseRowsFadingEdgeLength

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

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), and mm (millimeters).

browseRowsMarginStart

int browseRowsMarginStart

start margin of RowsFragment inside BrowseFragment when HeadersFragment is visible

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), and mm (millimeters).

browseRowsMarginTop

int browseRowsMarginTop

top margin of RowsFragment inside BrowseFragment when BrowseFragment title is visible

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), and mm (millimeters).

browseTitleIconStyle

int browseTitleIconStyle

fragment title icon style

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

browseTitleTextStyle

int browseTitleTextStyle

fragment title text style

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

browseTitleViewLayout

int browseTitleViewLayout

customize title view layout file, it must have title view with id browse_title_group

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

browseTitleViewStyle

int browseTitleViewStyle

fragment title view style

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

cardBackground

int cardBackground

Defines the background of card

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

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

cardForeground

int cardForeground

Defines the background of card

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

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

cardType

int cardType

Defines the type of the card layout

Must be one of the following constant values.

ConstantValueDescription
infoOver1A 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.
infoUnder2A card layout with two layout regions: a main area which is always visible, and an info region that appears below the main region.
infoUnderWithExtra3A 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.
mainOnly0A simple card layout with a single layout region.

closed_captioning

int closed_captioning

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

columnWidth

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), and mm (millimeters).

Must be one of the following constant values.

ConstantValueDescription
wrap_contentfffffffe

datePickerFormat

int datePickerFormat

e.g. "MDY", "MY"

May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;

defaultBrandColor

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 a theme attribute in the form "?[package:]type/name".

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

defaultBrandColorDark

int defaultBrandColorDark

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

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

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

defaultSearchBrightColor

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 a theme attribute in the form "?[package:]type/name".

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

defaultSearchColor

int defaultSearchColor

Default background color for Search Icon

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

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

defaultSearchIcon

int defaultSearchIcon

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

defaultSearchIconColor

int defaultSearchIconColor

Default icon color for Search Icon

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

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

defaultSectionHeaderColor

int defaultSectionHeaderColor

Default color for SectionHeader, by default same as defaultSearchColor

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

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

detailsActionButtonStyle

int detailsActionButtonStyle

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

detailsDescriptionBodyStyle

int detailsDescriptionBodyStyle

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

detailsDescriptionSubtitleStyle

int detailsDescriptionSubtitleStyle

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

detailsDescriptionTitleStyle

int detailsDescriptionTitleStyle

for details overviews

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

dotBgColor

int dotBgColor

Attribute for background color of the dots in PagingIndicator.

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

dotRadius

int dotRadius

Attributes for the radius of the dot.

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

dotToArrowGap

int dotToArrowGap

Attributes for the distance between the centers of the arrow circle and the adjacent dot.

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

dotToDotGap

int dotToDotGap

Attributes for the distance between the centers of the adjacent dots.

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

errorMessageStyle

int errorMessageStyle

for messages in the error fragment

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

extraVisibility

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
activated1Display the extra region only when activated.
always0Always display the extra region.
selected2Display the extra region only when selected.

fast_forward

int fast_forward

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

focusOutEnd

int focusOutEnd

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

May be a boolean value, such as "true" or "false".

focusOutFront

int focusOutFront

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

May be a boolean value, such as "true" or "false".

focusOutSideEnd

int focusOutSideEnd

Allow DPAD key to navigate out of last row, for HorizontalGridView, it's the bottom edge, for VerticalGridView it's the "end" edge. Default value is true.

May be a boolean value, such as "true" or "false".

focusOutSideStart

int focusOutSideStart

Allow DPAD key to navigate out of first row, for HorizontalGridView, it's the top edge, for VerticalGridView it's the "start" edge. Default value is true.

May be a boolean value, such as "true" or "false".

guidanceBreadcrumbStyle

int guidanceBreadcrumbStyle

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

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

guidanceContainerStyle

int guidanceContainerStyle

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

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

guidanceDescriptionStyle

int guidanceDescriptionStyle

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

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

guidanceEntryAnimation

int guidanceEntryAnimation

Deprecated theme attribute, do not use

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

guidanceIconStyle

int guidanceIconStyle

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

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

guidanceTitleStyle

int guidanceTitleStyle

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

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

guidedActionCheckedAnimation

int guidedActionCheckedAnimation

Deprecated theme attribute, do not use

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

guidedActionContentWidth

int guidedActionContentWidth

Deprecated theme attribute, do not use

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

guidedActionContentWidthNoIcon

int guidedActionContentWidthNoIcon

Deprecated theme attribute, do not use

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

guidedActionContentWidthWeight

int guidedActionContentWidthWeight

Theme attribute used for the weight of actions. Default is lb_guidedactions_width_weight.

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

guidedActionContentWidthWeightTwoPanels

int guidedActionContentWidthWeightTwoPanels

Theme attribute used for the weight of actions when there are two panels. Default is lb_guidedactions_width_weight_two_panels.

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

guidedActionDescriptionMinLines

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.

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

guidedActionDisabledChevronAlpha

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.

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

guidedActionEnabledChevronAlpha

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.

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

guidedActionItemCheckmarkStyle

int guidedActionItemCheckmarkStyle

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

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

guidedActionItemChevronStyle

int guidedActionItemChevronStyle

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

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

guidedActionItemContainerStyle

int guidedActionItemContainerStyle

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

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

guidedActionItemContentStyle

int guidedActionItemContentStyle

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

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

guidedActionItemDescriptionStyle

int guidedActionItemDescriptionStyle

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

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

guidedActionItemIconStyle

int guidedActionItemIconStyle

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

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

guidedActionItemTitleStyle

int guidedActionItemTitleStyle

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

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

guidedActionPressedAnimation

int guidedActionPressedAnimation

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

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

guidedActionTitleMaxLines

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.

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

guidedActionTitleMinLines

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.

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

guidedActionUncheckedAnimation

int guidedActionUncheckedAnimation

Deprecated theme attribute, do not use

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

guidedActionUnpressedAnimation

int guidedActionUnpressedAnimation

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

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

guidedActionVerticalPadding

int guidedActionVerticalPadding

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

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

guidedActionsBackground

int guidedActionsBackground

Theme attribute for the background of GuidedActions. Default is lb_guidedactions_background.

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

guidedActionsBackgroundDark

int guidedActionsBackgroundDark

Theme attribute for the dark version background of GuidedActions. Default is lb_guidedactions_background_dark.

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

guidedActionsContainerStyle

int guidedActionsContainerStyle

Deprecated theme attribute, do not use

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

guidedActionsElevation

int guidedActionsElevation

Theme attribute for the shadow elevation of GuidedActions. Default is lb_guidedactions_elevation.

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

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), and mm (millimeters).

guidedActionsEntryAnimation

int guidedActionsEntryAnimation

Deprecated theme attribute, do not use

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

guidedActionsListStyle

int guidedActionsListStyle

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

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

guidedActionsSelectorDrawable

int guidedActionsSelectorDrawable

Theme attribute for the style of the item selector in a GuidedActionsPresenter. Default is ?android:attr/selectableItemBackground.

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

guidedActionsSelectorHideAnimation

int guidedActionsSelectorHideAnimation

Deprecated theme attribute, do not use

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

guidedActionsSelectorShowAnimation

int guidedActionsSelectorShowAnimation

Deprecated theme attribute, do not use

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

guidedActionsSelectorStyle

int guidedActionsSelectorStyle

Deprecated theme attribute, do not use

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

guidedButtonActionsListStyle

int guidedButtonActionsListStyle

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

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

guidedStepBackground

int guidedStepBackground

Theme attribute of background drawable used by GuidedStepFragment.

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

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

guidedStepEntryAnimation

int guidedStepEntryAnimation

Deprecated theme attribute, do not use

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

guidedStepExitAnimation

int guidedStepExitAnimation

Deprecated theme attribute, do not use

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

guidedStepHeightWeight

int guidedStepHeightWeight

Used to control the height of the fragment. By default this fragment will take up the full height of it's parent. The height of this fragment is governed by this property. Default weight is set to 2.0, so inorder to render the fragment in half screen mode, this attribute should be set to 1.0

May be a floating point value, such as "1.2".

guidedStepImeAppearingAnimation

int guidedStepImeAppearingAnimation

Theme attribute for the animation used when a guided step element is animated in response to the IME appearing. Default is lb_guidedstep_slide_up.

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

guidedStepImeDisappearingAnimation

int guidedStepImeDisappearingAnimation

Theme attribute for the animation used when a guided step element is animated in response to the IME disappearing. Default is lb_guidedstep_slide_down.

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

guidedStepKeyline

int guidedStepKeyline

Y offset to the bottom of the TitleView(font baseline) used to align the first action text on the right.

May be a floating point value, such as "1.2".

guidedStepReentryAnimation

int guidedStepReentryAnimation

Deprecated theme attribute, do not use

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

guidedStepReturnAnimation

int guidedStepReturnAnimation

Deprecated theme attribute, do not use

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

guidedStepTheme

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.

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

guidedSubActionsListStyle

int guidedSubActionsListStyle

Theme attribute for the style of the sub actions list in a GuidedActionsPresenter. Default is Widget_Leanback_GuidedSubActionsListStyle.

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

headerStyle

int headerStyle

header style inside HeadersFragment

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

headersVerticalGridStyle

int headersVerticalGridStyle

vertical grid style inside HeadersFragment

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

high_quality

int high_quality

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

horizontalMargin

int horizontalMargin

Defining margin between two items horizontally

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), and mm (millimeters).

imageCardViewBadgeStyle

int imageCardViewBadgeStyle

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

imageCardViewContentStyle

int imageCardViewContentStyle

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

imageCardViewImageStyle

int imageCardViewImageStyle

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

imageCardViewInfoAreaStyle

int imageCardViewInfoAreaStyle

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

imageCardViewStyle

int imageCardViewStyle

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

imageCardViewTitleStyle

int imageCardViewTitleStyle

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

infoAreaBackground

int infoAreaBackground

Deprecated. Use 'imageCardViewInfoAreaStyle' instead.

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

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

infoVisibility

int infoVisibility

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

Must be one of the following constant values.

ConstantValueDescription
activated1Display the info region only when activated.
always0Always display the info region.
selected2Display the info region only when selected.

itemsVerticalGridStyle

int itemsVerticalGridStyle

style for a vertical grid of items

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

layout_viewType

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
extra2The extra region of the card.
info1The info region of the card.
main0The main region of the card.

lbImageCardViewType

int lbImageCardViewType

Defines what components the ImageCardView will use.

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

ConstantValueDescription
Content2
IconOnLeft8
IconOnRight4
ImageOnly0Only display the main image.
Title1

lb_slideEdge

int lb_slideEdge

A duplication of Slide attribute slideEdge for KitKat

Must be one of the following constant values.

ConstantValueDescription
bottom50Slide to and from the bottom edge of the Scene.
end800005Slide to and from the x-axis position at the end of the Scene root.
left3Slide to and from the left edge of the Scene.
right5Slide to and from the right edge of the Scene.
start800003Slide to and from the x-axis position at the start of the Scene root.
top30Slide to and from the top edge of the Scene.

maintainLineSpacing

int maintainLineSpacing

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

May be a boolean value, such as "true" or "false".

numberOfColumns

int numberOfColumns

Defining number of columns

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

numberOfRows

int numberOfRows

Defining number of rows

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

onboardingDescriptionStyle

int onboardingDescriptionStyle

Theme attribute for the style of the description text in onboarding screen. Default is Widget_Leanback_OnboardingDescriptionStyle.

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

onboardingHeaderStyle

int onboardingHeaderStyle

Theme attribute for the style of the header in onboarding screen. Default is Widget_Leanback_OnboardingHeaderStyle.

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

onboardingLogoStyle

int onboardingLogoStyle

Theme attribute for the style of the logo in onboarding screen. Default is Widget_Leanback_OnboardingLogoStyle.

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

onboardingNavigatorContainerStyle

int onboardingNavigatorContainerStyle

Theme attribute for the style of the navigator container in onboarding screen. Default is Widget_Leanback_OnboardingNavigatorContainerStyle.

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

onboardingPageIndicatorStyle

int onboardingPageIndicatorStyle

Theme attribute for the style of the page indicator in onboarding screen. Default is Widget_Leanback_OnboardingPageIndicatorStyle.

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

onboardingStartButtonStyle

int onboardingStartButtonStyle

Theme attribute for the style of the start button in onboarding screen. Default is Widget_Leanback_OnboardingStartButtonStyle.

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

onboardingTheme

int onboardingTheme

Theme attribute for the overall theme used in the onboarding. 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.Onboarding in order to specify the default OnboardingFragment styles.

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

onboardingTitleStyle

int onboardingTitleStyle

Theme attribute for the style of the title text in onboarding screen. Default is Widget_Leanback_OnboardingTitleStyle.

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

overlayDimActiveLevel

int overlayDimActiveLevel

Default level of dimming for active views.

May 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.

overlayDimDimmedLevel

int overlayDimDimmedLevel

Default level of dimming for dimmed views.

May 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.

overlayDimMaskColor

int overlayDimMaskColor

Default color for dimmed views.

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

pause

int pause

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

picture_in_picture

int picture_in_picture

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

play

int play

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

playbackControlButtonLabelStyle

int playbackControlButtonLabelStyle

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

playbackControlsActionIcons

int playbackControlsActionIcons

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

playbackControlsButtonStyle

int playbackControlsButtonStyle

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

playbackControlsIconHighlightColor

int playbackControlsIconHighlightColor

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

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

playbackControlsTimeStyle

int playbackControlsTimeStyle

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

playbackMediaItemDetailsStyle

int playbackMediaItemDetailsStyle

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

playbackMediaItemDurationStyle

int playbackMediaItemDurationStyle

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

playbackMediaItemNameStyle

int playbackMediaItemNameStyle

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

playbackMediaItemNumberStyle

int playbackMediaItemNumberStyle

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

playbackMediaItemPaddingStart

int playbackMediaItemPaddingStart

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), and mm (millimeters).

playbackMediaItemRowStyle

int playbackMediaItemRowStyle

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

playbackMediaItemSeparatorStyle

int playbackMediaItemSeparatorStyle

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

playbackMediaListHeaderStyle

int playbackMediaListHeaderStyle

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

playbackMediaListHeaderTitleStyle

int playbackMediaListHeaderTitleStyle

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

playbackPaddingEnd

int playbackPaddingEnd

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), and mm (millimeters).

playbackPaddingStart

int playbackPaddingStart

for playlist and playback controls styling

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), and mm (millimeters).

playbackProgressPrimaryColor

int playbackProgressPrimaryColor

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

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

repeat

int repeat

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

repeat_one

int repeat_one

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

resizeTrigger

int resizeTrigger

Conditions used to trigger text resizing

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

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

resizedPaddingAdjustmentBottom

int resizedPaddingAdjustmentBottom

Adjustment to bottom padding for resized text

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), and mm (millimeters).

resizedPaddingAdjustmentTop

int resizedPaddingAdjustmentTop

Adjustment to top padding for resized text

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), and mm (millimeters).

resizedTextSize

int resizedTextSize

Text size for resized text

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), and mm (millimeters).

rewind

int rewind

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

rowHeaderDockStyle

int rowHeaderDockStyle

style for the layout that hosting Header inside a row

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

rowHeaderStyle

int rowHeaderStyle

header style inside a row

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

rowHeight

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), and mm (millimeters).

Must be one of the following constant values.

ConstantValueDescription
wrap_contentfffffffe

rowHorizontalGridStyle

int rowHorizontalGridStyle

horizontal grid style inside a row

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

rowHoverCardDescriptionStyle

int rowHoverCardDescriptionStyle

hover card description style

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

rowHoverCardTitleStyle

int rowHoverCardTitleStyle

hover card title style

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

rowsVerticalGridStyle

int rowsVerticalGridStyle

vertical grid style inside RowsFragment

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

searchOrbBrightColor

int searchOrbBrightColor

Defining pulse color of the search affordance

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

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

searchOrbColor

int searchOrbColor

Defining color of the search affordance

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

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

searchOrbIcon

int searchOrbIcon

Defining icon of the search affordance

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

searchOrbIconColor

int searchOrbIconColor

Defining icon tint color of the search affordance

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

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

searchOrbViewStyle

int searchOrbViewStyle

Style for searchOrb

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

sectionHeaderStyle

int sectionHeaderStyle

Non selectable header style inside HeadersFragment

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

selectedAnimationDelay

int selectedAnimationDelay

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

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

selectedAnimationDuration

int selectedAnimationDuration

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

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

shuffle

int shuffle

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

skip_next

int skip_next

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

skip_previous

int skip_previous

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

thumb_down

int thumb_down

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

thumb_down_outline

int thumb_down_outline

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

thumb_up

int thumb_up

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

thumb_up_outline

int thumb_up_outline

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

verticalMargin

int verticalMargin

Defining margin between two items vertically

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), and mm (millimeters).

Public constructors

R.attr

R.attr ()

Hooray!