sweet-alert-dialog
sweet-alert-dialog copied to clipboard
Why the button colors changed like primary color?
Yea, I have same question
- 1 here In theory it should:
confirm.setConfirmButtonBackgroundColor(R.color.red);
but it only set a gray color as background it doesn't matter what color you've set. other ways like:
sDialog.setConfirmButtonBackgroundColor(Color.parseColor("#fffc3061"));
or
sDialog.setConfirmButtonBackgroundColor(ContextCompat.getColor(context,R.color.colorPrimary));
it doesn't work also.
Any thoughts @F0RIS ? Regards.
@eriknyk Idk, having no time to find the reason, busy with war