Keyboard covers the last item of an AutoCompleteTextView

六眼飞鱼酱① 提交于 2019-12-11 01:26:22

问题


I am developing an app for Android, which is supposed to behave like a lightweight modal box that presents a drop-down to search and choose stuff from. I decided to use the AutoCompleteTexView for that. My question is, why does the keyboard happen to cover part of the items? I though that AutoCompleteTextView will automatically move up to give space to the keyboard. It doesn't. In fact, it hangs at about the middle of the screen.

The layout that is holding the ACTV is a simple LinearLayout with vertical orientation.

来源:https://stackoverflow.com/questions/21994051/keyboard-covers-the-last-item-of-an-autocompletetextview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!