摘要: 在ListView中有个addFooterView的用法?大家有谁知道怎么用啊?有代码的帖上来让我参考下。解答:1 LinearLayout footView = (LinearLayout) LayoutInflater.from(this)2 .inflate(R.layout.list_footer, null); 3 mList.addFooterView(footView); //<-这句一定要放在setAdapter之前 4 mList.setAdapter(adapter); 阅读全文
posted @ 2012-10-11 16:53 ansionchen 阅读(310) 评论(0) 推荐(0)
摘要: android view setVisibility():有三个参数:Parameters:visibility One of VISIBLE,INVISIBLE, or GONE,想对应的三个常量值:0、4、8VISIBLE:0 意思是可见的INVISIBILITY:4 意思是不可见的,但还占着原来的空间GONE:8 意思是不可见的,不占用原来的布局空间 阅读全文
posted @ 2012-10-11 16:48 ansionchen 阅读(161) 评论(0) 推荐(0)