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

don't pop up view when soft keyboard is shown #1946

merged 2 commits into from Nov 27, 2019


Copy link

minggo commented Nov 23, 2019

Activity 使用 RelativeLayout 时,键盘弹出时会上推,所以改成 FrameLayout,这个和 -x 是一样的。键盘弹出时,通过调整 EditText 对应的 Layout 的 topMargin 来修改输入框的位置。同时删除了一些多余的 import。

@minggo minggo requested a review from umbrellaPP Nov 23, 2019
@holycanvas holycanvas merged commit 130e146 into cocos-creator:v2.2.1-release Nov 27, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
@minggo minggo mentioned this pull request Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.