We should replace our usage of the native Java DatePickerDialog and TimePickerDialog with the material MaterialDatePicker and MaterialTimePicker respectively.
This effects the following Titanium APIs:
Date Dialog Test:
The date dialog can be tested with the DateDialogTest.js, which will display what's shown below.
Time Dialog Test:
The time dialog can be tested with the TimeDialogTest.js, which will display what's shown below.
The app must use a "Theme.MaterialComponents" based theme or else an exception will occur. So, app's using a custom theme based from "Theme.AppCompat" or similar will crash. This is normal and the exception will state that the theme will need to change.