setIndicatorColor

open fun setIndicatorColor(@NonNull indicatorColors: Array<Int>)

Sets the colors used in the indicator of this progress indicator.

Parameters

indicatorColors

The new colors used in indicator.

Throws

if there are less than 3 indicator colors when indeterminateAnimationType is INDETERMINATE_ANIMATION_TYPE_CONTIGUOUS.