I have an app that I recently migrated to androidx. I faced this problem: all Dialogs use primary color for buttons text color, but it should be secondary (or accent). To fix this bug I created a style and applied it to every Dialog. However I suspect that there must be a better solution... What could be the reason?
Asked
Active
Viewed 61 times
0
[First](https://stackoverflow.com/questions/46397707/how-to-change-color-of-button-in-alert-dialog) [Second](https://stackoverflow.com/questions/27965662/how-can-i-change-default-dialog-button-text-color-in-android-5) – GolnazTorabi Dec 19 '20 at 18:01