我在两个片段之间有一个动画。第二个片段将调出一个键盘。由于键盘将覆盖屏幕的某些部分,我手动需要在那里调整间隔视图以调整我的视图。使用android:windowSoftInputMode="adjustResize"
将导致我的过渡动画变得超级滞后。另一方面,使用adjustNothing
会使其顺利进行。
那么有没有办法在没有的情况下使用adjustResize
来获得键盘高度?
修改
我的问题与f.e.不同。 Is there any way in android to get the height of virtual keyboard of device因为我无法添加adjustResize