title: Android: How to change background of Title Bar of DatePickerDialog
body: <p>I managed to apply a custom theme to the DatePickerDialog but there's still a Blue part in the header of the DatePickerDialog </p>
  
  <p>how can I change it ?</p>
  
  <p>Please find the screenshot and my code below . . </p>
  
  <p>This is the theme:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;resources&gt;
          &lt;style name="DiglrTheme" parent="android:Theme"&gt;        
              &lt;item name="android:background"&gt;#3f863c&lt;/item&gt;
          &lt;/style&gt;
      &lt;/resources&gt;
  </code></pre>
  
  <p>And this is where I applied it in the Activity :</p>
  
  <pre><code> @Override
      protected Dialog onCreateDialog(int id) {
  
          switch (id) {
          case DATE_DIALOG_ID:            
              return  new DatePickerDialog(this, R.style.DiglrTheme ,mDateSetListener, mYear, mMonth, mDay);                
          }
          return null;
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Q7pEt.png" alt="Styling DatePickerDialog"></p>