Is it possible to change the datepicker (and also the timepicker) colour scheme for android 5.0?
I've tryed setting the accent colours, but this doesn't work (both with and without android:
):
<!-- colorPrimary is used for the default action bar background -->
<item name="colorPrimary">@color/purple</item>
<!-- colorPrimaryDark is used for the status bar -->
<item name="colorPrimaryDark">@color/purple_tint</item>
<!-- colorAccent is used as the default value for colorControlActivated
which is used to tint widgets -->
<item name="colorAccent">@color/purple_tint</item>
From original:
To something like this:
I had the problem that time picker buttons have not been seen in the screen for API 24 in android. (API 21+) it is solved by
Just to mention, you can also use the default a theme like
android.R.style.Theme_DeviceDefault_Light_Dialog
instead.