Skip to content
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

White buttons in Activity when using dark theme with AppCompat 22 #43

Open
ultrah opened this issue Mar 22, 2015 · 2 comments
Open

White buttons in Activity when using dark theme with AppCompat 22 #43

ultrah opened this issue Mar 22, 2015 · 2 comments

Comments

@ultrah
Copy link

ultrah commented Mar 22, 2015

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

@fengdai
Copy link
Owner

fengdai commented Mar 22, 2015

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.

@ultrah
Copy link
Author

ultrah commented Mar 23, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants