set Determinate Drawable
Sets a Custom Drawable to the Determinate ProgressBar. Can be used only in MODE_DETERMINATE. Use this when you need to define a custom Drawable Design for Determinate ProgressBar.
Return
true if mode is MODE_DETERMINATE and the Drawable is set. false otherwise.
See also
Parameters
progress Drawable
The Drawable object used to draw the Determinate ProgressBar.
fun setDeterminateDrawable(@DrawableRes progressDrawableResID: Int): Boolean
Content copied to clipboard
Sets a Custom Drawable from the passed Drawable resource to the Determinate ProgressBar. Can be used only in MODE_DETERMINATE. Use this when you need to define a custom Drawable Design for Determinate ProgressBar.
Return
true if mode is MODE_DETERMINATE 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 Determinate ProgressBar.