Closed TimHi closed 1 month ago
Hello and thanks for asking, Please use the theme-control library that's recommended in https://github.com/react-native-datetimepicker/datetimepicker#themevariant-optional-ios-only
That should work best, Thank you 🙂
Hello @vonovak , thank you for the suggestion, I saw the themevariant prop but it is marked as iOS only, this is an issue with Android, does the prop work for Android as well?
Hi Tim, My comment above, as well as the prop documentation mention the theme-control library.
Did you have a look at it too?
I apologize, I missread the part in the doc. Using the theme-control library worked. Thank you for the quick support!
Actually, for your use case this might be enough
The app I'm working on does not offer a dark mode, hence I need to ignore the system set dark mode. In Android it's looking like this:
So far I've tried to edit the styles.xml. Neither
forceDarkAllowed
or thetimePickerDialogTheme/datePickerDialogTheme
seem to. make any difference.I'm on the latest version 8.2.0. Is there something I'm missing?