摘要: android view setVisibility():有三个参数:Parameters:visibility One of VISIBLE, INVISIBLE, or GONE,想对应的三个常量值:0、4、8VISIBLE:0 意思是可见的INVISIBILITY:4 意思是不可见的,但还占着原来的空间GONE:8 意思是不可见的,不占用原来的布局空间View Code 1 LinearLayout num_Layout = (LinearLayout) findViewById(R.id.num_layout);2 if(numberOfRecord > 0){3 ... 阅读全文
posted @ 2012-01-05 14:52 黑白照片 阅读(6878) 评论(0) 推荐(1) 编辑