MaterialStyledDialogs icon indicating copy to clipboard operation
MaterialStyledDialogs copied to clipboard

Enforcing DarkTheme the Dialog background is always white

Open whyorean opened this issue 7 years ago • 1 comments

https://github.com/javiersantos/MaterialStyledDialogs/blob/9eb3ed58fdd2ba5eccd925d8cf7520d8cb0978c1/library/src/main/res/layout/style_dialog_header_title.xml#L6

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 :)

whyorean avatar Feb 25 '18 18:02 whyorean

[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

whyorean avatar Feb 26 '18 13:02 whyorean