会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wonkju
自己选择的路,走不完就滚蛋
博客园
首页
新随笔
管理
2015年2月13日
Android-The specified child already has a parent. You must call removeView() on the child's parent first.
摘要: 这个问题搞了我半天了,网上有很多人说需要找到该控件的parent后,让该parent 先remove需要添加的控件,然后在添加,如:if (view != null) { ViewGroup parent = (ViewGroup) view.getParent(); if (par...
阅读全文
posted @ 2015-02-13 01:52 wonkju
阅读(1954)
评论(0)
推荐(0)
编辑