title: How to detect that the soft keyboard input method will cover entire screen?
body: <p>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:</p>
  
  <p><img src="https://i.stack.imgur.com/eGD9r.png" alt="enter image description here"></p>
  
  <p>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?</p>