This question was asked 9 years ago, but the accepted answer just explained how to prevent full screen soft keyboards.
I would like to detect whether the keyboard will take up the entire screen, because in my app it is important that at least part of the underlying screen is visible (for context).
I know how to detect whether the screen is in landscape orientation or not, but on tablets for example, this does not result in the keyboard covering the whole screen.
Perhaps there is a reasonable way to predict this based on the screen dimensions?