横向模式下的 Android 搜索对话框 [英] Android search dialog in landscape mode
本文介绍了横向模式下的 Android 搜索对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 searchable.xml 来搜索电子邮件.在横向模式下,ui 背景显示为白屏,请提供解决方案.
I'm using searchable.xml to search the email. When in landscape mode, the ui background is showing as a white screen, please give me solution for the issue.
谢谢,斯内哈
推荐答案
我遇到了与 'sneha' 相同的问题,它通过设置 "flagNoExtractUi" ime 得到修复SearchView 的选项.即
I had the same problem as 'sneha' and it gets fixed by setting "flagNoExtractUi" ime option for the SearchView. i.e.
android:imeOptions="flagNoExtractUi"
这篇关于横向模式下的 Android 搜索对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文