当点击控件弹出popupwindow后,popupwindow没有消失再多次点击弹出popupwindow的控件会出现bug:
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
可行方案是:在弹出popupwindow后设置弹出popupwindow的控件不可点击,在popupwindow消失的地方再恢复弹出popupwindow的控件的可点击设置