AlertDialogPro icon indicating copy to clipboard operation
AlertDialogPro copied to clipboard

White buttons in Activity when using dark theme with AppCompat 22

Open ultrah opened this issue 9 years ago • 2 comments

When I use Theme.AlertDialogPro.Holo as the theme of an activity, all buttons have a white background and white text when the app also uses AppCompat 22.

With AppCompat 21 it looks fine. I was able to reproduced this from Android 2.3 to 4.4.4

white_buttons

ultrah avatar Mar 22 '15 10:03 ultrah

Theme.AlertDialogPro.Holo is designed to be used as the theme of AlertDialogPro. I can't guarantee that it can be used well as the theme of an activity.

fengdai avatar Mar 22 '15 12:03 fengdai

Makes sense. I used it for convenience, to align the look with the dialogs created by AlertDialogPro. I'll just switch to Theme.AppCompat.Dialog for activities.

ultrah avatar Mar 23 '15 17:03 ultrah