To change the color of the shadow and divider in Spinner to API10, for API14 I change this:
<style name="SpinnerDefaultTheme" parent="android:style/Widget.ListView.DropDown"> <item name="android:textColor">#F8F7F6</item> <item name="android:cacheColorHint">#414141</item> <item name="android:divider">#2B2B2B</item> <item name="android:dividerHeight">1dp</item> </style> Tried to do so, but does not work
<style name="SpinnerItemDefaultTheme" parent="android:style/Widget.TextView.SpinnerItem"> <item name="android:textColor">#F8F7F6</item> <item name="android:cacheColorHint">#414141</item> <item name="android:divider">#2B2B2B</item> <item name="android:dividerHeight">1dp</item> </style> This is the theme constructor itself:
<style name="DefaultTheme" parent=" @style /_DefaultTheme"/> <style name="_DefaultTheme" parent="android:Theme.Holo.Light"> <item name="android:spinnerItemStyle"> @style /SpinnerItemDefaultTheme</item> <item name="android:dropDownListViewStyle"> @style /SpinnerDefaultTheme</item> </style> The color of the shadow that is above and below the list is white and not # 414141, and the divider is also white, how to fix it?