Code example for ProgressBar

Methods: setProgressDrawable

0
        } 
    } 
 
    public void setProgressDrawable(Drawable d) {
        if (mProgress != null) {
            mProgress.setProgressDrawable(d);
        } else { 
            mProgressDrawable = d;
        } 
    } 
 
    public void setIndeterminateDrawable(Drawable d) {
        if (mProgress != null) {
            mProgress.setIndeterminateDrawable(d);
        } else { 
            mIndeterminateDrawable = d;
        } 
    } 
 
    public void setIndeterminate(boolean indeterminate) {
        if (mProgress != null) {