title: How to style Android spinner popup?
body: <p>I have set</p>
  
  <pre><code>&lt;item name="android:spinnerMode"&gt;dialog&lt;/item&gt;
  </code></pre>
  
  <p>and so when I tap the spinner, I get a popup. But that popup is grey with white text and I can't seem to change any of the colors. How do I style this dialog?</p>
  
  <p>I tried the following with some crazy temporary colors to see what changes but nothing changes.</p>
  
  <pre><code>&lt;style name="AppTheme" parent="AppBaseTheme"&gt;
      &lt;item name="android:dialogTheme"&gt;@style/SpinnerDialog&lt;/item&gt;
      &lt;item name="android:alertDialogTheme"&gt;@style/SpinnerAlertDialog&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="SpinnerDialog" parent="Theme.AppCompat.Light.Dialog"&gt;
      &lt;item name="android:popupBackground"&gt;#ff00ff&lt;/item&gt;
      &lt;item name="colorPrimary"&gt;#ff00ff&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;#ffff00&lt;/item&gt;
      &lt;item name="colorAccent"&gt;#ff0000&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="SpinnerAlertDialog" parent="Theme.AppCompat.Dialog"&gt;
      &lt;item name="colorPrimary"&gt;#00ffff&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;#00ff00&lt;/item&gt;
      &lt;item name="colorAccent"&gt;#0000ff&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>There are a bunch of similar questions, but they all either deal with dropdowns or ancient versions of Android or just don't work.</p>