title: Setting custom dropdown arrow in Android Spinner
body: <p>I'm trying to customize the arrow image in a spinner. Here's my code:</p>
  <pre><code>LayoutInflater inflater = LayoutInflater.from(context);
  spin = (Spinner) inflater.inflate(R.layout.spinner, null);
  adapter = new ArrayAdapter&lt;Choice&gt;(context, R.layout.nitro_spinner_item, choicesArr);
  adapter.setDropDownViewResource(R.layout.multiline_spinner_dropdown_item);
  spin.setAdapter(adapter);
  </code></pre>
  <p>and R.layout.nitro_spinner_item.xml:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;TextView android:id=&quot;@android:id/text1&quot;
        xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:drawableEnd=&quot;@drawable/ic_action_acf&quot;
        android:ellipsize=&quot;marquee&quot;
        android:singleLine=&quot;true&quot;
        android:textAlignment=&quot;inherit&quot;/&gt;
  </code></pre>
  <p>But here's what I get:
  <a href="https://i.stack.imgur.com/Uo9Pw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Uo9Pw.png" alt="enter image description here" /></a></p>
  <p>I see my custom image, along with the normal Android dropdown arrow. I used the answer here as reference: <a href="https://stackoverflow.com/a/30336734/1642002">https://stackoverflow.com/a/30336734/1642002</a> . Where does the stock dropdown image come from if I've overridden the text view?</p>