Android - How to show a vertical line on the background of a ListView (and according to row height)?

后端 未结 4 715
伪装坚强ぢ
伪装坚强ぢ 2021-02-01 09:18

How to show a vertical line on the background, such as the one highlighted in blue on the image below?

\"enter

4条回答
  •  梦如初夏
    2021-02-01 10:18

    You can replace your ImageView with something like this:

    
    
        
    
        
    
    

    and of course in your first and last element you need to manipulate the height of the View and align it to Top or Bottom

提交回复
热议问题