setStrokeWidthResource

open fun setStrokeWidthResource(@DimenRes strokeWidthResourceId: Int)

Sets the stroke width dimension resource for this button. Both stroke color and stroke width must be set for a stroke to be drawn.

Parameters

strokeWidthResourceId

Stroke width dimension resource for this button.

See also