Change spinner background color but keep arrow

前端 未结 11 1349
予麋鹿
予麋鹿 2020-12-13 01:41

I\'ve read several thing about it but I can\'t find what I need. I want to keep the grey arrow but I want to remove the horizontal bar from the default style and have a whit

11条回答
  •  一生所求
    2020-12-13 02:02

           android:layout_alignParentRight="true"
            android:layout_width="@dimen/spinner_width"
            android:layout_height="wrap_content"
            android:id="@+id/spnLocation"
            android:entries="@array/labelFamily"
            android:layout_centerVertical="true"
    
            android:backgroundTint="@color/color_gray"
    

    this work for me

提交回复
热议问题