title: Change spinner style in toolbar
body: <p>I am trying to put a spinner in my <code>Toolbar</code> like the old ActionBar style navigation and my theme is this</p>
  
  <pre><code>&lt;style name="AppBaseTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt;
      &lt;item name="colorPrimary"&gt;@color/color_primary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/color_primary_dark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/color_primary&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>but my spinner is black while all other icons and overflow menus are white so it looks bad</p>
  
  <p><img src="https://i.stack.imgur.com/4ROO4.png" alt="enter image description here"></p>
  
  <p>I tried changing the style of the spinner using this</p>
  
  <pre><code>&lt;style name="ToolbarSpinnerTheme" parent="Theme.AppCompat"&gt;
      &lt;item name="android:spinnerItemStyle"&gt;@style/TextAppearanceSpinnerItem&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="TextAppearanceSpinnerItem"&gt;
      &lt;item name="android:textColor"&gt;#FFFFFF&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>this is how my Toolbar is styled</p>
  
  <pre><code>&lt;android.support.v7.widget.Toolbar
             android:id="@+id/toolbar"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:minHeight="?attr/actionBarSize"
             android:background="?attr/colorPrimary"
             app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
             app:popupTheme="@style/ThemeOverlay.AppCompat.Light"&gt;
  
             &lt;Spinner
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:id="@+id/modes"
                 android:minWidth="150dp"
                 android:gravity="bottom"
                 style="@style/ToolbarSpinnerTheme"/&gt;
  
         &lt;/android.support.v7.widget.Toolbar&gt;
  
  
  final Spinner mode = (Spinner)findViewById(R.id.modes);
  
      SpinnerAdapter mSpinner = ArrayAdapter.createFromResource(this, R.array.action_bar_spinner, android.R.layout.simple_spinner_dropdown_item);
      mode.setAdapter(mSpinner);
  </code></pre>
  
  <p>but it always stays black. How can I change the spinner arrow and text to white while still keeping the same theme for the dropdown style as you would get with the <code>Light</code> theme?</p>
  
  <p><strong>Update 4.4 arrow fix:</strong> </p>
  
  <p>The only way I got the arrow to turn white is to add the spinner programatically and not in xml so it looks something like this</p>
  
  <pre><code>final ArrayAdapter spinnerAdapter = ArrayAdapter.createFromResource(getSupportActionBar().getThemedContext(),
          R.array.main_navigation_list, R.layout.spinner_text);
  spinnerAdapter.setDropDownViewResource(R.layout.spinner_dropdown_item);
  mNavigationTags = getResources().getStringArray(R.array.main_navigation_list);
  
  
  mNavigationSpinner = new Spinner(getSupportActionBar().getThemedContext());
  mNavigationSpinner.setAdapter(spinnerAdapter);
  
  mNavigationSpinner.setOnItemSelectedListener(this);
  mToolbar.addView(mNavigationSpinner)
  </code></pre>