How to add (vertical) divider to a horizontal LinearLayout?

后端 未结 11 697
有刺的猬
有刺的猬 2020-11-27 11:36

I\'m trying to add a divider to a horizontal linear layout but am getting nowhere. The divider just doesn\'t show. I am a total newbie with Android.

This is my layou

11条回答
  •  伪装坚强ぢ
    2020-11-27 11:49

    You have to create the any view for separater like textview or imageview then set the background for that if you have image else use the color as the background.

    Hope this helps you.

提交回复
热议问题