title: Android Spinner Text Background Colour and Theme
body: <p>I have a problem that has manifested itself since I tried to add themes to my application. At the moment I am just using themes to change the background colour of the screen. The problem is that as well as the background of the screen changing to the theme colour, the background of the text in the spinner control also changes to that colour. When the drop down is displayed the spinner control is replaced by the block background colour.</p>
  
  <p>The themes are defined as follows:</p>
  
  <pre><code>&lt;style name="Theme" parent="android:style/Theme"&gt;
  &lt;/style&gt;
  
  &lt;style name="Theme.Pink"&gt;
         &lt;item name="android:background"&gt;#ffc0cb&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="Theme.Yellow"&gt;
         &lt;item name="android:background"&gt;#FFE97E&lt;/item&gt;
  &lt;/style&gt; 
  </code></pre>
  
  <p>Themes are set in the Activity OnCreate with:</p>
  
  <pre><code>setTheme(R.style.Theme.Yellow);
  </code></pre>
  
  <p>The Spinner is set up with:</p>
  
  <pre><code>    bowAdapter = new SimpleCursorAdapter(this, R.layout.spinner_style, bowCursor, 
                   new String[] { DBAdapter.KEY_BOW_NAME }, 
                   new int[] { android.R.id.text1 });
      bowAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
      bowSelectSpinner.setAdapter(bowAdapter);
  </code></pre>
  
  <p>spinner_style.xml contains</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;TextView xmlns:android= "http://schemas.android.com/apk/res/android"
                  android:id="@android:id/text1"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:textSize="@dimen/but_txt_size"
          android:textColor="@android:color/white"
          android:gravity="center" 
          android:ellipsize="marquee" /&gt;
  </code></pre>
  
  <p>How can I stop the spinner picking up the background colour specified in the theme?</p>
  
  <p>I have been chasung this for 2 days now so any hints gratefully rec</p>