android 从contentView中删除view

 1. ((ViewGroup)view.getParent()).removeView(view)

 2. ViewGroup rootView = (ViewGroup) this.findViewById(android.R.id.content); rootView.removeView(...)

posted @ 2014-06-21 11:58  说好范特西  阅读(1105)  评论(0编辑  收藏  举报