Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect that the soft keyboard input method will cover entire screen?

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:

enter image description here

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?

like image 498
Randy Sugianto 'Yuku' Avatar asked Dec 03 '25 17:12

Randy Sugianto 'Yuku'


1 Answers

Not sure if it will work for you, but maybe you can disable fullscreen soft input instead of figuring out the detection part.

like image 178
Joe Avatar answered Dec 06 '25 06:12

Joe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!