swipeprogressview / me.thanel.swipeprogressview / setProgressColor

setProgressColor

fun SwipeProgressView.setProgressColor(color: Int): Unit (source)

Sets the progressDrawable of this view to a solid color.

Using this function will override the progressDrawable with a ColorDrawable of the specified color.

Parameters

color - the color to use as a progress drawable.

See Also

SwipeProgressView.progressDrawable