Answer the question
In order to leave comments, you need to log in
How to change the color of the shadow and "divider" of the Spinner in Android?
How to change color of shadow and divider in Spinner on API10? For API14 I change like 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>
<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>
<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>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question