setStrokeWidthResource

open fun setStrokeWidthResource(@DimenRes strokeWidthResourceId: Int)

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

Parameters

strokeWidthResourceId

Stroke width dimension resource for this ImageView.

See also

setStrokeWidth(float)
getStrokeWidth()