I have an animation between two fragments. The second fragment will call the keyboard. Since the keyboard will cover parts of the screen, I need to manually, but for this I need to arrange the spacer to adjust my viewing. Using android:windowSoftInputMode="adjustResize" will cause my transition animation to be super-laggy. Using adjustNothing , on the other hand, will make it smooth.
So, is there a way to get keyboard height without using adjustResize ?
EDIT: My question is different from fe. Is there any way in android to get the height of the deviceโs virtual keyboard since I cannot add adjustResize
android android-layout android-activity android-manifest
Georg
source share