SeparatorView
A simple view that can be used as separator between any two views, with customize-able styles.



Attributes:
attribute | value | documentation | default value |
---|---|---|---|
app:lineStyle |
[solid, dashed, dotted] | defines how the line should appear. | solid |
app:lineColor |
[color] | defines the color of the line. | black |
app:dashWidth |
[dimension] | defines the width of the dashes. | 15px |
app:dashGap |
[dimension] | defines the width of the gaps between the dashes. | 10px |
app:orientation |
[horizontal,vertical] | defines whether the line should appear vertically or horizontally. | horizontal |
Apps using this library:
Dependency:
Add it in your root build.gradle at the end of repositories:
Add the dependency: