Android spinner dropdown menu background color change

To change the background color of the drop-down list, add android:colorBackground parameter to the theme in your styles.xml

Code:

<style name="AppTheme" parent="Theme.AppCompat.Light">
    <item name="android:colorBackground">#ff0000</item>
</style>

Thus, the overall style is preserved: the effect when pressed, rounded corners, etc.

Screenshot:

enter image description here enter image description here


Yep, it's possible. Use android:popupBackground on the Spinner in your XML or setPopupBackgroundResource(int) in code.