Class of android.widget · ProgressBar.java · Android's reference
public class ProgressBar extends View
ProgressBar ← View
A bar of progress between a minimum and a maximum, or an indeterminate one with no value.
public ProgressBar(Context context) sourcepublic ProgressBar(Context context, AttributeSet attrs) sourcepublic ProgressBar(Context context, AttributeSet attrs, int defStyleAttr) sourcepublic ProgressBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) sourcepublic synchronized boolean isIndeterminate() sourcepublic synchronized void setIndeterminate(boolean indeterminate) sourcepublic Drawable getIndeterminateDrawable() sourcepublic void setIndeterminateDrawable(Drawable d) sourcepublic Drawable getProgressDrawable() sourcepublic void setProgressDrawable(Drawable d) sourcepublic void setProgressTintList(ColorStateList tint) sourcepublic ColorStateList getProgressTintList() sourcepublic void setProgressTintMode(android.graphics.PorterDuff.Mode mode) sourcepublic android.graphics.PorterDuff.Mode getProgressTintMode() sourcepublic void setProgressBackgroundTintList(ColorStateList tint) sourcethe track's tint and mode: the progress drawable's background layer, which a LayerDrawable names
public ColorStateList getProgressBackgroundTintList() sourcepublic void setProgressBackgroundTintMode(android.graphics.PorterDuff.Mode mode) sourcepublic android.graphics.PorterDuff.Mode getProgressBackgroundTintMode() sourcepublic void setSecondaryProgressTintList(ColorStateList tint) sourcepublic ColorStateList getSecondaryProgressTintList() sourcepublic void setIndeterminateTintMode(android.graphics.PorterDuff.Mode mode) sourcepublic android.graphics.PorterDuff.Mode getIndeterminateTintMode() sourcepublic void setIndeterminateTintList(ColorStateList tint) sourcepublic ColorStateList getIndeterminateTintList() sourcepublic synchronized void setProgress(int progress) sourcepublic void setProgress(int progress, boolean animate) sourcepublic synchronized void setSecondaryProgress(int secondaryProgress) sourcepublic synchronized int getProgress() sourcepublic synchronized int getSecondaryProgress() sourcepublic synchronized int getMin() sourcepublic synchronized int getMax() sourcepublic synchronized void setMin(int min) sourcepublic synchronized void setMax(int max) sourcepublic final synchronized void incrementProgressBy(int diff) sourcepublic final synchronized void incrementSecondaryProgressBy(int diff) sourceprotected void onAttachedToWindow() sourceprotected void onDetachedFromWindow() sourceprotected boolean verifyDrawable(Drawable who) sourceprotected void drawableStateChanged() sourceprotected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) sourceprotected synchronized void onDraw(Canvas canvas) sourcepublic CharSequence getAccessibilityClassName() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.