
我可以使用xml定义列号,但第0个索引处的项目必须有一个完整的图像,然后其余部分应分成列.
任何帮助表示赞赏.
解决方法 你应该使用TableLayout.GrIDVIEw不支持跨越 *** 作. A layout that arranges its children into rows and columns. A
tableLayout consists of a number of tableRow objects,each defining a
row (actually,you can have other children,which will be explained
below). tableLayout containers do not display border lines for their
rows,columns,or cells. Each row has zero or more cells; each cell
can hold one VIEw object. The table has as many columns as the row
with the most cells. A table can leave cells empty. Cells can span
columns,as they can in HTML.
你可以看到一个例子here.
总结以上是内存溢出为你收集整理的GridView android中每行的不同列号全部内容,希望文章能够帮你解决GridView android中每行的不同列号所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)