Android Question Stop Soft Keyboard from showing


Well-Known Member
Licensed User
Longtime User
I am using IME exclusively. On occasion, someone swipes over an edittext and it causes the built-in keyboard to show.
Of course, I'm expecting IME control and wish to dismiss the built-in android keyboard if/when it appears.
Is there a way to detect the appearance of the built-in android keyboard and subsequently hide it?

Andrew (Digitwell)

Well-Known Member
Licensed User
Erel takes about this in relation to b4xpages here:

You need to look for the heightchanged event.

which shows how to hide a keyboard using IME.

If you are using B4i, it is a bit simpler.

Last edited:
Upvote 0