Code example for ProgressBar

Methods: setIndeterminateDrawable

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