Android: Cannot style spinner divider

前端 未结 4 1777
傲寒
傲寒 2020-12-05 20:01

I\'m trying to create a theme for my first Android app, and it is driving me round the bend. I finally managed to figure out how to style items in a dropdown list, but now I

4条回答
  •  时光说笑
    2020-12-05 20:21

    You could add a horizontal line to the dropdown layout you use, which would effectively create a divider.

    EDIT

    Some further searching found this:

    SO Answer

    Which basically says what you show you are trying to do above should work... although it mentions setting that style in your activity theme and you don't mention doing that.

提交回复
热议问题