Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有根元素所在的 PopupWindow scrollview(EditText登录窗口)。显示所有组件并禁用滚动。但是当启用软键盘时,它会隐藏EditText. 显示键盘时是否可以启用滚动?
scrollview
EditText
这是可能的。检查此链接以了解如何检测屏幕上是否可见键盘。
检测到这一点后,只需将可滚动属性设置为您的布局。
希望这可以帮助。