If you want to apply the same application for the spinner style, then in values/styles.xml , redefine spinnerStyle your style, which comes from the appomppat type and overrides android:background :
<style name="AppTheme" parent="Theme.AppCompat.Light"> <item name="android:spinnerStyle">@style/AppSpinner</item> </style> <style name="AppSpinner" parent="Widget.AppCompat.Spinner"> <item name="android:background">@drawable/your_spinner_background</item> </style>
If you need a quick way to create a spinner background, try android-holo-colors , select Colored Spinner and specify an accent color.
source share