Can't change DatePicker (spinner) buttons color in theme
I open DatePickerDialog on click like this, using my theme to enable the spinner mode:
val calendar: Calendar = Calendar.getInstance()
//show dialog
context?.let {
DatePickerDialog(
it,
R.style.customDatePickerStyle,
{ view, year, month, dayOfMonth ->
birthDatePersonalInfoSettingsField.editSettingsField.setText(dayOfMonth.toString() + "/" + (month + 1) + "/" + year)
},...