GrIDVIEw中的所有列都具有相同的大小.
在2009年5月23日星期六晚上9点25分,solID写道:
解决方法@H_403_20@ 似乎你可能更好地使用 TableLayout 总结I am having trouble controlling the size of the columns in my
GrIDVIEw. The first column is only 3-4 chars and the other 4 columns
are 5-8 chars. For some reason,all the columns are the same wIDth,
leaving a huge amount of spacing after the first column and wrapPing
the text insIDe the others. Is there a way,I can set the wIDth of
indivIDual columns in the grID vIEw? In an IDeal world,grIDvIEw
would work like an HTML table,where the smaller columns are shrunk to
fit the data and larger columns expand as necessary. Any IDeas would
be helpful.
以上是内存溢出为你收集整理的如何在android中设置gridview的列宽?全部内容,希望文章能够帮你解决如何在android中设置gridview的列宽?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)