获取Android软键盘高度_without_" adjustResize"

时间:2015-05-26 12:03:26

标签: android android-layout android-activity android-manifest

我在两个片段之间有一个动画。第二个片段将调出一个键盘。由于键盘将覆盖屏幕的某些部分,我手动需要在那里调整间隔视图以调整我的视图。使用android:windowSoftInputMode="adjustResize"将导致我的过渡动画变得超级滞后。另一方面,使用adjustNothing会使其顺利进行。

那么有没有办法在没有的情况下使用adjustResize来获得键盘高度

修改 我的问题与f.e.不同。 Is there any way in android to get the height of virtual keyboard of device因为我无法添加adjustResize

0 个答案:

没有答案