android去除Spinner的分割线

<style name="TestSpinnerStyle" parent="android:style/Widget.ListView.DropDown">

    <item name="android:divider">#ff0000</item>

    <item name="android:dividerHeight">5dp</item>

</style>





<style name="SampleTheme" parent="@android:style/Theme.Holo.Light">

    <item name="android:dropDownListViewStyle">@style/TestSpinnerStyle</item>

</style>

 

你可能感兴趣的:(android)