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被键盘挡住了怎么办 #35

Open
xn408163898 opened this issue Aug 29, 2018 · 3 comments
Open

有输入框 POPwindow被键盘挡住了怎么办 #35

xn408163898 opened this issue Aug 29, 2018 · 3 comments

Comments

@xn408163898
Copy link

No description provided.

@gutian84
Copy link

我也遇到这个问题

@wl386123298
Copy link

+1

@wl386123298
Copy link

wl386123298 commented Oct 27, 2020

我来上一个解决方案,亲测有效,代码如下
dialog = CustomPopWindow.PopupWindowBuilder(context) .size(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT) .setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED) .setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE) .setOutsideTouchable(false) .setFocusable(false) .setView(loadPopLayout(context, sourceList)) .create() .showAsDropDown(anchor, 0, 0)

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

3 participants