Initiate PopupMenu inside from another PopupWindow

前端 未结 2 887
北荒
北荒 2020-12-22 12:21

Hi guys I need to initiate PopupMenu from a button that is inside another popupWindow, the problem is that when i\'m placing this button inside activity\'s root view it work

2条回答
  •  忘掉有多难
    2020-12-22 13:04

    You can't anchor a PopupMenu to a view in a PopupWindow. You will need to anchor it to a View in a top-level window.

提交回复
热议问题