I'm creating an app where users can click on a tab and soft keyboard will be shown programmatically. However, I don't want to display the soft keyboard if it's going to cover the whole screen (like extracted EditText) like this:
Detecting screen orientation might help, but AFAIK on tablets, the soft keyboard won't cover the whole screen even on landscape. So is there any other way?