title: How to customize AutoCompleteTextView dropdown on Android
body: <p>I would like to know how, if it can be done, to customize the color of the dropdown from the <code>AutoCompleteTextView</code> when selected. I can customize everything else, but not the selected color ie - it stays the same.</p>
  
  <p>In the <code>Activity</code>:</p>
  
  <pre><code>ArrayAdapter&lt;String&gt; adap = new ArrayAdapter&lt;String&gt;(this, R.layout.row, strings);
  autoNewBird = (AutoCompleteTextView)findViewById(R.id.autoCompleteBirdName);
  autoNewBird.setAdapter(adap);
  </code></pre>
  
  <p>row.xml:</p>
  
  <pre><code>&lt;TextView xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/birdtext"
  android:padding="5dip"  
  android:background="@drawable/custom_spinner"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  style="@style/spinner_item" 
  android:gravity="center_vertical"
  android:layout_gravity="center_vertical" android:lines="1"/&gt;
  </code></pre>
  
  <p>and the drawable custom_spinner.xml (in drawable folder)</p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item android:state_window_focused="false" android:state_enabled="true"
  android:drawable="@drawable/listback" /&gt;
  &lt;item android:state_window_focused="false" android:state_enabled="false"
      android:drawable="@drawable/listback" /&gt;
  &lt;item android:state_pressed="true" android:drawable="@drawable/threebythree" /&gt;
  &lt;item android:state_enabled="true" android:state_focused="true"
  android:drawable="@drawable/threebythree" /&gt;              
  &lt;item android:state_enabled="true" android:drawable="@drawable/listback" /&gt;
  &lt;item android:state_focused="true" android:drawable="@drawable/listback" /&gt;
  &lt;item android:drawable="@drawable/listback" /&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>This works for a spinner dropdown, but for an <code>AutoCompleteTextView</code>, when selected, it does not change color like the spinner dropdown.</p>
  
  <p>Any help, or experience with this would be appreciated.</p>