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

Enforcing DarkTheme the Dialog background is always white #63

Open
whyorean opened this issue Feb 25, 2018 · 1 comment
Open

Enforcing DarkTheme the Dialog background is always white #63

whyorean opened this issue Feb 25, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@whyorean
Copy link

Maybe the issue is because of this, can you make it android:background="?android:colorBackground"
This should solve the issue hopefully

Thanks for you Library :)

@javiersantos javiersantos changed the title [BUG] Enforcing DarkTheme the Dialog background is always white Enforcing DarkTheme the Dialog background is always white Feb 26, 2018
@javiersantos javiersantos added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Feb 26, 2018
@whyorean
Copy link
Author

whyorean commented Feb 26, 2018

[UPDATE] : Workaround

Step 1. Set (main_content) LinearLayout's android:background="@android:color/white" to android:background="?android:colorBackground" on both the style_dialog_header_* layouts

Step 2. Add <\item name="md_dark_theme">true<\item> in DarkTheme @ values/styles

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

No branches or pull requests

2 participants