ListView添加FooterView再remove掉,会留下空白位置

来源:互联网 发布:手机淘宝怎样改评价 编辑:程序博客网 时间:2024/04/30 13:52
ListView listView = new ListView(this);View footerView = new View(this);//添加footerViewLinearLayout footerParent = new LinearLayout(this);footerParent.addView(footerView);listView.addFooterView(footerParent);//移除footerViewfooterView.setVisibility(View.GONE);
0 0
原创粉丝点击