I have an animation between two fragments. The second fragment will bring up a keyboard. As the keyboard will cover parts of the screen, I manually need to but a spacer view in there to adjust my view. Using android:windowSoftInputMode="adjustResize"
will result in my transition-animation to be super laggy. Using adjustNothing
on the other hand will make it smooth.
So is there any way to get the keyboard height without using adjustResize
?
EDIT:
My question is different to f.e. Is there any way in android to get the height of virtual keyboard of device as I can't add adjustResize