How to remove the spinner border?

放肆的年华 提交于 2019-12-11 01:57:50

问题


I want to remove the black border from these spinners

Here is a screenshot

PS: If I have missed to provide some vital information, please say so and I will enter here whatever needed.


回答1:


try this:

<style name="AppTheme" parent="@android:style/Theme.Holo">
    <item name="android:dropDownListViewStyle">@style/MySpinnerStyle</item>
</style>

<style name="MySpinnerStyle" parent="android:style/Widget.ListView.DropDown">
    <item name="android:divider">#FFEEEEEE</item>
    <item name="android:dividerHeight">1dp</item>
</style>


来源:https://stackoverflow.com/questions/19068063/how-to-remove-the-spinner-border

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!