bfgutils.bfgAlertUtils Class
Provides methods for showing common alerts. More...
Static Public Member Functions | |
static void | fixFontSize (@NonNull final Activity activity, @NonNull final AlertDialog dialog) |
Sets the font size to a default DP value for the alert's message and buttons. More... | |
static void | fixFontSize (@NonNull final Activity activity, @NonNull final androidx.appcompat.app.AlertDialog dialog) |
Sets the font size to a default DP value for the alert's message and buttons. More... | |
static void | showCustomAlert (@Nullable final String title, @NonNull final String message, @Nullable final DialogInterface.OnClickListener listener) |
Shows a customizable alert dialog with an OK button. More... | |
static void | showCustomAlert (@Nullable final String title, @NonNull final String message, @Nullable final DialogInterface.OnClickListener listener, @Nullable final Activity activity) |
Shows a customizable alert dialog with an OK button. More... | |