开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