Most visited

Recently visited

R.styleable

public static final class R.styleable
extends Object

java.lang.Object
   ↳ android.support.design.R.styleable


Summary

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 AppBarLayout set when the view has been collapsed.

public static int AppBarLayoutStates_state_collapsible

State value for AppBarLayout set when the view has children which are capable of being collapsed.

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 layout_scrollFlags attribute's value can be found in the AppBarLayout_Layout array.

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 background attribute's value can be found in the AppBarLayout array.

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 "true" or "false".

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 "true" or "false".

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 layout_collapseMode attribute's value can be found in the CollapsingToolbarLayout_Layout array.

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

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

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 layout_gravity attribute's value can be found in the CoordinatorLayout_Layout array.

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

public static int FloatingActionButton_backgroundTintMode

This symbol is the offset where the backgroundTintMode attribute's value can be found in the FloatingActionButton array.

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

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 "14.5sp".

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 foreground attribute's value can be found in the ForegroundLinearLayout array.

public static int ForegroundLinearLayout_android_foregroundGravity

This symbol is the offset where the foregroundGravity attribute's value can be found in the ForegroundLinearLayout array.

public static int ForegroundLinearLayout_foregroundInsidePadding

This symbol is the offset where the foregroundInsidePadding attribute's value can be found in the ForegroundLinearLayout array.

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 background attribute's value can be found in the NavigationView array.

public static int NavigationView_android_fitsSystemWindows

This symbol is the offset where the fitsSystemWindows attribute's value can be found in the NavigationView array.

public static int NavigationView_android_maxWidth

This symbol is the offset where the maxWidth attribute's value can be found in the NavigationView array.

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

public static int NavigationView_itemBackground

This symbol is the offset where the itemBackground attribute's value can be found in the NavigationView array.

public static int NavigationView_itemIconTint

This symbol is the offset where the itemIconTint attribute's value can be found in the NavigationView array.

public static int NavigationView_itemTextAppearance

This symbol is the offset where the itemTextAppearance attribute's value can be found in the NavigationView array.

public static int NavigationView_itemTextColor

This symbol is the offset where the itemTextColor attribute's value can be found in the NavigationView array.

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 insetForeground attribute's value can be found in the ScrimInsetsFrameLayout array.

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 "14.5sp".

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 maxWidth attribute's value can be found in the SnackbarLayout array.

public static int SnackbarLayout_elevation

Deprecated.

public static int SnackbarLayout_maxActionInlineWidth

This symbol is the offset where the maxActionInlineWidth attribute's value can be found in the SnackbarLayout array.

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 textColorHint attribute's value can be found in the TextInputLayout array.

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 "true" or "false".

public static int TextInputLayout_counterMaxLength

The max length to display in the character counter

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

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

public static 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".

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 "true" or "false".

public static 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".

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 "true" or "false".

public static int TextInputLayout_hintTextAppearance

This symbol is the offset where the hintTextAppearance attribute's value can be found in the TextInputLayout array.

Public constructors

R.styleable()

Inherited methods

From class java.lang.Object

Fields

AppBarLayout

int[] AppBarLayout

Attributes that can be used with a AppBarLayout.

Includes the following attributes:

AttributeDescription
android.support.design:elevationDeprecated.
android.support.design:expandedThe initial expanded state for the AppBarLayout.
android:background

See also:

AppBarLayoutStates

int[] AppBarLayoutStates

Attributes that can be used with a AppBarLayoutStates.

Includes the following attributes:

