You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
Yanndroid edited this page Jan 27, 2022
·
2 revisions
de.dlyt.yanndroid.oneui.dialog.AlertDialog
Samsung's AlertDialogs.
Usage is the same as the default AlertDialog, with a few additional Methods for the Builder.
Methods
Set the color of the button.
public Builder setPositiveButtonColor(@ColorInt int color)
public Builder setNegativeButtonColor(@ColorInt int color)
public Builder setNeutralButtonColor(@ColorInt int color)
Show a ProgressBar at the button's position on click. If you apply this, don't forget to dismiss the dialog after your process is done.
public Builder setPositiveButtonProgress(boolean progress)
public Builder setNegativeButtonProgress(boolean progress)
public Builder setNeutralButtonProgress(boolean progress)