I Have integratad a Spinner
in my application, now I want to change the dividers in the popup that opens when I click on the spinner from white to another color, I have added the following in my styles.xml
as suggested here in one of the posts:
<style name="applicationTheme" parent="@android:style/Theme.Light">
<item name="android:dropDownListViewStyle">@style/mySpinnerStyle</item>
</style>
<style name="mySpinnerStyle" parent="android:style/Widget.ListView.DropDown">
<item name="android:divider">#00ff00</item>
<item name="android:dividerHeight">5dp</item>
</style>
and appliad the applicationTheme
in the Manifest
file like so:
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/applicationTheme" >
...
But this didn't do me any good. Does some knows how can I change the dividers in the Spinner
's popup?
Thanks.