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.
我在远离操作栏的地方使用 SearchView,作为活动主布局中的视图。问题是建议出现在这样的小部件上方
如何在小部件下方显示它?我错过了一些配置吗?
这是 的正常行为AutoCompleteTextView,如果它下面没有可用空间。所以除非你不把它移到布局的顶部,否则你不能。建议框永远不会与键盘重叠。
AutoCompleteTextView