AttributeDescription
android.support.design:state_collapsedState value for {@link android.
{@link #AppBarLayoutStates_state_collapsible android.support.design:state_collapsible}State value for {@link android.

See also:

AppBarLayoutStates_state_collapsed

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

AppBarLayoutStates_state_collapsible

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

AppBarLayout_Layout

int[] AppBarLayout_Layout

Attributes that can be used with a AppBarLayout_Layout.

Includes the following attributes:

AttributeDescription
android.support.design:layout_scrollFlags
android.support.design:layout_scrollInterpolatorAn interpolator to use when scrolling this View.

See also:

AppBarLayout_Layout_layout_scrollFlags

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.

ConstantValueDescription
enterAlways4When 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.
enterAlwaysCollapsed8An 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.
exitUntilCollapsed2When exiting (scrolling off screen) the view will be scrolled until it is 'collapsed'. The collapsed height is defined by the view's minimum height.
scroll1The 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.
snap10Upon a scroll ending, if the view is only partially visible then it will be snapped and scrolled to it's closest edge.

AppBarLayout_Layout_layout_scrollInterpolator

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

AppBarLayout_android_background

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

AppBarLayout_elevation

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.

AppBarLayout_expanded

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

BottomSheetBehavior_Layout

int[] BottomSheetBehavior_Layout

Attributes that can be used with a BottomSheetBehavior_Layout.

Includes the following attributes:

AttributeDescription
android.support.design:behavior_hideableWhether this bottom sheet can be hidden by dragging it further downwards
android.support.design:behavior_peekHeightThe height of the bottom sheet when it is collapsed.
android.support.design:behavior_skipCollapsedSkip the collapsed state once expanded; no effect unless it is hideable

See also:

BottomSheetBehavior_Layout_behavior_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".

BottomSheetBehavior_Layout_behavior_peekHeight

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

BottomSheetBehavior_Layout_behavior_skipCollapsed

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

CollapsingToolbarLayout

int[] CollapsingToolbarLayout

Attributes that can be used with a CollapsingToolbarLayout.

Includes the following attributes:

AttributeDescription
android.support.design:collapsedTitleGravitySpecifies how the title should be positioned when collapsed.
android.support.design:collapsedTitleTextAppearanceThe text appearance of the CollapsingToolbarLayouts title when it is fully 'collapsed'
android.support.design:contentScrimThe drawable to use as a scrim on top of the CollapsingToolbarLayouts content when it has been scrolled sufficiently off screen.
android.support.design:expandedTitleGravitySpecifies how the title should be positioned when expanded.
android.support.design:expandedTitleMarginSpecifies extra space on the start, top, end and bottom sides of the the expanded title text.
android.support.design:expandedTitleMarginBottomSpecifies extra space on the bottom side of the the expanded title text.
android.support.design:expandedTitleMarginEndSpecifies extra space on the end side of the the expanded title text.
android.support.design:expandedTitleMarginStartSpecifies extra space on the start side of the the expanded title text.
android.support.design:expandedTitleMarginTopSpecifies extra space on the top side of the the expanded title text.
android.support.design:expandedTitleTextAppearanceThe text appearance of the CollapsingToolbarLayout's title when it is fully 'expanded'
android.support.design:scrimAnimationDurationSpecifies the duration used for scrim visibility animations.
android.support.design:scrimVisibleHeightTriggerSpecifies the amount of visible height in pixels used to define when to trigger a scrim visibility change.
android.support.design:statusBarScrimThe drawable to use as a scrim for the status bar content when the CollapsingToolbarLayout has been scrolled sufficiently off screen.
android.support.design:titleThe title to show when titleEnabled is set to true.
android.support.design:titleEnabledWhether the CollapsingToolbarLayout should draw its own shrinking/growing title.
android.support.design:toolbarIdThe id of the primary Toolbar child that you wish to use for the purpose of collapsing.

See also:

CollapsingToolbarLayout_Layout

int[] CollapsingToolbarLayout_Layout

Attributes that can be used with a CollapsingToolbarLayout_Layout.

Includes the following attributes:

AttributeDescription
android.support.design:layout_collapseMode
android.support.design:layout_collapseParallaxMultiplierThe multiplier used when layout_collapseMode is set to 'parallax'.

See also:

CollapsingToolbarLayout_Layout_layout_collapseMode

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.

ConstantValueDescription
none0The view will act as normal with no collapsing behavior.
parallax2The view will scroll in a parallax fashion. See the layout_collapseParallaxMultiplier attribute to change the multiplier.
pin1The view will pin in place.

CollapsingToolbarLayout_Layout_layout_collapseParallaxMultiplier

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

CollapsingToolbarLayout_collapsedTitleGravity

int CollapsingToolbarLayout_collapsedTitleGravity

Specifies how the title should be positioned when collapsed.

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

ConstantValueDescription
bottom50Push title to the bottom of its container, not changing its size.
center11Place the title in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place title in the horizontal center of its container, not changing its size.
center_vertical10Place title in the vertical center of its container, not changing its size.
end800005Push title to the end of its container, not changing its size.
fill_vertical70Grow the vertical size of the title if needed so it completely fills its container.
left3Push title to the left of its container, not changing its size.
right5Push title to the right of its container, not changing its size.
start800003Push title to the beginning of its container, not changing its size.
top30Push title to the top of its container, not changing its size.

CollapsingToolbarLayout_collapsedTitleTextAppearance

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

CollapsingToolbarLayout_contentScrim

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

CollapsingToolbarLayout_expandedTitleGravity

int CollapsingToolbarLayout_expandedTitleGravity

Specifies how the title should be positioned when expanded.

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

ConstantValueDescription
bottom50Push title to the bottom of its container, not changing its size.
center11Place the title in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place title in the horizontal center of its container, not changing its size.
center_vertical10Place title in the vertical center of its container, not changing its size.
end800005Push title to the end of its container, not changing its size.
fill_vertical70Grow the vertical size of the title if needed so it completely fills its container.
left3Push title to the left of its container, not changing its size.
right5Push title to the right of its container, not changing its size.
start800003Push title to the beginning of its container, not changing its size.
top30Push title to the top of its container, not changing its size.

CollapsingToolbarLayout_expandedTitleMargin

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

CollapsingToolbarLayout_expandedTitleMarginBottom

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

CollapsingToolbarLayout_expandedTitleMarginEnd

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

CollapsingToolbarLayout_expandedTitleMarginStart

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

CollapsingToolbarLayout_expandedTitleMarginTop

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

CollapsingToolbarLayout_expandedTitleTextAppearance

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

CollapsingToolbarLayout_scrimAnimationDuration

int CollapsingToolbarLayout_scrimAnimationDuration

Specifies the duration used for scrim visibility animations.

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

CollapsingToolbarLayout_scrimVisibleHeightTrigger

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

CollapsingToolbarLayout_statusBarScrim

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

CollapsingToolbarLayout_title

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.

CollapsingToolbarLayout_titleEnabled

int CollapsingToolbarLayout_titleEnabled

Whether the CollapsingToolbarLayout should draw its own shrinking/growing title.

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

CollapsingToolbarLayout_toolbarId

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

CoordinatorLayout

int[] CoordinatorLayout

Attributes that can be used with a CoordinatorLayout.

Includes the following attributes:

AttributeDescription
android.support.design:keylinesA reference to an array of integers representing the locations of horizontal keylines in dp from the starting edge.
android.support.design:statusBarBackgroundDrawable to display behind the status bar when the view is set to draw behind it.

See also:

CoordinatorLayout_Layout

int[] CoordinatorLayout_Layout

Attributes that can be used with a CoordinatorLayout_Layout.

Includes the following attributes:

AttributeDescription
android.support.design:layout_anchorThe id of an anchor view that this view should position relative to.
android.support.design:layout_anchorGravitySpecifies how an object should position relative to an anchor, on both the X and Y axes, within its parent's bounds.
android.support.design:layout_behaviorThe class name of a Behavior class defining special runtime behavior for this child view.
android.support.design:layout_keylineThe index of a keyline this view should position relative to.
android:layout_gravity

See also:

CoordinatorLayout_Layout_android_layout_gravity

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.

ConstantValueDescription
end800005
start800003
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
fill77
fill_horizontal7
fill_vertical70
left3
right5
top30

CoordinatorLayout_Layout_layout_anchor

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

CoordinatorLayout_Layout_layout_anchorGravity

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.

ConstantValueDescription
bottom50Push object to the bottom of its container, not changing its size.
center11Place the object in the center of its container in both the vertical and horizontal axis, not changing its size.
center_horizontal1Place object in the horizontal center of its container, not changing its size.
center_vertical10Place object in the vertical center of its container, not changing its size.
clip_horizontal8Additional 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_vertical80Additional 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.
end800005Push object to the end of its container, not changing its size.
fill77Grow the horizontal and vertical size of the object if needed so it completely fills its container.
fill_horizontal7Grow the horizontal size of the object if needed so it completely fills its container.
fill_vertical70Grow the vertical size of the object if needed so it completely fills its container.
left3Push object to the left of its container, not changing its size.
right5Push object to the right of its container, not changing its size.
start800003Push object to the beginning of its container, not changing its size.
top30Push object to the top of its container, not changing its size.

CoordinatorLayout_Layout_layout_behavior

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;

CoordinatorLayout_Layout_layout_keyline

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

CoordinatorLayout_keylines

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

CoordinatorLayout_statusBarBackground

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

DesignTheme

int[] DesignTheme

Attributes that can be used with a DesignTheme.

Includes the following attributes:

AttributeDescription
android.support.design:bottomSheetDialogThemeTheme to use for modal bottom sheet dialogs spawned from this theme.
android.support.design:bottomSheetStyleStyle to use for modal bottom sheets in this theme.
android.support.design:textColorErrorText color used to indicate an error has occurred.

See also:

DesignTheme_bottomSheetDialogTheme

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

DesignTheme_bottomSheetStyle

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

DesignTheme_textColorError

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

FloatingActionButton

int[] FloatingActionButton

Attributes that can be used with a FloatingActionButton.

Includes the following attributes:

AttributeDescription
android.support.design:backgroundTintBackground for the FloatingActionButton
android.support.design:backgroundTintMode
android.support.design:borderWidthThe width of the border around the FAB.
android.support.design:elevationDeprecated.
android.support.design:fabSizeSize for the FAB.
android.support.design:pressedTranslationZTranslationZ value for the FAB when pressed
android.support.design:rippleColorRipple color for the FAB.
android.support.design:useCompatPaddingEnable compat padding.

See also:

FloatingActionButton_backgroundTint

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.

FloatingActionButton_backgroundTintMode

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.

FloatingActionButton_borderWidth

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

FloatingActionButton_elevation

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.

FloatingActionButton_fabSize

int FloatingActionButton_fabSize

Size for the FAB.

Must be one of the following constant values.

ConstantValueDescription
autoffffffffA size which will change based on the window size.
mini1The mini sized button.
normal0The normal sized button.

FloatingActionButton_pressedTranslationZ

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

FloatingActionButton_rippleColor

int FloatingActionButton_rippleColor

Ripple color for the FAB.

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

FloatingActionButton_useCompatPadding

int FloatingActionButton_useCompatPadding

Enable compat padding.

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

ForegroundLinearLayout

int[] ForegroundLinearLayout

Attributes that can be used with a ForegroundLinearLayout.

Includes the following attributes:

AttributeDescription
android.support.design:foregroundInsidePadding
android:foreground
android:foregroundGravity

See also:

ForegroundLinearLayout_android_foreground

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

ForegroundLinearLayout_android_foregroundGravity

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.

ConstantValueDescription
bottom50
center11
center_horizontal1
center_vertical10
clip_horizontal8
clip_vertical80
fill77
fill_horizontal7
fill_vertical70
left3
right5
top30

ForegroundLinearLayout_foregroundInsidePadding

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

NavigationView_android_background

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

NavigationView_android_fitsSystemWindows

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

NavigationView_android_maxWidth

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

NavigationView_elevation

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.

NavigationView_headerLayout

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

NavigationView_itemBackground

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

NavigationView_itemIconTint

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

NavigationView_itemTextAppearance

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

NavigationView_itemTextColor

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

NavigationView_menu

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

ScrimInsetsFrameLayout

int[] ScrimInsetsFrameLayout

Attributes that can be used with a ScrimInsetsFrameLayout.

Includes the following attributes:

AttributeDescription
android.support.design:insetForeground

See also:

ScrimInsetsFrameLayout_insetForeground

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

ScrollingViewBehavior_Layout

int[] ScrollingViewBehavior_Layout

Attributes that can be used with a ScrollingViewBehavior_Layout.

Includes the following attributes:

AttributeDescription
android.support.design:behavior_overlapTopThe amount that the scrolling view should overlap the bottom of any AppBarLayout

See also:

ScrollingViewBehavior_Layout_behavior_overlapTop

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

SnackbarLayout

int[] SnackbarLayout

Attributes that can be used with a SnackbarLayout.

Includes the following attributes:

AttributeDescription
android.support.design:elevationDeprecated.
android.support.design:maxActionInlineWidth
android:maxWidth

See also:

SnackbarLayout_android_maxWidth

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

SnackbarLayout_elevation

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.

SnackbarLayout_maxActionInlineWidth

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

TabItem

int[] TabItem

Attributes that can be used with a TabItem.

Includes the following attributes:

AttributeDescription
android:icon
android:layout
android:text

See also:

TabItem_android_icon

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

TabItem_android_layout

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

TabItem_android_text

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;

TabLayout

int[] TabLayout

Attributes that can be used with a TabLayout.

Includes the following attributes:

AttributeDescription
android.support.design:tabBackgroundReference to a background to be applied to tabs.
android.support.design:tabContentStartPosition in the Y axis from the starting edge that tabs should be positioned from.
android.support.design:tabGravityGravity constant for tabs.
android.support.design:tabIndicatorColorColor of the indicator used to show the currently selected tab.
android.support.design:tabIndicatorHeightHeight of the indicator used to show the currently selected tab.
android.support.design:tabMaxWidthThe maximum width for tabs.
android.support.design:tabMinWidthThe minimum width for tabs.
android.support.design:tabModeThe behavior mode for the Tabs in this layout
android.support.design:tabPaddingThe preferred padding along all edges of tabs.
android.support.design:tabPaddingBottomThe preferred padding along the bottom edge of tabs.
android.support.design:tabPaddingEndThe preferred padding along the end edge of tabs.
android.support.design:tabPaddingStartThe preferred padding along the start edge of tabs.
android.support.design:tabPaddingTopThe preferred padding along the top edge of tabs.
android.support.design:tabSelectedTextColorThe text color to be applied to the currently selected tab.
android.support.design:tabTextAppearanceA reference to a TextAppearance style to be applied to tabs.
android.support.design:tabTextColorThe default text color to be applied to tabs.

See also:

TabLayout_tabBackground

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

TabLayout_tabContentStart

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

TabLayout_tabGravity

int TabLayout_tabGravity

Gravity constant for tabs.

Must be one of the following constant values.

ConstantValueDescription
center1
fill0

TabLayout_tabIndicatorColor

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

TabLayout_tabIndicatorHeight

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

TabLayout_tabMaxWidth

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

TabLayout_tabMinWidth

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

TabLayout_tabMode

int TabLayout_tabMode

The behavior mode for the Tabs in this layout

Must be one of the following constant values.

ConstantValueDescription
fixed1
scrollable0

TabLayout_tabPadding

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

TabLayout_tabPaddingBottom

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

TabLayout_tabPaddingEnd

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

TabLayout_tabPaddingStart

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

TabLayout_tabPaddingTop

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

TabLayout_tabSelectedTextColor

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

TabLayout_tabTextAppearance

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

TabLayout_tabTextColor

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

TextInputLayout

int[] TextInputLayout

Attributes that can be used with a TextInputLayout.

Includes the following attributes:

AttributeDescription
android.support.design:counterEnabledWhether the layout is laid out as if the character counter will be displayed
android.support.design:counterMaxLengthThe max length to display in the character counter
android.support.design:counterOverflowTextAppearanceTextAppearance of the character counter when the text is longer than the max
android.support.design:counterTextAppearanceTextAppearance of the character counter
android.support.design:errorEnabledWhether the layout is laid out as if an error will be displayed
android.support.design:errorTextAppearanceTextAppearance of any error message displayed
android.support.design:hintAnimationEnabledWhether to animate hint state changes.
android.support.design:hintEnabledWhether the layout's floating label functionality is enabled
android.support.design:hintTextAppearance
android:textColorHint
android:hint

See also:

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;

TextInputLayout_android_textColorHint

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

TextInputLayout_counterEnabled

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

TextInputLayout_counterMaxLength

int TextInputLayout_counterMaxLength

The max length to display in the character counter

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

TextInputLayout_counterOverflowTextAppearance

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

TextInputLayout_counterTextAppearance

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

TextInputLayout_errorEnabled

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

TextInputLayout_errorTextAppearance

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

TextInputLayout_hintAnimationEnabled

int TextInputLayout_hintAnimationEnabled

Whether to animate hint state changes.

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

TextInputLayout_hintEnabled

int TextInputLayout_hintEnabled

Whether the layout's floating label functionality is enabled

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

TextInputLayout_hintTextAppearance

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

Public constructors

R.styleable

R.styleable ()

Hooray!