setDividerThicknessResource

open fun setDividerThicknessResource(@DimenRes thicknessId: Int)

Sets the thickness of the divider. The divider's android:layout_height must be set to wrap_content in order for this value to be respected.

Parameters

thicknessId

The id of the thickness dimension resource to be set.

See also