且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在android中为网格视图设置一行?

更新时间:2023-08-28 20:27:52

不要使用网格视图,它不会帮助你.它旨在将项目列表显示为网格.您可以指定列数,但显示表格更像是 TableLayout 的工作.

Don't use a grid view, it won't help you. It is designed to display a list of items as a grid. You may specify the number of columns, but displaying a table is more of a job for a TableLayout.