在项目中使用linearLayout.removeAllViews()没效果,原有view作为背景显示。
content_ll.removeAllViews();
content_ll.setBackgroundResource(0);
content_ll.invalidate();
清空LinearLayout 背景即可解决
在项目中使用linearLayout.removeAllViews()没效果,原有view作为背景显示。
content_ll.removeAllViews();
content_ll.setBackgroundResource(0);
content_ll.invalidate();
清空LinearLayout 背景即可解决