title: How to Change text color on AppCompatSpinner in Toolbar?
body: <p>I have recently updated to API 24 and now I am having a problem with the text color on my AppCompatSpinner inside the Toolbar.</p>
  
  <p>Here is what I am talking about, notice how "Pils" at the very top is black. Pre API 24 this was white. (Also, running this APP on a device which is not on API 24 the text shows up white as it should.)</p>
  
  <p><a href="https://i.stack.imgur.com/8fiUU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8fiUU.png" alt="enter image description here"></a></p>
  
  <p>Here is my build.gradle:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 24
      buildToolsVersion '24.0.0'
  
      defaultConfig {
          applicationId 'com.baviloworks.braumeister'
          minSdkVersion 17
          targetSdkVersion 24
          versionCode 100
          versionName '1.0.0'
      }
  
      buildTypes {
          release {
              minifyEnabled true
              shrinkResources true
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:24.0.0'
      compile 'com.android.support:support-v4:24.0.0'
      compile 'com.android.support:design:24.0.0'
      compile 'com.android.support:cardview-v7:24.0.0'
      compile 'com.github.PhilJay:MPAndroidChart:v2.2.3'
  }
  </code></pre>
  
  <p>Here is my style.xml:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt;
          &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
          &lt;item name="android:windowDrawsSystemBarBackgrounds"&gt;true&lt;/item&gt;
          &lt;item name="colorPrimaryDark"&gt;@color/DarkBlue&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/Green&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /&gt;
  
      &lt;style name="customTabText" parent="TextAppearance.Design.Tab"&gt;
          &lt;item name="android:textSize"&gt;13sp&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>and here is the XML if my Toolbar:</p>
  
  <pre><code>&lt;android.support.v7.widget.Toolbar
              android:id="@+id/Toolbar"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@color/Blue"
              android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
              app:popupTheme="@style/ThemeOverlay.AppCompat.Light"&gt;
  
      &lt;android.support.v7.widget.AppCompatSpinner
          android:id="@+id/Recipe_Selection_Spinner"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:visibility="gone"
          android:popupBackground="@drawable/spinner_rounded_corners"
          android:minWidth="175dp"/&gt;
  &lt;/android.support.v7.widget.Toolbar&gt;
  </code></pre>
  
  <p>It would be great if someone could point me in the right direction!</p>
  
  <p>Thanks :)</p>
  
  <p>I have now tried this:</p>
  
  <pre><code>cursorAdapter = new SimpleCursorAdapter(getActivity().getApplicationContext(), R.layout.custom_spinner, dbData, recipeNames, recipeTo, 0);
  cursorAdapter.setDropDownViewResource(R.layout.spinner_dropdown_item);
  recipeLoadSelection.setAdapter(cursorAdapter);
  </code></pre>
  
  <p>and this is the custom spinner:</p>
  
  <pre><code>&lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"        
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:textColor="#ffffff" /&gt;
  </code></pre>
  
  <p>But now the text won't show up at all</p>