-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button colors do not work #21
Comments
@fumatamax .setPositiveBtnBackground(R.color.positiveButton) // Pass the color from color.xml |
color is not working for buttons .setTitleTextColor(R.color.colorPrimary) |
Same here the button are white, and the text is white and is not visible in this case can we have fix for this soon I see the issue is form Jul 1 2021 i try on emulators and real devices text is white and color of the button does not change |
Edit: The problem appear is from the button in the xml if you use compat dependancy the button need to be changed to appcompatbutton and you can set the color . |
I tried to add the ID of the button color and it does not change. I have also tried to add a string with the hexadecimal of the color. But it fails completely, because it needs an ID of the COLOR.
I don't know if it has something to do, but now the buttons by default comes with the XML attribute to change the background of the button, called: app:backgroundTint.
I don't know if I need to update the FancyDialog code, or maybe I'm doing something wrong. So that the change of colors of the fancydialog buttons is not realized concretely: setNegativeBtnBackground and setPositiveBtnBackground.
The text was updated successfully, but these errors were encountered: