title: Material Design not styling alert dialogs
body: <p>I've added the appCompat material design to my app and it seems that the alert dialogs are not using my primary, primaryDark, or accent colors. </p>
  
  <p>Here is my base style:</p>
  
  <pre><code>&lt;style name="MaterialNavyTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="colorPrimary"&gt;@color/apptheme_color&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/apptheme_color_dark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/apptheme_color&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/action_bar_gray&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Based on my understanding the dialogs button text should also use these colors. Am I wrong on my understanding or is there something more I need to do?</p>
  
  <hr>
  
  <p><strong>Solution:</strong> </p>
  
  <p>The marked answer got me on the right track.</p>
  
  <pre><code>&lt;style name="MaterialNavyTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="colorPrimary"&gt;@color/apptheme_color&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/apptheme_color_dark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/apptheme_color&lt;/item&gt;
      &lt;item name="android:actionModeBackground"&gt;@color/apptheme_color_dark&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/action_bar_gray&lt;/item&gt;
      &lt;item name="sdlDialogStyle"&gt;@style/DialogStyleLight&lt;/item&gt;
      &lt;item name="android:seekBarStyle"&gt;@style/SeekBarNavyTheme&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="StyledDialog" parent="Theme.AppCompat.Light.Dialog"&gt;
      &lt;item name="colorPrimary"&gt;@color/apptheme_color&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/apptheme_color_dark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/apptheme_color&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>