When using an Android device that supports dark mode (i.e. Android 10) and styles inheriting from Theme.AppCompat.DayNight, the DatePicker dialog box has a white background instead of dark gray when the device is in dark mode, resulting in unreadable text.
Related to: (https://github.com/xamarin/Xamarin.Forms/issues/8029)
The DatePicker is styled according to the theme, with white text on a dark background.
The DatePicker style is only partially applied, resulting in white text on a white background.


Investigating
Same seems to happen to the normal picker dialog. Also in the Gallery app. But only when you apply customizations. If you take out the custom styles in the styles.xml everything will fall in line.
Related to Jan6 comment by @jfversluis, removing this line from "styles.xml" cleared up the problem with the "blank" date picker.
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item>
@jfversluis normal picker has this problem too with the dialog. You guys have plan on fixing? Should I open another issue for that? I'm didn't found any other open about this.
No need for a new issue! It鈥檚 clear that this happens for all the picker variations. We鈥檙e aware and hopefully get around to this soon
If you have any additional information on a possible fix or cause that would be very welcome though
I didn't spent too much time looking at it, but I'll definitely do it soon and if I found something I'll let you guys know. Best Regards.
Are there any updates on this one? A fix is highly appreciated.
Is there currently a workaround for this to get the DatePicker dialog to properly show in dark mode?