" adjustResize" Android版 [英] "adjustResize" Android
本文介绍了" adjustResize" Android版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个运行使用全屏应用程序:
<$p$p><$c$c>getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);由于这个布局,的android:windowSoftInputMode =adjustResize
不能正常工作,即其剂量不调整
有什么办法来克服这个问题?
解决方案
相反的android :windowSoftInputMode =adjustResize
你可以用试试安卓:windowSoftInputMode =adjustPan
I have an app that runs fullscreen by using:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
Because of this the layout, android:windowSoftInputMode="adjustResize"
is not working properly, i.e. it dose not resize.
Is there any way to get over the problem?
解决方案
Instead of android:windowSoftInputMode="adjustResize"
you can try with android:windowSoftInputMode="adjustPan"
这篇关于&QUOT; adjustResize&QUOT; Android版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文