How to show a PopupWindow in another PopupWindow?
I need to show a PopupWindow B in another PopupWindo开发者_StackOverflow中文版w A and B's anchor is one of widgets in A.I got the exception below :
AndroidRuntime(888):
android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRoot$W@44ef1b68 is not valid; is your activity running?
Can help me? thanks.
I met this issue also, can only try a alternative way to display a transparent dialog activity instead of parent popupwindow.
精彩评论