java.lang.Object | |
↳ | android.support.v17.leanback.R.styleable |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LeanbackTheme | Attributes that can be used with a LeanbackTheme. | ||||||||||
LeanbackTheme_baseCardViewStyle |
CardView styles Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_browsePaddingBottom |
bottom padding of BrowseFragment Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
LeanbackTheme_browsePaddingEnd |
end padding of BrowseFragment, RowsFragment, DetailsFragment Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
LeanbackTheme_browsePaddingStart |
start padding of BrowseFragment, RowsFragment, DetailsFragment Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
LeanbackTheme_browsePaddingTop |
top padding of BrowseFragment Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
LeanbackTheme_browseRowsFadingEdgeLength |
fading edge length of start of browse row when HeadersFragment is visible Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
LeanbackTheme_browseRowsMarginStart |
start margin of RowsFragment inside BrowseFragment when HeadersFragment is visible Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
LeanbackTheme_browseRowsMarginTop |
top margin of RowsFragment inside BrowseFragment when BrowseFragment title is visible Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
LeanbackTheme_browseTitleIconStyle |
BrowseFragment Title icon style Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_browseTitleTextStyle |
BrowseFragment Title text style Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_browseTitleViewStyle |
BrowseFragment TitleView style Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_defaultBrandColor |
Default brand color used for the background of certain leanback visual elements such as the headers fragment. |
||||||||||
LeanbackTheme_defaultSearchBrightColor |
Default color that search orb pulses to. |
||||||||||
LeanbackTheme_defaultSearchColor |
Default colors May be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_defaultSearchIcon |
This symbol is the offset where the |
||||||||||
LeanbackTheme_detailsActionButtonStyle |
This symbol is the offset where the |
||||||||||
LeanbackTheme_detailsDescriptionBodyStyle |
This symbol is the offset where the |
||||||||||
LeanbackTheme_detailsDescriptionSubtitleStyle |
This symbol is the offset where the |
||||||||||
LeanbackTheme_detailsDescriptionTitleStyle |
for details overviews Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_errorMessageStyle |
for messages in the error fragment Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_headerStyle |
header style inside HeadersFragment Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_headersVerticalGridStyle |
vertical grid style inside HeadersFragment Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_imageCardViewStyle |
This symbol is the offset where the |
||||||||||
LeanbackTheme_itemsVerticalGridStyle |
style for a vertical grid of items Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_overlayDimActiveLevel |
Default level of dimming for active views. |
||||||||||
LeanbackTheme_overlayDimDimmedLevel |
Default level of dimming for dimmed views. |
||||||||||
LeanbackTheme_overlayDimMaskColor |
Default color for dimmed views. |
||||||||||
LeanbackTheme_playbackControlButtonLabelStyle |
This symbol is the offset where the |
||||||||||
LeanbackTheme_playbackControlsActionIcons |
This symbol is the offset where the |
||||||||||
LeanbackTheme_playbackControlsButtonStyle |
for playback controls Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_playbackControlsIconHighlightColor |
This symbol is the offset where the |
||||||||||
LeanbackTheme_playbackControlsTimeStyle |
This symbol is the offset where the |
||||||||||
LeanbackTheme_playbackProgressPrimaryColor |
This symbol is the offset where the |
||||||||||
LeanbackTheme_rowHeaderStyle |
header style inside a row Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_rowHorizontalGridStyle |
horizontal grid style inside a row Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_rowHoverCardDescriptionStyle |
hover card description style Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_rowHoverCardTitleStyle |
hover card title style Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_rowsVerticalGridStyle |
vertical grid style inside RowsFragment Must be a reference to another resource, in the form " |
||||||||||
LeanbackTheme_searchOrbViewStyle |
Style for searchOrb Must be a reference to another resource, in the form " |
||||||||||
lbBaseCardView | Attributes that can be used with a lbBaseCardView. | ||||||||||
lbBaseCardView_Layout | This is the basic set of layout attributes for elements within a card layout. | ||||||||||
lbBaseCardView_Layout_layout_viewType |
The card layout region defined by this element. |
||||||||||
lbBaseCardView_activatedAnimationDuration |
Defines the duration in milliseconds of the activated animation for a card layout. |
||||||||||
lbBaseCardView_cardType |
Defines the type of the card layout Must be one of the following constant values. |
||||||||||
lbBaseCardView_extraVisibility |
Defines when the extra region of a card layout is displayed. |
||||||||||
lbBaseCardView_infoVisibility |
Defines when the info region of a card layout is displayed. |
||||||||||
lbBaseCardView_selectedAnimationDelay |
Defines the delay in milliseconds before the selection animation runs for a card layout. |
||||||||||
lbBaseCardView_selectedAnimationDuration |
Defines the duration in milliseconds of the selection animation for a card layout. |
||||||||||
lbBaseGridView | Attributes that can be used with a lbBaseGridView. | ||||||||||
lbBaseGridView_android_gravity |
Defining gravity of child view This corresponds to the global attribute
resource symbol |
||||||||||
lbBaseGridView_focusOutEnd |
Allow DPAD key to navigate out at the end of the view, default is false Must be a boolean value, either " |
||||||||||
lbBaseGridView_focusOutFront |
Allow DPAD key to navigate out at the front of the View (where position = 0), default is false Must be a boolean value, either " |
||||||||||
lbBaseGridView_horizontalMargin |
Defining margin between two items horizontally Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
lbBaseGridView_verticalMargin |
Defining margin between two items vertically Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
lbHorizontalGridView | Attributes that can be used with a lbHorizontalGridView. | ||||||||||
lbHorizontalGridView_numberOfRows |
Defining number of rows Must be an integer value, such as " |
||||||||||
lbHorizontalGridView_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 " |
||||||||||
lbImageCardView | Attributes that can be used with a lbImageCardView. | ||||||||||
lbImageCardView_infoAreaBackground |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons | Attributes that can be used with a lbPlaybackControlsActionIcons. | ||||||||||
lbPlaybackControlsActionIcons_closed_captioning |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_fast_forward |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_high_quality |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_pause |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_play |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_repeat |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_repeat_one |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_rewind |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_shuffle |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_skip_next |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_skip_previous |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_thumb_down |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_thumb_down_outline |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_thumb_up |
This symbol is the offset where the |
||||||||||
lbPlaybackControlsActionIcons_thumb_up_outline |
This symbol is the offset where the |
||||||||||
lbResizingTextView | Attributes that can be used with a lbResizingTextView. | ||||||||||
lbResizingTextView_maintainLineSpacing |
Whether to maintain the same line spacing when text is resized, default is false Must be a boolean value, either " |
||||||||||
lbResizingTextView_resizeTrigger |
Conditions used to trigger text resizing Must be one or more (separated by '|') of the following constant values. |
||||||||||
lbResizingTextView_resizedPaddingAdjustmentBottom |
Adjustment to bottom padding for resized text Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
lbResizingTextView_resizedPaddingAdjustmentTop |
Adjustment to top padding for resized text Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
lbResizingTextView_resizedTextSize |
Text size for resized text Must be a dimension value, which is a floating point number appended with a unit such as " |
||||||||||
lbSearchOrbView | Attributes that can be used with a lbSearchOrbView. | ||||||||||
lbSearchOrbView_searchOrbBrightColor |
Defining pulse color of the search affordance May be a reference to another resource, in the form " |
||||||||||
lbSearchOrbView_searchOrbColor |
Defining color of the search affordance May be a reference to another resource, in the form " |
||||||||||
lbSearchOrbView_searchOrbIcon |
Defining icon of the search affordance Must be a reference to another resource, in the form " |
||||||||||
lbSearchOrbView_searchOrbIconColor |
Defining icon tint color of the search affordance May be a reference to another resource, in the form " |
||||||||||
lbSlide | Attributes that can be used with a lbSlide. | ||||||||||
lbSlide_android_duration |
This symbol is the offset where the |
||||||||||
lbSlide_android_interpolator |
This symbol is the offset where the |
||||||||||
lbSlide_android_startDelay |
This symbol is the offset where the |
||||||||||
lbSlide_lb_slideEdge |
A duplication of Slide attribute slideEdge for KitKat Must be one of the following constant values. |
||||||||||
lbVerticalGridView | Attributes that can be used with a lbVerticalGridView. | ||||||||||
lbVerticalGridView_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 " |
||||||||||
lbVerticalGridView_numberOfColumns |
Defining number of columns Must be an integer value, such as " |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Attributes that can be used with a LeanbackTheme.
Includes the following attributes:
LeanbackTheme_baseCardViewStyle
LeanbackTheme_browsePaddingBottom
LeanbackTheme_browsePaddingEnd
LeanbackTheme_browsePaddingStart
LeanbackTheme_browsePaddingTop
LeanbackTheme_browseRowsFadingEdgeLength
LeanbackTheme_browseRowsMarginStart
LeanbackTheme_browseRowsMarginTop
LeanbackTheme_browseTitleIconStyle
LeanbackTheme_browseTitleTextStyle
LeanbackTheme_browseTitleViewStyle
LeanbackTheme_defaultBrandColor
LeanbackTheme_defaultSearchBrightColor
LeanbackTheme_defaultSearchColor
LeanbackTheme_defaultSearchIcon
LeanbackTheme_detailsActionButtonStyle
LeanbackTheme_detailsDescriptionBodyStyle
LeanbackTheme_detailsDescriptionSubtitleStyle
LeanbackTheme_detailsDescriptionTitleStyle
LeanbackTheme_errorMessageStyle
LeanbackTheme_headerStyle
LeanbackTheme_headersVerticalGridStyle
LeanbackTheme_imageCardViewStyle
LeanbackTheme_itemsVerticalGridStyle
LeanbackTheme_overlayDimActiveLevel
LeanbackTheme_overlayDimDimmedLevel
LeanbackTheme_overlayDimMaskColor
LeanbackTheme_playbackControlButtonLabelStyle
LeanbackTheme_playbackControlsActionIcons
LeanbackTheme_playbackControlsButtonStyle
LeanbackTheme_playbackControlsIconHighlightColor
LeanbackTheme_playbackControlsTimeStyle
LeanbackTheme_playbackProgressPrimaryColor
LeanbackTheme_rowHeaderStyle
LeanbackTheme_rowHorizontalGridStyle
LeanbackTheme_rowHoverCardDescriptionStyle
LeanbackTheme_rowHoverCardTitleStyle
LeanbackTheme_rowsVerticalGridStyle
LeanbackTheme_searchOrbViewStyle
CardView styles
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
bottom padding of BrowseFragment
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
end padding of BrowseFragment, RowsFragment, DetailsFragment
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
start padding of BrowseFragment, RowsFragment, DetailsFragment
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
top padding of BrowseFragment
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
fading edge length of start of browse row when HeadersFragment is visible
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
start margin of RowsFragment inside BrowseFragment when HeadersFragment is visible
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
top margin of RowsFragment inside BrowseFragment when BrowseFragment title is visible
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
BrowseFragment Title icon style
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
BrowseFragment Title text style
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
BrowseFragment TitleView style
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Default brand color used for the background of certain leanback visual elements such as the headers fragment. If your app runs on: a) SDK 21+: set colorPrimary, used by the leanback launcher and elsewhere, and defaultBrandColor will inherit it. b) SDK < 21: set the brand color explicitly via defaultBrandColor, or programatically.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
Default color that search orb pulses to. If not set, this color is determined programatically based on the defaultSearchColor
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
Default colors
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
This symbol is the offset where the defaultSearchIcon
attribute's value can be found in the LeanbackTheme
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the detailsActionButtonStyle
attribute's value can be found in the LeanbackTheme
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the detailsDescriptionBodyStyle
attribute's value can be found in the LeanbackTheme
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the detailsDescriptionSubtitleStyle
attribute's value can be found in the LeanbackTheme
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
for details overviews
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
for messages in the error fragment
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
header style inside HeadersFragment
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
vertical grid style inside HeadersFragment
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
This symbol is the offset where the imageCardViewStyle
attribute's value can be found in the LeanbackTheme
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
style for a vertical grid of items
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Default level of dimming for active views.
Must be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Default level of dimming for dimmed views.
Must be a fractional value, which is a floating point number appended with either % or %p, such as "14.5%
".
The % suffix always means a percentage of the base size; the optional %p suffix provides a size relative to
some parent container.
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Default color for dimmed views.
Must be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
This symbol is the offset where the playbackControlButtonLabelStyle
attribute's value can be found in the LeanbackTheme
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the playbackControlsActionIcons
attribute's value can be found in the LeanbackTheme
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
for playback controls
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
This symbol is the offset where the playbackControlsIconHighlightColor
attribute's value can be found in the LeanbackTheme
array.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This symbol is the offset where the playbackControlsTimeStyle
attribute's value can be found in the LeanbackTheme
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the playbackProgressPrimaryColor
attribute's value can be found in the LeanbackTheme
array.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
header style inside a row
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
horizontal grid style inside a row
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
hover card description style
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
hover card title style
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
vertical grid style inside RowsFragment
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Style for searchOrb
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Attributes that can be used with a lbBaseCardView.
Includes the following attributes:
Attribute | Description |
---|---|
| Defines the duration in milliseconds of the activated animation for a card layout. |
| Defines the type of the card layout |
| Defines when the extra region of a card layout is displayed. |
| Defines when the info region of a card layout is displayed. |
| Defines the delay in milliseconds before the selection animation runs for a card layout. |
| Defines the duration in milliseconds of the selection animation for a card layout. |
This is the basic set of layout attributes for elements within a card layout. These attributes are specified with the rest of an elements's normal attributes.
Includes the following attributes:
Attribute | Description |
---|---|
| The card layout region defined by this element. |
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 |
---|---|---|
main | 0 | The main region of the card. |
info | 1 | The info region of the card. |
extra | 2 | The extra region of the card. |
This is a private symbol.
Defines the duration in milliseconds of the activated animation for a card layout.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Defines the type of the card layout
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
mainOnly | 0 | A simple card layout with a single layout region. |
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. |
This is a private symbol.
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 |
---|---|---|
always | 0 | Always display the extra region. |
activated | 1 | Display the extra region only when activated. |
selected | 2 | Display the extra region only when selected. |
This is a private symbol.
Defines when the info region of a card layout is displayed.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
always | 0 | Always display the info region. |
activated | 1 | Display the info region only when activated. |
selected | 2 | Display the info region only when selected. |
This is a private symbol.
Defines the delay in milliseconds before the selection animation runs for a card layout.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Defines the duration in milliseconds of the selection animation for a card layout.
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Attributes that can be used with a lbBaseGridView.
Includes the following attributes:
Attribute | Description |
---|---|
| Defining gravity of child view |
| Allow DPAD key to navigate out at the end of the view, default is false |
| Allow DPAD key to navigate out at the front of the View (where position = 0), default is false |
| Defining margin between two items horizontally |
| Defining margin between two items vertically |
Defining gravity of child view
This corresponds to the global attribute
resource symbol gravity
.
Allow DPAD key to navigate out at the end of the view, default is false
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Allow DPAD key to navigate out at the front of the View (where position = 0), default is false
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Defining margin between two items horizontally
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Defining margin between two items vertically
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Attributes that can be used with a lbHorizontalGridView.
Includes the following attributes:
Attribute | Description |
---|---|
| Defining number of rows |
| Defining height of each row of HorizontalGridView |
Defining number of rows
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Defining height of each row of HorizontalGridView
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
wrap_content | -2 |
This is a private symbol.
Attributes that can be used with a lbImageCardView.
Includes the following attributes:
Attribute | Description |
---|---|
|
This symbol is the offset where the infoAreaBackground
attribute's value can be found in the lbImageCardView
array.
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
Attributes that can be used with a lbPlaybackControlsActionIcons.
Includes the following attributes:
lbPlaybackControlsActionIcons_closed_captioning
lbPlaybackControlsActionIcons_fast_forward
lbPlaybackControlsActionIcons_high_quality
lbPlaybackControlsActionIcons_pause
lbPlaybackControlsActionIcons_play
lbPlaybackControlsActionIcons_repeat
lbPlaybackControlsActionIcons_repeat_one
lbPlaybackControlsActionIcons_rewind
lbPlaybackControlsActionIcons_shuffle
lbPlaybackControlsActionIcons_skip_next
lbPlaybackControlsActionIcons_skip_previous
lbPlaybackControlsActionIcons_thumb_down
lbPlaybackControlsActionIcons_thumb_down_outline
lbPlaybackControlsActionIcons_thumb_up
lbPlaybackControlsActionIcons_thumb_up_outline
This symbol is the offset where the closed_captioning
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the fast_forward
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the high_quality
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the pause
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the play
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the repeat
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the repeat_one
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the rewind
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the shuffle
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the skip_next
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the skip_previous
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the thumb_down
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the thumb_down_outline
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the thumb_up
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This symbol is the offset where the thumb_up_outline
attribute's value can be found in the lbPlaybackControlsActionIcons
array.
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
Attributes that can be used with a lbResizingTextView.
Includes the following attributes:
Attribute | Description |
---|---|
| Whether to maintain the same line spacing when text is resized, default is false |
| Conditions used to trigger text resizing |
| Adjustment to bottom padding for resized text |
| Adjustment to top padding for resized text |
| Text size for resized text |
Whether to maintain the same line spacing when text is resized, default is false
Must be a boolean value, either "true
" or "false
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Conditions used to trigger text resizing
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
maxLines | 0x01 | Resize text whenever it lays out into the maximum number of lines |
This is a private symbol.
Adjustment to bottom padding for resized text
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Adjustment to top padding for resized text
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Text size for resized text
Must be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.
Attributes that can be used with a lbSearchOrbView.
Includes the following attributes:
Attribute | Description |
---|---|
| Defining pulse color of the search affordance |
| Defining color of the search affordance |
| Defining icon of the search affordance |
| Defining icon tint color of the search affordance |
Defining pulse color of the search affordance
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
Defining color of the search affordance
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
Defining icon of the search affordance
Must be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
This is a private symbol.
Defining icon tint color of the search affordance
May be a reference to another resource, in the form "@[+][package:]type:name
"
or to a theme attribute in the form "?[package:][type:]name
".
May be a color value, in the form of "#rgb
", "#argb
",
"#rrggbb
", or "#aarrggbb
".
This is a private symbol.
Attributes that can be used with a lbSlide.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
| |
| A duplication of Slide attribute slideEdge for KitKat |
This symbol is the offset where the interpolator
attribute's value can be found in the lbSlide
array.
This symbol is the offset where the startDelay
attribute's value can be found in the lbSlide
array.
A duplication of Slide attribute slideEdge for KitKat
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
left | 0x03 | Slide to and from the left edge of the Scene. |
top | 0x30 | Slide to and from the top edge of the Scene. |
right | 0x05 | Slide to and from the right edge of the Scene. |
bottom | 0x50 | Slide to and from the bottom edge of the Scene. |
start | 0x00800003 | Slide to and from the x-axis position at the start of the Scene root. |
end | 0x00800005 | Slide to and from the x-axis position at the end of the Scene root. |
This is a private symbol.
Attributes that can be used with a lbVerticalGridView.
Includes the following attributes:
Attribute | Description |
---|---|
| Defining width of each column of VerticalGridView |
| Defining number of columns |
Defining width of each column of VerticalGridView
May be a dimension value, which is a floating point number appended with a unit such as "14.5sp
".
Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size),
in (inches), mm (millimeters).
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
May be one of the following constant values.
Constant | Value | Description |
---|---|---|
wrap_content | -2 |
This is a private symbol.
Defining number of columns
Must be an integer value, such as "100
".
This may also be a reference to a resource (in the form
"@[package:]type:name
") or
theme attribute (in the form
"?[package:][type:]name
")
containing a value of this type.
This is a private symbol.