sweet-alert-dialog
sweet-alert-dialog copied to clipboard
SweetAlert for Android, a beautiful and clever alert dialog
Getting this error after enabling obfuscation, here is a full stack trace ``` 2021-09-11 23:36:45.152 10096-10096/ E/AndroidRuntime: FATAL EXCEPTION: main Process: , PID: 10096 java.lang.RuntimeException: Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:cn.pedant.SweetAlert.Rotate3dAnimation...
add SetTitleTextSize, SetContentTextSize, SetButtonsTextSize and SetTypeFace
Bug
When I released my apk in android studio it makes my app to crash but in debug mode it does not. I am using Kotlin. The crash caused by this....
Bug
``` Fatal Exception: java.lang.RuntimeException Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:cn.pedant.SweetAlert.Rotate3dAnimation cn.pedant.SweetAlert.OptAnimationLoader.createAnimationFromXml keyboard_arrow_down ```
Hi, Is there a way to set the font family for all text in the dialog? Thanks
I have noticed that button text is not centered vertically, either when I do not use setConfirmButton (then button says Ok) and when I use setConfirmButton (to make button text...
I am disabling navbar with below: getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY); Once I run a SweetAlertDialog, the navbar is enabled again. If I leave the activity and return it is correctly disabled...
``` java.lang.ClassCastException: com.google.android.material.button.MaterialButtonBackgroundDrawable cannot be cast to android.graphics.drawable.StateListDrawable at cn.pedant.SweetAlert.ViewUtils.getDrawable(ViewUtils.java:11) at cn.pedant.SweetAlert.SweetAlertDialog.setButtonBackgroundColor(SweetAlertDialog.java:482) at cn.pedant.SweetAlert.SweetAlertDialog.setCancelButtonBackgroundColor(SweetAlertDialog.java:472) at cn.pedant.SweetAlert.SweetAlertDialog.onCreate(SweetAlertDialog.java:224) ```
hi guys, does anyone know how to disable confirm button?