How to cenralize last uneven row in GridView in android?

后端 未结 4 1942
北海茫月
北海茫月 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:31

    I have the same problem, but I managed this using two gridviews, with first gridview displaying the rows except the last row, with the second gridview displaying the last row. This is the simplest way to achieve what I need. I have not find a better solution. Looking forward to see a nice and simple way also.

提交回复
热议问题