开发者

How to show a PopupWindow in another PopupWindow?

开发者 https://www.devze.com 2023-03-24 09:58 出处:网络
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 :

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

精彩评论

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