How to give empty space between rows of listview?

后端 未结 2 620
情歌与酒
情歌与酒 2021-01-22 10:13

In my application I have a requirement of listview with empty spaces between rows of list.So that I can give background to each row and it will look something like blocks of row

2条回答
  •  清酒与你
    2021-01-22 11:08

    You can use android:divider and android:dividerHeight to customize the spacing between rows.

    
    
      
    
    
    

提交回复
热议问题