Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有两个按钮 一个按钮显示一个popwindow,点击一个按钮, #23

Open
ghost opened this issue May 25, 2018 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented May 25, 2018

有两个按钮 一个按钮显示一个popwindow,点击一个按钮,显示出来一个popwindow,再点击另外一个按钮,希望关闭当前显示的popwindow,显示另外一个popwindow出来,但是我发现你的popwindow是全屏的,点击布局以外的默认是关闭当前的,有什么方法能解决吗

@zyyoona7
Copy link
Owner

@Luopan1 可以设置当前 PopupWindow 不获取焦点

    EasyPopup.create()
               // ...
                .setFocusAndOutsideEnable(true)
                .setFocusable(false)
                .setOutsideTouchable(false)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant