Android控件之GridView
文章平均质量分 55
诗不姓
这个作者很懒,什么都没留下…
展开
-
gridview分割线
Unfortunately, after looking at the source code, I could not see any easy way to add borders other than taking the approach of adding borders to the each cell. As a reference, I will post my solution原创 2014-10-14 16:09:14 · 466 阅读 · 0 评论 -
Gridview动态设置子项的宽高
1---宽度比较好办,可以通过int width = (int) this.getWindowManager().getDefaultDisplay().getWidth()/5;得到。然后gridview.setColumnWidth(Width);2---原创 2014-10-15 10:42:53 · 997 阅读 · 0 评论 -
gridview动态设置子项宽高
1---宽度比较好办,可以通过int width = (int) this.getWindowManager().getDefaultDisplay().getWidth()/5;得到。然后gridview.setColumnWidth(Width);2---高度这个可用,有效public class MyAdapter extends BaseAdapt原创 2014-10-15 10:48:19 · 4884 阅读 · 1 评论 -
android GridView设置边框教程!
test.xml 布局文件,这个布局为GridView的每个项的布局。 ?123456789101112131415<!--?xml version=1.0encoding=utf-8?--><rel转载 2014-10-16 14:05:10 · 2508 阅读 · 0 评论