摘要: TextView tv=new TextView(this);tv.setText("未查询到结果");tv.setGravity(Gravity.CENTER);searchResultlistView.setEmptyView(tv);LayoutParams params = new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT);addContentView(tv, params); 阅读全文
posted @ 2011-06-29 19:49 ihou 阅读(668) 评论(0) 推荐(0) 编辑