How can I replace the icon arrow of spinner in Android with an image?
<p>I would like to change the default spinner icon arrow in Android with a custom image. </p>

<p>I made my custom spinner (based on this answer: <a href="https://stackoverflow.com/questions/16694786/how-to-customize-a-spinner-in-android#answer-17213328">How to customize a Spinner in Android</a>, just changing the custom values) and it works well but I am not able to change the arrow of the spinner neither on styles or programatically.</p>

<p>I saw this question: <a href="https://stackoverflow.com/questions/6762362/how-to-change-image-of-a-spinner">How to change image of a spinner</a> but as I do not have a <code>Spinner</code> tag it does not allow me to add the attribute <code>android:spinnerSelector</code>.</p>

<p>How can I replace the default arrow icon with an image?</p>

<p>Thanks in advance!</p>