ProgressPrimitiveComponent

constructor(@ColorInt color: Int = Color.TRANSPARENT, indeterminateDrawable: Drawable? = null, style: Style? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0)

Parameters

indeterminateDrawable

Drawable to be shown to show progress.

color

Tint color for the drawable.

defStyleAttr

An attribute in the current theme that contains a reference to a style resource that supplies defaults for the progress bar, such as its android:indeterminateDrawable.

defStyleRes

A style resource that supplies defaults for the progress bar, such as its android:indeterminateDrawable. Used only when indeterminateDrawable is not provided.