[英]Check visibility and height of the keyboard in android with android:windowSoftInputMode=“adjustNothing”
Now I use android:windowSoftInputMode="adjustResize" and approach, described here: How to check visibility of software keyboard in Android? 现在我使用android:windowSoftInputMode =“adjustResize”和方法,这里描述: 如何检查Android中软件键盘的可见性? to check if the keyboard is visible and to calculate it's size.
检查键盘是否可见并计算其大小。
But now I want to change android:windowSoftInputMode to "adjustNothing". 但现在我想将android:windowSoftInputMode改为“adjustNothing”。
I think that this approach will not work after this changes. 我认为这种方法在这种变化后不起作用。 Is there any other way to check the keyboard appearance/size?
有没有其他方法来检查键盘外观/大小?
可以帮助实现此方法的方法:View.fitSystemWindows()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.