2010.04.16————android 带输入框AlertDialog 第二次点击出现错误
2010.04.16————android 带输入框AlertDialog 第二次点击出现错误
错误描述:
ERROR/AndroidRuntime(1394): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
修改:
final View v = LayoutInflater.from(MainActivity.this).inflate(R.layout.login, null);