This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
ProgressDialog
Yanndroid edited this page Jan 27, 2022
·
2 revisions
de.dlyt.yanndroid.oneui.dialog.ProgressDialog
Samsung's Alert Dialog with Progress.
Usage is the same as AlertDialog but with additional methods.
Get/set the Progress drawables.
public void setProgressDrawable(Drawable d)
public void setIndeterminateDrawable(Drawable d)
Get/set Progress indeterminate status.
public boolean isIndeterminate()
public void setIndeterminate(boolean indeterminate)
Get/set Progress Style. Value can either be STYLE_SPINNER
, STYLE_HORIZONTAL
or STYLE_CIRCLE_ONLY
.
public void setProgressStyle(int style)
Get/set ProgressBar progress (in case you're using STYLE_HORIZONTAL
).
public int getProgress()
public void setProgress(int value)
public int getSecondaryProgress()
public void setSecondaryProgress(int secondaryProgress)
public int getMax()
public void setMax(int max)
public void incrementProgressBy(int diff)
public void incrementSecondaryProgressBy(int diff)
public void setProgressNumberFormat(String format)
public void setProgressPercentFormat(NumberFormat format)
BlackMesa123 - OneUI Design Library - Yanndroid