set Indeterminate Drawable
Sets a Custom Drawable to the Indeterminate ProgressBar. Can be used only in MODE_DETERMINATE. Use this when you need to define a custom Drawable Design for Indeterminate ProgressBar.
Return
true if mode is MODE_INDETERMINATE and the Drawable is set. false otherwise.
See also
Parameters
progress Drawable
The Drawable object used to draw the Indeterminate ProgressBar.
fun setIndeterminateDrawable(@DrawableRes progressDrawableResID: Int): Boolean
Content copied to clipboard
Sets a Custom Drawable from the passed Drawable resource to the Indeterminate ProgressBar. Can be used only in MODE_INDETERMINATE. Use this when you need to define a custom Drawable Design for Indeterminate ProgressBar.
Return
true if mode is MODE_INDETERMINATE and the Drawable is set. false otherwise.
See also
Parameters
progress Drawable Res ID
The resource id of the Drawable resource used to draw the Indeterminate ProgressBar.