Android GridView draw dividers

后端 未结 2 953
灰色年华
灰色年华 2020-11-29 00:18

I\'d like to know the simplest way to draw dividers between items (currently textviews) within a GridView. The only way I can think of is to draw borders around those textvi

2条回答
  •  囚心锁ツ
    2020-11-29 00:25

    In case you want just simple lines as borders, much, much simpler is setting a background color for a GridView and proper padding & spacing:

    
    

提交回复
热议问题