mardi 26 mai 2015

Get Android softkeyboard height _without_ "adjustResize"

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?

Aucun commentaire:

Enregistrer un commentaire