I use the timing dialog in my application. I also use appcompat to give an application design theme. The dialog, however, remains with the default color accent (my accent is blue).

so in my code I tried to set up the dialog theme myself, and it works, recognizing that it makes it fullscreen.
mTimePicker = new TimePickerDialog(ctx, R.style.AppTheme new TimePickerDialog.OnTimeSetListener() {->}, hour, minute, DateFormat.is24HourFormat(context));

Does anyone know how to set TimePickerDialog to correctly display my colors instead of the standard ones?
android material-design android-timepicker
Acela
source share