滚动下拉菜单在键盘中autocompletetextview [英] Scrolling drop-down-menu over the keyboard in autocompletetextview
问题描述
我有一个Autocompletetextview滴落的建议名单,直至软键盘的边框。
I have an Autocompletetextview dropping down the suggestions list, up to the border of the soft-keyboard.
然后,滚动时在建议列表: - (在一个姜饼电话)的下拉菜单自动增加高度覆盖键盘,这是很好的,因为它显示多个项目。 - (在一个ICS仿真器)的下拉菜单不增加高度在键盘
Then, when scrolling over the suggestions list: - (in a gingerbread phone) the drop-down-menu automatically increases height covering the keyboard, which is nice since it shows more items. - (in an ICS emulator) the drop-down-menu does not increase height over the keyboard.
时此相关的一些系统属性? 有没有办法强制先行为也ICS?
Is this related to some system property? Is there a way to force the first behavior also in ICS?
推荐答案
只需添加机器人:dropDownHeight =100dp的AutoCompleteTextView标签在布局文件,它会工作
Just add android:dropDownHeight="100dp" to the AutoCompleteTextView tag in your layout file, It will work.
这篇关于滚动下拉菜单在键盘中autocompletetextview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!