title: Android TimePickerDialog material design color
body: <p>I am using a time picker dialog in my app.  I am also using appcompat to give my app material design theme.  The dialog however stays with the default teal accent color (my accent is a light blue).</p>
  
  <p><a href="https://i.stack.imgur.com/JPmZm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JPmZm.png" alt=""></a></p>
  
  <p>so in my code I tried setting the dialog theme to my own and it works accept it makes it fullscreen</p>
  
  <pre><code>mTimePicker = new TimePickerDialog(ctx, R.style.AppTheme new TimePickerDialog.OnTimeSetListener() {-&gt;}, hour, minute, DateFormat.is24HourFormat(context));
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/6ViXT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6ViXT.png" alt=""></a></p>
  
  <p>does anyone know how to set the TimePickerDialog to show correctly with my colors instead of the default ones?</p>