Android 键盘遮挡 EditText
在我的应用程序中,当我单击 EditText 视图时,虚拟键盘会遮挡视图,因此我看不到我的编辑。我怎样才能以编程方式解决这个问题?
In my application, when I click on an EditText view, the virtual keyboard obscures the view, so I can't see my edits. How can I resolve this programatically?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我推荐这篇文章,其中涵盖从 UI 分层的角度来看,IME 和底层活动如何交互的各种模式。如果不了解有关您的应用程序的更多信息,就不可能说明您是否需要调整大小或“平移和扫描”模式。
I recommend this article that covers the various modes for how the IME and the underlying activity interact from a UI layering perspective. Without knowing more about your application, it is impossible to state whether you want resizing or "pan and scan" modes.
哦,这发生在我身上,但我解决了
Oh, It happens to me, But I solve it