public
static
final
class
R.attr
extends Object
java.lang.Object | |
↳ | android.support.v17.leanback.R.attr |
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
" |
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 " |
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 " |
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 " |
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 " |
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 " |
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 " |
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 " |
public
static
int |
browseTitleIconStyle
fragment title icon style May be a reference to another resource, in the form
" |
public
static
int |
browseTitleTextStyle
fragment title text style May be a reference to another resource, in the form
" |
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
" |
public
static
int |
browseTitleViewStyle
fragment title view style May be a reference to another resource, in the form
" |
public
static
int |
cardBackground
Defines the background of card May be a reference to another resource, in the form
" |
public
static
int |
cardForeground
Defines the background of card May be a reference to another resource, in the form
" |
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
" |
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 " |
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
" |
public
static
int |
defaultSearchIcon
May be a reference to another resource, in the form
" |
public
static
int |
defaultSearchIconColor
Default icon color for Search Icon May be a reference to another resource, in the form
" |
public
static
int |
defaultSectionHeaderColor
Default color for SectionHeader, by default same as defaultSearchColor May be a reference to another resource, in the form
" |
public
static
int |
detailsActionButtonStyle
May be a reference to another resource, in the form
" |
public
static
int |
detailsDescriptionBodyStyle
May be a reference to another resource, in the form
" |
public
static
int |
detailsDescriptionSubtitleStyle
May be a reference to another resource, in the form
" |
public
static
int |
detailsDescriptionTitleStyle
for details overviews May be a reference to another resource, in the form
" |
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
" |
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
" |
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 " |
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 " |
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
" |
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
" |
public
static
int |
guidedActionContentWidth
Deprecated theme attribute, do not use May be a reference to another resource, in the form
" |
public
static
int |
guidedActionContentWidthNoIcon
Deprecated theme attribute, do not use May be a reference to another resource, in the form
" |
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
" |
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
" |
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
" |
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
" |
public
static
int |
guidedActionsSelectorShowAnimation
Deprecated theme attribute, do not use May be a reference to another resource, in the form
" |
public
static
int |
guidedActionsSelectorStyle
Deprecated theme attribute, do not use May be a reference to another resource, in the form
" |
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
" |
public
static
int |
guidedStepExitAnimation
Deprecated theme attribute, do not use May be a reference to another resource, in the form
" |
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
" |
public
static
int |
guidedStepReturnAnimation
Deprecated theme attribute, do not use May be a reference to another resource, in the form
" |
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
" |
public
static
int |
headersVerticalGridStyle
vertical grid style inside HeadersFragment May be a reference to another resource, in the form
" |
public
static
int |
high_quality
May be a reference to another resource, in the form
" |
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 " |
public
static
int |
imageCardViewBadgeStyle
May be a reference to another resource, in the form
" |
public
static
int |
imageCardViewContentStyle
May be a reference to another resource, in the form
" |
public
static
int |
imageCardViewImageStyle
May be a reference to another resource, in the form
" |
public
static
int |
imageCardViewInfoAreaStyle
May be a reference to another resource, in the form
" |
public
static
int |
imageCardViewStyle
May be a reference to another resource, in the form
" |
public
static
int |
imageCardViewTitleStyle
May be a reference to another resource, in the form
" |
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
" |
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 " |
public
static
int |
numberOfColumns
Defining number of columns May be an integer value, such as " |
public
static
int |
numberOfRows
Defining number of rows May be an integer value, such as " |
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
" |
public
static
int |
picture_in_picture
May be a reference to another resource, in the form
" |
public
static
int |
play
May be a reference to another resource, in the form
" |
public
static
int |
playbackControlButtonLabelStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackControlsActionIcons
May be a reference to another resource, in the form
" |
public
static
int |
playbackControlsButtonStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackControlsIconHighlightColor
May be a reference to another resource, in the form
" |
public
static
int |
playbackControlsTimeStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackMediaItemDetailsStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackMediaItemDurationStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackMediaItemNameStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackMediaItemNumberStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackMediaItemPaddingStart
May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
playbackMediaItemRowStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackMediaItemSeparatorStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackMediaListHeaderStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackMediaListHeaderTitleStyle
May be a reference to another resource, in the form
" |
public
static
int |
playbackPaddingEnd
May be a dimension value, which is a floating point number appended with a
unit such as " |
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 " |
public
static
int |
playbackProgressPrimaryColor
May be a reference to another resource, in the form
" |
public
static
int |
repeat
May be a reference to another resource, in the form
" |
public
static
int |
repeat_one
May be a reference to another resource, in the form
" |
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 " |
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 " |
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 " |
public
static
int |
rewind
May be a reference to another resource, in the form
" |
public
static
int |
rowHeaderDockStyle
style for the layout that hosting Header inside a row May be a reference to another resource, in the form
" |
public
static
int |
rowHeaderStyle
header style inside a row May be a reference to another resource, in the form
" |
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 " |
public
static
int |
rowHorizontalGridStyle
horizontal grid style inside a row May be a reference to another resource, in the form
" |
public
static
int |
rowHoverCardDescriptionStyle
hover card description style May be a reference to another resource, in the form
" |
public
static
int |
rowHoverCardTitleStyle
hover card title style May be a reference to another resource, in the form
" |
public
static
int |
rowsVerticalGridStyle
vertical grid style inside RowsFragment May be a reference to another resource, in the form
" |
public
static
int |
searchOrbBrightColor
Defining pulse color of the search affordance May be a reference to another resource, in the form
" |
public
static
int |
searchOrbColor
Defining color of the search affordance May be a reference to another resource, in the form
" |
public
static
int |
searchOrbIcon
Defining icon of the search affordance May be a reference to another resource, in the form
" |
public
static
int |
searchOrbIconColor
Defining icon tint color of the search affordance May be a reference to another resource, in the form
" |
public
static
int |
searchOrbViewStyle
Style for searchOrb May be a reference to another resource, in the form
" |
public
static
int |
sectionHeaderStyle
Non selectable header style inside HeadersFragment May be a reference to another resource, in the form
" |
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
" |
public
static
int |
skip_next
May be a reference to another resource, in the form
" |
public
static
int |
skip_previous
May be a reference to another resource, in the form
" |
public
static
int |
thumb_down
May be a reference to another resource, in the form
" |
public
static
int |
thumb_down_outline
May be a reference to another resource, in the form
" |
public
static
int |
thumb_up
May be a reference to another resource, in the form
" |
public
static
int |
thumb_up_outline
May be a reference to another resource, in the form
" |
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 " |
Public constructors | |
---|---|
R.attr()
|
Inherited methods | |
---|---|
From
class
java.lang.Object
|
int activatedAnimationDuration
Defines the duration in milliseconds of the activated animation for a card layout.
May be an integer value, such as "100
".
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
".
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
".
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
".
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).
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).
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).
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).
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).
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).
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).
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
".
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
".
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
".
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
".
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".
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".
int cardType
Defines the type of the card layout
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
infoOver | 1 | 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. |
infoUnder | 2 | A card layout with two layout regions: a main area which is always visible, and an info region that appears below the main region. |
infoUnderWithExtra | 3 | 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. |
mainOnly | 0 | A simple card layout with a single layout region. |
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
".
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.
Constant | Value | Description |
---|---|---|
wrap_content | fffffffe |
int datePickerFormat
e.g. "MDY", "MY"
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
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".
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".
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".
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".
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
".
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".
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".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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.
Constant | Value | Description |
---|---|---|
activated | 1 | Display the extra region only when activated. |
always | 0 | Always display the extra region. |
selected | 2 | Display the extra region only when selected. |
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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).
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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).
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
".
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
".
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
".
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
".
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
".
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
".
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".
int infoVisibility
Defines when the info region of a card layout is displayed.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
activated | 1 | Display the info region only when activated. |
always | 0 | Always display the info region. |
selected | 2 | Display the info region only when selected. |
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
".
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.
Constant | Value | Description |
---|---|---|
extra | 2 | The extra region of the card. |
info | 1 | The info region of the card. |
main | 0 | The main region of the card. |
int lbImageCardViewType
Defines what components the ImageCardView will use.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
Content | 2 | |
IconOnLeft | 8 | |
IconOnRight | 4 | |
ImageOnly | 0 | Only display the main image. |
Title | 1 |
int lb_slideEdge
A duplication of Slide attribute slideEdge for KitKat
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | Slide to and from the bottom edge of the Scene. |
end | 800005 | Slide to and from the x-axis position at the end of the Scene root. |
left | 3 | Slide to and from the left edge of the Scene. |
right | 5 | Slide to and from the right edge of the Scene. |
start | 800003 | Slide to and from the x-axis position at the start of the Scene root. |
top | 30 | Slide to and from the top edge of the Scene. |
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
".
int numberOfColumns
Defining number of columns
May be an integer value, such as "100
".
int numberOfRows
Defining number of rows
May be an integer value, such as "100
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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.
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.
int overlayDimMaskColor
Default color for dimmed views.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
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
".
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
".
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
".
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
".
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
".
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
".
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".
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
".
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
".
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
".
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
".
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
".
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).
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
".
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
".
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
".
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
".
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).
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).
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".
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
".
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
".
int resizeTrigger
Conditions used to trigger text resizing
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
maxLines | 1 | Resize text whenever it lays out into the maximum number of lines |
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).
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).
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).
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
".
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
".
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
".
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.
Constant | Value | Description |
---|---|---|
wrap_content | fffffffe |
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
".
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
".
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
".
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
".
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".
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".
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
".
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".
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
".
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
".
int selectedAnimationDelay
Defines the delay in milliseconds before the selection animation runs for a card layout.
May be an integer value, such as "100
".
int selectedAnimationDuration
Defines the duration in milliseconds of the selection animation for a card layout.
May be an integer value, such as "100
".
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
".
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
".
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
".
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
".
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
".
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
".
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
".
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).
R.attr ()