public
static
final
class
R.styleable
extends Object
java.lang.Object | |
↳ | android.support.design.R.styleable |
Fields | |
---|---|
public
static
final
int[] |
AppBarLayout
Attributes that can be used with a AppBarLayout. |
public
static
final
int[] |
AppBarLayoutStates
Attributes that can be used with a AppBarLayoutStates. |
public
static
int |
AppBarLayoutStates_state_collapsed
State value for |
public
static
int |
AppBarLayoutStates_state_collapsible
State value for |
public
static
final
int[] |
AppBarLayout_Layout
Attributes that can be used with a AppBarLayout_Layout. |
public
static
int |
AppBarLayout_Layout_layout_scrollFlags
This symbol is the offset where the |
public
static
int |
AppBarLayout_Layout_layout_scrollInterpolator
An interpolator to use when scrolling this View. |
public
static
int |
AppBarLayout_android_background
This symbol is the offset where the |
public
static
int |
AppBarLayout_elevation
Deprecated. |
public
static
int |
AppBarLayout_expanded
The initial expanded state for the AppBarLayout. |
public
static
final
int[] |
BottomSheetBehavior_Layout
Attributes that can be used with a BottomSheetBehavior_Layout. |
public
static
int |
BottomSheetBehavior_Layout_behavior_hideable
Whether this bottom sheet can be hidden by dragging it further downwards May be a boolean value, such as " |
public
static
int |
BottomSheetBehavior_Layout_behavior_peekHeight
The height of the bottom sheet when it is collapsed. |
public
static
int |
BottomSheetBehavior_Layout_behavior_skipCollapsed
Skip the collapsed state once expanded; no effect unless it is hideable May be a boolean value, such as " |
public
static
final
int[] |
CollapsingToolbarLayout
Attributes that can be used with a CollapsingToolbarLayout. |
public
static
final
int[] |
CollapsingToolbarLayout_Layout
Attributes that can be used with a CollapsingToolbarLayout_Layout. |
public
static
int |
CollapsingToolbarLayout_Layout_layout_collapseMode
This symbol is the offset where the |
public
static
int |
CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier
The multiplier used when layout_collapseMode is set to 'parallax'. |
public
static
int |
CollapsingToolbarLayout_collapsedTitleGravity
Specifies how the title should be positioned when collapsed. |
public
static
int |
CollapsingToolbarLayout_collapsedTitleTextAppearance
The text appearance of the CollapsingToolbarLayouts title when it is fully 'collapsed' May be a reference to another resource, in the form
" |
public
static
int |
CollapsingToolbarLayout_contentScrim
The drawable to use as a scrim on top of the CollapsingToolbarLayouts content when it has been scrolled sufficiently off screen. |
public
static
int |
CollapsingToolbarLayout_expandedTitleGravity
Specifies how the title should be positioned when expanded. |
public
static
int |
CollapsingToolbarLayout_expandedTitleMargin
Specifies extra space on the start, top, end and bottom sides of the the expanded title text. |
public
static
int |
CollapsingToolbarLayout_expandedTitleMarginBottom
Specifies extra space on the bottom side of the the expanded title text. |
public
static
int |
CollapsingToolbarLayout_expandedTitleMarginEnd
Specifies extra space on the end side of the the expanded title text. |
public
static
int |
CollapsingToolbarLayout_expandedTitleMarginStart
Specifies extra space on the start side of the the expanded title text. |
public
static
int |
CollapsingToolbarLayout_expandedTitleMarginTop
Specifies extra space on the top side of the the expanded title text. |
public
static
int |
CollapsingToolbarLayout_expandedTitleTextAppearance
The text appearance of the CollapsingToolbarLayout's title when it is fully 'expanded' May be a reference to another resource, in the form
" |
public
static
int |
CollapsingToolbarLayout_scrimAnimationDuration
Specifies the duration used for scrim visibility animations. |
public
static
int |
CollapsingToolbarLayout_scrimVisibleHeightTrigger
Specifies the amount of visible height in pixels used to define when to trigger a scrim visibility change. |
public
static
int |
CollapsingToolbarLayout_statusBarScrim
The drawable to use as a scrim for the status bar content when the CollapsingToolbarLayout has been scrolled sufficiently off screen. |
public
static
int |
CollapsingToolbarLayout_title
The title to show when titleEnabled is set to true. |
public
static
int |
CollapsingToolbarLayout_titleEnabled
Whether the CollapsingToolbarLayout should draw its own shrinking/growing title. |
public
static
int |
CollapsingToolbarLayout_toolbarId
The id of the primary Toolbar child that you wish to use for the purpose of collapsing. |
public
static
final
int[] |
CoordinatorLayout
Attributes that can be used with a CoordinatorLayout. |
public
static
final
int[] |
CoordinatorLayout_Layout
Attributes that can be used with a CoordinatorLayout_Layout. |
public
static
int |
CoordinatorLayout_Layout_android_layout_gravity
This symbol is the offset where the |
public
static
int |
CoordinatorLayout_Layout_layout_anchor
The id of an anchor view that this view should position relative to. |
public
static
int |
CoordinatorLayout_Layout_layout_anchorGravity
Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds. |
public
static
int |
CoordinatorLayout_Layout_layout_behavior
The class name of a Behavior class defining special runtime behavior for this child view. |
public
static
int |
CoordinatorLayout_Layout_layout_keyline
The index of a keyline this view should position relative to. |
public
static
int |
CoordinatorLayout_keylines
A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge. |
public
static
int |
CoordinatorLayout_statusBarBackground
Drawable to display behind the status bar when the view is set to draw behind it. |
public
static
final
int[] |
DesignTheme
Attributes that can be used with a DesignTheme. |
public
static
int |
DesignTheme_bottomSheetDialogTheme
Theme to use for modal bottom sheet dialogs spawned from this theme. |
public
static
int |
DesignTheme_bottomSheetStyle
Style to use for modal bottom sheets in this theme. |
public
static
int |
DesignTheme_textColorError
Text color used to indicate an error has occurred. |
public
static
final
int[] |
FloatingActionButton
Attributes that can be used with a FloatingActionButton. |
public
static
int |
FloatingActionButton_backgroundTint
Background for the FloatingActionButton May be a reference to another resource, in the form
" |
public
static
int |
FloatingActionButton_backgroundTintMode
This symbol is the offset where the |
public
static
int |
FloatingActionButton_borderWidth
The width of the border around the FAB. |
public
static
int |
FloatingActionButton_elevation
Elevation value for the FAB May be a reference to another resource, in the form
" |
public
static
int |
FloatingActionButton_fabSize
Size for the FAB. |
public
static
int |
FloatingActionButton_pressedTranslationZ
TranslationZ value for the FAB when pressed May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
int |
FloatingActionButton_rippleColor
Ripple color for the FAB. |
public
static
int |
FloatingActionButton_useCompatPadding
Enable compat padding. |
public
static
final
int[] |
ForegroundLinearLayout
Attributes that can be used with a ForegroundLinearLayout. |
public
static
int |
ForegroundLinearLayout_android_foreground
This symbol is the offset where the |
public
static
int |
ForegroundLinearLayout_android_foregroundGravity
This symbol is the offset where the |
public
static
int |
ForegroundLinearLayout_foregroundInsidePadding
This symbol is the offset where the |
public
static
final
int[] |
NavigationView
Attributes that can be used with a NavigationView. |
public
static
int |
NavigationView_android_background
This symbol is the offset where the |
public
static
int |
NavigationView_android_fitsSystemWindows
This symbol is the offset where the |
public
static
int |
NavigationView_android_maxWidth
This symbol is the offset where the |
public
static
int |
NavigationView_elevation
Deprecated. |
public
static
int |
NavigationView_headerLayout
Layout resource to inflate as the header May be a reference to another resource, in the form
" |
public
static
int |
NavigationView_itemBackground
This symbol is the offset where the |
public
static
int |
NavigationView_itemIconTint
This symbol is the offset where the |
public
static
int |
NavigationView_itemTextAppearance
This symbol is the offset where the |
public
static
int |
NavigationView_itemTextColor
This symbol is the offset where the |
public
static
int |
NavigationView_menu
The menu resource to inflate and populate items from. |
public
static
final
int[] |
ScrimInsetsFrameLayout
Attributes that can be used with a ScrimInsetsFrameLayout. |
public
static
int |
ScrimInsetsFrameLayout_insetForeground
This symbol is the offset where the |
public
static
final
int[] |
ScrollingViewBehavior_Layout
Attributes that can be used with a ScrollingViewBehavior_Layout. |
public
static
int |
ScrollingViewBehavior_Layout_behavior_overlapTop
The amount that the scrolling view should overlap the bottom of any AppBarLayout May be a dimension value, which is a floating point number appended with a
unit such as " |
public
static
final
int[] |
SnackbarLayout
Attributes that can be used with a SnackbarLayout. |
public
static
int |
SnackbarLayout_android_maxWidth
This symbol is the offset where the |
public
static
int |
SnackbarLayout_elevation
Deprecated. |
public
static
int |
SnackbarLayout_maxActionInlineWidth
This symbol is the offset where the |
public
static
final
int[] |
TabItem
Attributes that can be used with a TabItem. |
public
static
int |
TabItem_android_icon
Icon to display in the tab. |
public
static
int |
TabItem_android_layout
A reference to a layout resource to be displayed in the tab. |
public
static
int |
TabItem_android_text
Text to display in the tab. |
public
static
final
int[] |
TabLayout
Attributes that can be used with a TabLayout. |
public
static
int |
TabLayout_tabBackground
Reference to a background to be applied to tabs. |
public
static
int |
TabLayout_tabContentStart
Position in the Y axis from the starting edge that tabs should be positioned from. |
public
static
int |
TabLayout_tabGravity
Gravity constant for tabs. |
public
static
int |
TabLayout_tabIndicatorColor
Color of the indicator used to show the currently selected tab. |
public
static
int |
TabLayout_tabIndicatorHeight
Height of the indicator used to show the currently selected tab. |
public
static
int |
TabLayout_tabMaxWidth
The maximum width for tabs. |
public
static
int |
TabLayout_tabMinWidth
The minimum width for tabs. |
public
static
int |
TabLayout_tabMode
The behavior mode for the Tabs in this layout Must be one of the following constant values. |
public
static
int |
TabLayout_tabPadding
The preferred padding along all edges of tabs. |
public
static
int |
TabLayout_tabPaddingBottom
The preferred padding along the bottom edge of tabs. |
public
static
int |
TabLayout_tabPaddingEnd
The preferred padding along the end edge of tabs. |
public
static
int |
TabLayout_tabPaddingStart
The preferred padding along the start edge of tabs. |
public
static
int |
TabLayout_tabPaddingTop
The preferred padding along the top edge of tabs. |
public
static
int |
TabLayout_tabSelectedTextColor
The text color to be applied to the currently selected tab. |
public
static
int |
TabLayout_tabTextAppearance
A reference to a TextAppearance style to be applied to tabs. |
public
static
int |
TabLayout_tabTextColor
The default text color to be applied to tabs. |
public
static
final
int[] |
TextInputLayout
Attributes that can be used with a TextInputLayout. |
public
static
int |
TextInputLayout_android_hint
The hint to display in the floating label May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character; |
public
static
int |
TextInputLayout_android_textColorHint
This symbol is the offset where the |
public
static
int |
TextInputLayout_counterEnabled
Whether the layout is laid out as if the character counter will be displayed May be a boolean value, such as " |
public
static
int |
TextInputLayout_counterMaxLength
The max length to display in the character counter May be an integer value, such as " |
public
static
int |
TextInputLayout_counterOverflowTextAppearance
TextAppearance of the character counter when the text is longer than the max May be a reference to another resource, in the form
" |
public
static
int |
TextInputLayout_counterTextAppearance
TextAppearance of the character counter May be a reference to another resource, in the form
" |
public
static
int |
TextInputLayout_errorEnabled
Whether the layout is laid out as if an error will be displayed May be a boolean value, such as " |
public
static
int |
TextInputLayout_errorTextAppearance
TextAppearance of any error message displayed May be a reference to another resource, in the form
" |
public
static
int |
TextInputLayout_hintAnimationEnabled
Whether to animate hint state changes. |
public
static
int |
TextInputLayout_hintEnabled
Whether the layout's floating label functionality is enabled May be a boolean value, such as " |
public
static
int |
TextInputLayout_hintTextAppearance
This symbol is the offset where the |
Public constructors | |
---|---|
R.styleable()
|
Inherited methods | |
---|---|
From
class
java.lang.Object
|
int[] AppBarLayout
Attributes that can be used with a AppBarLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| Deprecated. |
| The initial expanded state for the AppBarLayout. |
|
int[] AppBarLayoutStates
Attributes that can be used with a AppBarLayoutStates.
Includes the following attributes:
Attribute | Description |
---|---|
| State value for {@link android. |
{@link #AppBarLayoutStates_state_collapsible android.support.design:state_collapsible} | State value for {@link android. |
int AppBarLayoutStates_state_collapsed
State value for AppBarLayout
set when the view
has been collapsed.
May be a boolean value, such as "true
" or
"false
".
int AppBarLayoutStates_state_collapsible
State value for AppBarLayout
set when the view
has children which are capable of being collapsed.
May be a boolean value, such as "true
" or
"false
".
int[] AppBarLayout_Layout
Attributes that can be used with a AppBarLayout_Layout.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| An interpolator to use when scrolling this View. |
int AppBarLayout_Layout_layout_scrollFlags
This symbol is the offset where the layout_scrollFlags
attribute's value can be found in the AppBarLayout_Layout
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
enterAlways | 4 | When entering (scrolling on screen) the view will scroll on any downwards scroll event, regardless of whether the scrolling view is also scrolling. This is commonly referred to as the 'quick return' pattern. |
enterAlwaysCollapsed | 8 | An additional flag for 'enterAlways' which modifies the returning view to only initially scroll back to it's collapsed height. Once the scrolling view has reached the end of it's scroll range, the remainder of this view will be scrolled into view. |
exitUntilCollapsed | 2 | When exiting (scrolling off screen) the view will be scrolled until it is 'collapsed'. The collapsed height is defined by the view's minimum height. |
scroll | 1 | The view will be scroll in direct relation to scroll events. This flag needs to be set for any of the other flags to take effect. If any sibling views before this one do not have this flag, then this value has no effect. |
snap | 10 | Upon a scroll ending, if the view is only partially visible then it will be snapped and scrolled to it's closest edge. |
int AppBarLayout_Layout_layout_scrollInterpolator
An interpolator to use when scrolling this View. Only takes effect when View is scrollable.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int AppBarLayout_android_background
This symbol is the offset where the background
attribute's value can be found in the AppBarLayout
array.
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 AppBarLayout_elevation
Deprecated. Elevation is now controlled via a state list animator.
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 string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
May be a floating point value, such as "1.2
".
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).
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 AppBarLayout_expanded
The initial expanded state for the AppBarLayout. This only takes effect when this view is a direct child of a CoordinatorLayout.
May be a boolean value, such as "true
" or
"false
".
int[] BottomSheetBehavior_Layout
Attributes that can be used with a BottomSheetBehavior_Layout.
Includes the following attributes:
Attribute | Description |
---|---|
| Whether this bottom sheet can be hidden by dragging it further downwards |
| The height of the bottom sheet when it is collapsed. |
| Skip the collapsed state once expanded; no effect unless it is hideable |
int BottomSheetBehavior_Layout_behavior_hideable
Whether this bottom sheet can be hidden by dragging it further downwards
May be a boolean value, such as "true
" or
"false
".
int BottomSheetBehavior_Layout_behavior_peekHeight
The height of the bottom sheet when it is collapsed.
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 BottomSheetBehavior_Layout_behavior_skipCollapsed
Skip the collapsed state once expanded; no effect unless it is hideable
May be a boolean value, such as "true
" or
"false
".
int[] CollapsingToolbarLayout
Attributes that can be used with a CollapsingToolbarLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| Specifies how the title should be positioned when collapsed. |
| The text appearance of the CollapsingToolbarLayouts title when it is fully 'collapsed' |
| The drawable to use as a scrim on top of the CollapsingToolbarLayouts content when it has been scrolled sufficiently off screen. |
| Specifies how the title should be positioned when expanded. |
| Specifies extra space on the start, top, end and bottom sides of the the expanded title text. |
| Specifies extra space on the bottom side of the the expanded title text. |
| Specifies extra space on the end side of the the expanded title text. |
| Specifies extra space on the start side of the the expanded title text. |
| Specifies extra space on the top side of the the expanded title text. |
| The text appearance of the CollapsingToolbarLayout's title when it is fully 'expanded' |
| Specifies the duration used for scrim visibility animations. |
| Specifies the amount of visible height in pixels used to define when to trigger a scrim visibility change. |
| The drawable to use as a scrim for the status bar content when the CollapsingToolbarLayout has been scrolled sufficiently off screen. |
| The title to show when titleEnabled is set to true. |
| Whether the CollapsingToolbarLayout should draw its own shrinking/growing title. |
| The id of the primary Toolbar child that you wish to use for the purpose of collapsing. |
See also:
CollapsingToolbarLayout_collapsedTitleGravity
CollapsingToolbarLayout_collapsedTitleTextAppearance
CollapsingToolbarLayout_contentScrim
CollapsingToolbarLayout_expandedTitleGravity
CollapsingToolbarLayout_expandedTitleMargin
CollapsingToolbarLayout_expandedTitleMarginBottom
CollapsingToolbarLayout_expandedTitleMarginEnd
CollapsingToolbarLayout_expandedTitleMarginStart
CollapsingToolbarLayout_expandedTitleMarginTop
CollapsingToolbarLayout_expandedTitleTextAppearance
CollapsingToolbarLayout_scrimAnimationDuration
CollapsingToolbarLayout_scrimVisibleHeightTrigger
CollapsingToolbarLayout_statusBarScrim
CollapsingToolbarLayout_title
CollapsingToolbarLayout_titleEnabled
CollapsingToolbarLayout_toolbarId
int[] CollapsingToolbarLayout_Layout
Attributes that can be used with a CollapsingToolbarLayout_Layout.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| The multiplier used when layout_collapseMode is set to 'parallax'. |
int CollapsingToolbarLayout_Layout_layout_collapseMode
This symbol is the offset where the layout_collapseMode
attribute's value can be found in the CollapsingToolbarLayout_Layout
array.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
none | 0 | The view will act as normal with no collapsing behavior. |
parallax | 2 | The view will scroll in a parallax fashion. See the layout_collapseParallaxMultiplier attribute to change the multiplier. |
pin | 1 | The view will pin in place. |
int CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier
The multiplier used when layout_collapseMode is set to 'parallax'. The value should be between 0.0 and 1.0.
May be a floating point value, such as "1.2
".
int CollapsingToolbarLayout_collapsedTitleGravity
Specifies how the title should be positioned when collapsed.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | Push title to the bottom of its container, not changing its size. |
center | 11 | Place the title in the center of its container in both the vertical and horizontal axis, not changing its size. |
center_horizontal | 1 | Place title in the horizontal center of its container, not changing its size. |
center_vertical | 10 | Place title in the vertical center of its container, not changing its size. |
end | 800005 | Push title to the end of its container, not changing its size. |
fill_vertical | 70 | Grow the vertical size of the title if needed so it completely fills its container. |
left | 3 | Push title to the left of its container, not changing its size. |
right | 5 | Push title to the right of its container, not changing its size. |
start | 800003 | Push title to the beginning of its container, not changing its size. |
top | 30 | Push title to the top of its container, not changing its size. |
int CollapsingToolbarLayout_collapsedTitleTextAppearance
The text appearance of the CollapsingToolbarLayouts title when it is fully 'collapsed'
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int CollapsingToolbarLayout_contentScrim
The drawable to use as a scrim on top of the CollapsingToolbarLayouts content when it has been scrolled sufficiently off screen.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int CollapsingToolbarLayout_expandedTitleGravity
Specifies how the title should be positioned when expanded.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | Push title to the bottom of its container, not changing its size. |
center | 11 | Place the title in the center of its container in both the vertical and horizontal axis, not changing its size. |
center_horizontal | 1 | Place title in the horizontal center of its container, not changing its size. |
center_vertical | 10 | Place title in the vertical center of its container, not changing its size. |
end | 800005 | Push title to the end of its container, not changing its size. |
fill_vertical | 70 | Grow the vertical size of the title if needed so it completely fills its container. |
left | 3 | Push title to the left of its container, not changing its size. |
right | 5 | Push title to the right of its container, not changing its size. |
start | 800003 | Push title to the beginning of its container, not changing its size. |
top | 30 | Push title to the top of its container, not changing its size. |
int CollapsingToolbarLayout_expandedTitleMargin
Specifies extra space on the start, top, end and bottom sides of the the expanded title text. Margin values should be positive.
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 CollapsingToolbarLayout_expandedTitleMarginBottom
Specifies extra space on the bottom side of the the expanded title text. Margin values should be positive.
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 CollapsingToolbarLayout_expandedTitleMarginEnd
Specifies extra space on the end side of the the expanded title text. Margin values should be positive.
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 CollapsingToolbarLayout_expandedTitleMarginStart
Specifies extra space on the start side of the the expanded title text. Margin values should be positive.
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 CollapsingToolbarLayout_expandedTitleMarginTop
Specifies extra space on the top side of the the expanded title text. Margin values should be positive.
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 CollapsingToolbarLayout_expandedTitleTextAppearance
The text appearance of the CollapsingToolbarLayout's title when it is fully 'expanded'
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int CollapsingToolbarLayout_scrimAnimationDuration
Specifies the duration used for scrim visibility animations.
May be an integer value, such as "100
".
int CollapsingToolbarLayout_scrimVisibleHeightTrigger
Specifies the amount of visible height in pixels used to define when to trigger a scrim visibility change.
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 CollapsingToolbarLayout_statusBarScrim
The drawable to use as a scrim for the status bar content when the CollapsingToolbarLayout has been scrolled sufficiently off screen. Only works on Lollipop with the correct setup.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int CollapsingToolbarLayout_title
The title to show when titleEnabled is set to true.
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 string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
May be a floating point value, such as "1.2
".
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).
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 CollapsingToolbarLayout_titleEnabled
Whether the CollapsingToolbarLayout should draw its own shrinking/growing title.
May be a boolean value, such as "true
" or
"false
".
int CollapsingToolbarLayout_toolbarId
The id of the primary Toolbar child that you wish to use for the purpose of collapsing. This Toolbar descendant view does not need to be a direct child of the layout. If you do not set this, the first direct Toolbar child found will be used.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int[] CoordinatorLayout
Attributes that can be used with a CoordinatorLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge. |
| Drawable to display behind the status bar when the view is set to draw behind it. |
int[] CoordinatorLayout_Layout
Attributes that can be used with a CoordinatorLayout_Layout.
Includes the following attributes:
Attribute | Description |
---|---|
| The id of an anchor view that this view should position relative to. |
| Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds. |
| The class name of a Behavior class defining special runtime behavior for this child view. |
| The index of a keyline this view should position relative to. |
|
int CoordinatorLayout_Layout_android_layout_gravity
This symbol is the offset where the layout_gravity
attribute's value can be found in the CoordinatorLayout_Layout
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
end | 800005 | |
start | 800003 | |
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
top | 30 |
int CoordinatorLayout_Layout_layout_anchor
The id of an anchor view that this view should position relative to.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int CoordinatorLayout_Layout_layout_anchorGravity
Specifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | Push object to the bottom of its container, not changing its size. |
center | 11 | Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. |
center_horizontal | 1 | Place object in the horizontal center of its container, not changing its size. |
center_vertical | 10 | Place object in the vertical center of its container, not changing its size. |
clip_horizontal | 8 | Additional option that can be set to have the left and/or right edges of the child clipped to its container's bounds. The clip will be based on the horizontal gravity: a left gravity will clip the right edge, a right gravity will clip the left edge, and neither will clip both edges. |
clip_vertical | 80 | Additional option that can be set to have the top and/or bottom edges of the child clipped to its container's bounds. The clip will be based on the vertical gravity: a top gravity will clip the bottom edge, a bottom gravity will clip the top edge, and neither will clip both edges. |
end | 800005 | Push object to the end of its container, not changing its size. |
fill | 77 | Grow the horizontal and vertical size of the object if needed so it completely fills its container. |
fill_horizontal | 7 | Grow the horizontal size of the object if needed so it completely fills its container. |
fill_vertical | 70 | Grow the vertical size of the object if needed so it completely fills its container. |
left | 3 | Push object to the left of its container, not changing its size. |
right | 5 | Push object to the right of its container, not changing its size. |
start | 800003 | Push object to the beginning of its container, not changing its size. |
top | 30 | Push object to the top of its container, not changing its size. |
int CoordinatorLayout_Layout_layout_behavior
The class name of a Behavior class defining special runtime behavior for this child view.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
int CoordinatorLayout_Layout_layout_keyline
The index of a keyline this view should position relative to. android:layout_gravity will affect how the view aligns to the specified keyline.
May be an integer value, such as "100
".
int CoordinatorLayout_keylines
A reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge. Child views can refer to these keylines for alignment using layout_keyline="index" where index is a 0-based index into this array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int CoordinatorLayout_statusBarBackground
Drawable to display behind the status bar when the view is set to draw behind it.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int[] DesignTheme
Attributes that can be used with a DesignTheme.
Includes the following attributes:
Attribute | Description |
---|---|
| Theme to use for modal bottom sheet dialogs spawned from this theme. |
| Style to use for modal bottom sheets in this theme. |
| Text color used to indicate an error has occurred. |
int DesignTheme_bottomSheetDialogTheme
Theme to use for modal bottom sheet dialogs spawned from this theme.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int DesignTheme_bottomSheetStyle
Style to use for modal bottom sheets in this theme.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int DesignTheme_textColorError
Text color used to indicate an error has occurred.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int[] FloatingActionButton
Attributes that can be used with a FloatingActionButton.
Includes the following attributes:
Attribute | Description |
---|---|
| Background for the FloatingActionButton |
| |
| The width of the border around the FAB. |
| Deprecated. |
| Size for the FAB. |
| TranslationZ value for the FAB when pressed |
| Ripple color for the FAB. |
| Enable compat padding. |
int FloatingActionButton_backgroundTint
Background for the FloatingActionButton
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 string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
May be a floating point value, such as "1.2
".
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).
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 FloatingActionButton_backgroundTintMode
This symbol is the offset where the backgroundTintMode
attribute's value can be found in the FloatingActionButton
array.
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 string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
May be a floating point value, such as "1.2
".
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).
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 FloatingActionButton_borderWidth
The width of the border around the FAB.
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 FloatingActionButton_elevation
Elevation value for the FAB
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 string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
May be a floating point value, such as "1.2
".
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).
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 FloatingActionButton_fabSize
Size for the FAB.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
auto | ffffffff | A size which will change based on the window size. |
mini | 1 | The mini sized button. |
normal | 0 | The normal sized button. |
int FloatingActionButton_pressedTranslationZ
TranslationZ value for the FAB when pressed
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 FloatingActionButton_rippleColor
Ripple color for the FAB.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int FloatingActionButton_useCompatPadding
Enable compat padding.
May be a boolean value, such as "true
" or
"false
".
int[] ForegroundLinearLayout
Attributes that can be used with a ForegroundLinearLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
|
int ForegroundLinearLayout_android_foreground
This symbol is the offset where the foreground
attribute's value can be found in the ForegroundLinearLayout
array.
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 ForegroundLinearLayout_android_foregroundGravity
This symbol is the offset where the foregroundGravity
attribute's value can be found in the ForegroundLinearLayout
array.
Must be one or more (separated by '|') of the following constant values.
Constant | Value | Description |
---|---|---|
bottom | 50 | |
center | 11 | |
center_horizontal | 1 | |
center_vertical | 10 | |
clip_horizontal | 8 | |
clip_vertical | 80 | |
fill | 77 | |
fill_horizontal | 7 | |
fill_vertical | 70 | |
left | 3 | |
right | 5 | |
top | 30 |
int ForegroundLinearLayout_foregroundInsidePadding
This symbol is the offset where the foregroundInsidePadding
attribute's value can be found in the ForegroundLinearLayout
array.
May be a boolean value, such as "true
" or
"false
".
int[] NavigationView
Attributes that can be used with a NavigationView.
Includes the following attributes:
Attribute | Description |
---|---|
| Deprecated. |
| Layout resource to inflate as the header |
| |
| |
| |
| |
| The menu resource to inflate and populate items from. |
| |
| |
|
See also:
int NavigationView_android_background
This symbol is the offset where the background
attribute's value can be found in the NavigationView
array.
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 NavigationView_android_fitsSystemWindows
This symbol is the offset where the fitsSystemWindows
attribute's value can be found in the NavigationView
array.
May be a boolean value, such as "true
" or
"false
".
int NavigationView_android_maxWidth
This symbol is the offset where the maxWidth
attribute's value can be found in the NavigationView
array.
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 NavigationView_elevation
Deprecated. Elevation is now controlled via a state list animator.
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 string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
May be a floating point value, such as "1.2
".
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).
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 NavigationView_headerLayout
Layout resource to inflate as the header
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int NavigationView_itemBackground
This symbol is the offset where the itemBackground
attribute's value can be found in the NavigationView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int NavigationView_itemIconTint
This symbol is the offset where the itemIconTint
attribute's value can be found in the NavigationView
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int NavigationView_itemTextAppearance
This symbol is the offset where the itemTextAppearance
attribute's value can be found in the NavigationView
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int NavigationView_itemTextColor
This symbol is the offset where the itemTextColor
attribute's value can be found in the NavigationView
array.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int NavigationView_menu
The menu resource to inflate and populate items from.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int[] ScrimInsetsFrameLayout
Attributes that can be used with a ScrimInsetsFrameLayout.
Includes the following attributes:
Attribute | Description |
---|---|
|
See also:
int ScrimInsetsFrameLayout_insetForeground
This symbol is the offset where the insetForeground
attribute's value can be found in the ScrimInsetsFrameLayout
array.
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[] ScrollingViewBehavior_Layout
Attributes that can be used with a ScrollingViewBehavior_Layout.
Includes the following attributes:
Attribute | Description |
---|---|
| The amount that the scrolling view should overlap the bottom of any AppBarLayout |
int ScrollingViewBehavior_Layout_behavior_overlapTop
The amount that the scrolling view should overlap the bottom of any AppBarLayout
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[] SnackbarLayout
Attributes that can be used with a SnackbarLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| Deprecated. |
| |
|
int SnackbarLayout_android_maxWidth
This symbol is the offset where the maxWidth
attribute's value can be found in the SnackbarLayout
array.
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 SnackbarLayout_elevation
Deprecated. Elevation is now controlled via a state list animator.
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 string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
May be an integer value, such as "100
".
May be a boolean value, such as "true
" or
"false
".
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
May be a floating point value, such as "1.2
".
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).
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 SnackbarLayout_maxActionInlineWidth
This symbol is the offset where the maxActionInlineWidth
attribute's value can be found in the SnackbarLayout
array.
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[] TabItem
Attributes that can be used with a TabItem.
Includes the following attributes:
Attribute | Description |
---|---|
| |
| |
|
int TabItem_android_icon
Icon to display in the tab.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int TabItem_android_layout
A reference to a layout resource to be displayed in the tab.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int TabItem_android_text
Text to display in the tab.
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
int[] TabLayout
Attributes that can be used with a TabLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| Reference to a background to be applied to tabs. |
| Position in the Y axis from the starting edge that tabs should be positioned from. |
| Gravity constant for tabs. |
| Color of the indicator used to show the currently selected tab. |
| Height of the indicator used to show the currently selected tab. |
| The maximum width for tabs. |
| The minimum width for tabs. |
| The behavior mode for the Tabs in this layout |
| The preferred padding along all edges of tabs. |
| The preferred padding along the bottom edge of tabs. |
| The preferred padding along the end edge of tabs. |
| The preferred padding along the start edge of tabs. |
| The preferred padding along the top edge of tabs. |
| The text color to be applied to the currently selected tab. |
| A reference to a TextAppearance style to be applied to tabs. |
| The default text color to be applied to tabs. |
See also:
TabLayout_tabBackground
TabLayout_tabContentStart
TabLayout_tabGravity
TabLayout_tabIndicatorColor
TabLayout_tabIndicatorHeight
TabLayout_tabMaxWidth
TabLayout_tabMinWidth
TabLayout_tabMode
TabLayout_tabPadding
TabLayout_tabPaddingBottom
TabLayout_tabPaddingEnd
TabLayout_tabPaddingStart
TabLayout_tabPaddingTop
TabLayout_tabSelectedTextColor
TabLayout_tabTextAppearance
TabLayout_tabTextColor
int TabLayout_tabBackground
Reference to a background to be applied to tabs.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int TabLayout_tabContentStart
Position in the Y axis from the starting edge that tabs should be positioned from.
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 TabLayout_tabGravity
Gravity constant for tabs.
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
center | 1 | |
fill | 0 |
int TabLayout_tabIndicatorColor
Color of the indicator used to show the currently selected tab.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int TabLayout_tabIndicatorHeight
Height of the indicator used to show the currently selected tab.
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 TabLayout_tabMaxWidth
The maximum width for tabs.
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 TabLayout_tabMinWidth
The minimum width for tabs.
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 TabLayout_tabMode
The behavior mode for the Tabs in this layout
Must be one of the following constant values.
Constant | Value | Description |
---|---|---|
fixed | 1 | |
scrollable | 0 |
int TabLayout_tabPadding
The preferred padding along all edges of tabs.
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 TabLayout_tabPaddingBottom
The preferred padding along the bottom edge of tabs.
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 TabLayout_tabPaddingEnd
The preferred padding along the end edge of tabs.
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 TabLayout_tabPaddingStart
The preferred padding along the start edge of tabs.
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 TabLayout_tabPaddingTop
The preferred padding along the top edge of tabs.
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 TabLayout_tabSelectedTextColor
The text color to be applied to the currently selected tab.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int TabLayout_tabTextAppearance
A reference to a TextAppearance style to be applied to tabs.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int TabLayout_tabTextColor
The default text color to be applied to tabs.
May be a color value, in the form of "#rgb
",
"#argb
", "#rrggbb
#aarrggbb".
int[] TextInputLayout
Attributes that can be used with a TextInputLayout.
Includes the following attributes:
Attribute | Description |
---|---|
| Whether the layout is laid out as if the character counter will be displayed |
| The max length to display in the character counter |
| TextAppearance of the character counter when the text is longer than the max |
| TextAppearance of the character counter |
| Whether the layout is laid out as if an error will be displayed |
| TextAppearance of any error message displayed |
| Whether to animate hint state changes. |
| Whether the layout's floating label functionality is enabled |
| |
| |
|
See also:
TextInputLayout_counterEnabled
TextInputLayout_counterMaxLength
TextInputLayout_counterOverflowTextAppearance
TextInputLayout_counterTextAppearance
TextInputLayout_errorEnabled
TextInputLayout_errorTextAppearance
TextInputLayout_hintAnimationEnabled
TextInputLayout_hintEnabled
TextInputLayout_hintTextAppearance
TextInputLayout_android_textColorHint
TextInputLayout_android_hint
int TextInputLayout_android_hint
The hint to display in the floating label
May be a string value, using '\\;' to escape characters such as '\\n' or '\\uxxxx' for a unicode character;
int TextInputLayout_android_textColorHint
This symbol is the offset where the textColorHint
attribute's value can be found in the TextInputLayout
array.
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 TextInputLayout_counterEnabled
Whether the layout is laid out as if the character counter will be displayed
May be a boolean value, such as "true
" or
"false
".
int TextInputLayout_counterMaxLength
The max length to display in the character counter
May be an integer value, such as "100
".
int TextInputLayout_counterOverflowTextAppearance
TextAppearance of the character counter when the text is longer than the max
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int TextInputLayout_counterTextAppearance
TextAppearance of the character counter
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int TextInputLayout_errorEnabled
Whether the layout is laid out as if an error will be displayed
May be a boolean value, such as "true
" or
"false
".
int TextInputLayout_errorTextAppearance
TextAppearance of any error message displayed
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
int TextInputLayout_hintAnimationEnabled
Whether to animate hint state changes.
May be a boolean value, such as "true
" or
"false
".
int TextInputLayout_hintEnabled
Whether the layout's floating label functionality is enabled
May be a boolean value, such as "true
" or
"false
".
int TextInputLayout_hintTextAppearance
This symbol is the offset where the hintTextAppearance
attribute's value can be found in the TextInputLayout
array.
May be a reference to another resource, in the form
"@[+][package:]type/name
" or a theme
attribute in the form
"?[package:]type/name
".
R.styleable ()