How to cenralize last uneven row in GridView in android?

后端 未结 4 1958
北海茫月
北海茫月 2020-12-11 03:03

I have a GridView , which displays pictures of alphabets what happens is , every time in the last row there are less no of alphabets. and the last row is left a

4条回答
  •  孤城傲影
    2020-12-11 03:47

    you could try using invisible elements, it not the most efficient solution but is simple, you can put two elements, one at the start, one at the end of the row and make them invisible

提交回复
热议问题