Now I use android:windowSoftInputMode="adjustResize" and approach, described here: How to check visibility of software keyboard in Android? to check if the keyboard is visible and to calculate it's size.
But now I want to change android:windowSoftInputMode to "adjustNothing".
I think that this approach will not work after this changes. Is there any other way to check the keyboard appearance/size?