title: How to change DatePicker dialog color for Android 5.0
body: <p>Is it possible to change the datepicker (and also the timepicker) color scheme for Android 5.0?</p>
  <p>I've tried setting the accent colors, but this doesn't work (both with and without <code>android</code>):</p>
  <pre><code>&lt;!-- colorPrimary is used for the default action bar background --&gt;
  &lt;item name=&quot;colorPrimary&quot;&gt;@color/purple&lt;/item&gt;
  
  &lt;!-- colorPrimaryDark is used for the status bar --&gt;
  &lt;item name=&quot;colorPrimaryDark&quot;&gt;@color/purple_tint&lt;/item&gt;
  
  &lt;!-- colorAccent is used as the default value for colorControlActivated
       which is used to tint widgets --&gt;
  &lt;item name=&quot;colorAccent&quot;&gt;@color/purple_tint&lt;/item&gt;
  </code></pre>
  <p>From original:</p>
  <p><a href="https://i.stack.imgur.com/gsPyb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gsPyb.png" alt="Original" /></a></p>
  <p>To something like this:</p>
  <p><a href="https://i.imgur.com/1Zve3jv.png" rel="noreferrer"><img src="https://i.imgur.com/1Zve3jv.png" alt="Recolored" /></a></p>