Material Divider
A Material divider view.
The divider will display the correct default Material colors without the use of a style flag in a layout file. Make sure to set android:layout_height="wrap_content"
to ensure that the correct thickness is set for the divider.
For more information, see the component developer guidance and design guidelines.
Functions
Link copied to clipboard
Returns the divider color.
Link copied to clipboard
Returns the divider's end inset.
Link copied to clipboard
Returns the divider's start inset.
Link copied to clipboard
Returns the
app:dividerThickness
set on the divider.Link copied to clipboard
Sets the color of the divider.
Link copied to clipboard
Sets the color of the divider.
Link copied to clipboard
Sets the end inset of the divider.
Link copied to clipboard
Sets the end inset of the divider.
Link copied to clipboard
Sets the start inset of the divider.
Link copied to clipboard
Sets the start inset of the divider.
Link copied to clipboard
Sets the thickness of the divider.
Link copied to clipboard
Sets the thickness of the divider.