setStrokeColorResource

open fun setStrokeColorResource(@ColorRes strokeColorResourceId: Int)

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

Parameters

strokeColorResourceId

Color resource to use for the stroke.

See also