How to assign padding to Listview item divider line

后端 未结 6 1882
眼角桃花
眼角桃花 2020-12-07 10:31

\"enter

How can i give padding to list item as i show in image. I want to make the div

6条回答
  •  感动是毒
    2020-12-07 11:13

    As @Giulio Piancastelli mentioned under @ASP answer, the fails when the background colour of the list container is not the same as the rows inside the list. One solution is to use like below:

    //This item is to overlay the container colour with the row background colour
    
        
            
        
    
    
    //This item is the divider, put it at bottom so it will overlay the background colour
    
        
            
    

提交回复
热议问题