How to set a fixed number of rows in android gridView?

前端 未结 5 1758
余生分开走
余生分开走 2020-12-29 22:04

I am trying to create one gridView in android which have 10 rows and 10 columns.How can I set a fixed number of rows in Gridview ?

5条回答
  •  一整个雨季
    2020-12-29 23:04

    If you have 100 items then only 10 rows will be shown. There is no need to have a fixed number of rows.

提交回复
热议问题