Android TimePickerDialog Android 4.4 button wrong color

43 Views Asked by At

I use app theme Theme.MaterialComponents.Light.DarkActionBar in my application, when i create TimePickerDialog it looks ok on Android 5 and higher, but on Android 4.4 with Holo style it looks weird:

return new TimePickerDialog(
        getActivity(),
        listener,
        loadAutoUpdateHour(),
        loadAutoUpdateMinute(),
        _24hourView);

enter image description here

But i want it look like this

enter image description here

Seems to me what MaterialComponent replace default Button to MaterialButton, but why and how to fix it?

1

There are 1 best solutions below

0
ReCursia On

Updated Material components library to 1.3.0 version, problem disappeared