Android Question Command to drop the popup keyboard?

nypaulie

Active Member
Licensed User
Longtime User
Is there a command or code snippet to drop the keyboard once you've entered your text into a field? Is using the tablet's backup key the only way to do this?
 

Troberg

Well-Known Member
Licensed User
Longtime User
A related issue: Is there any way to stop the keyboard from appearing when displaying a file dialog?

I want the user to browse for a dir, but half the screen is used by the keyboard which is not even needed.
 
Upvote 0

nypaulie

Active Member
Licensed User
Longtime User
If you're using the IME library I think it is:
B4X:
IME.HideKeyboard

I was able to get this afloat. I added this line to the "Sub Globals":
Private IME1 As IME : IME1.Initialize ("IME1")
Then I added a button labelled "- Hide The KeyBoard"
Which just had this line:
IME1.HideKeyboard

Here's a screenshot of the new baby and thanks for your help.
 

Attachments

  • Screenshot_2015-01-31-17-21-27.png
    Screenshot_2015-01-31-17-21-27.png
    178 KB · Views: 208
Last edited:
Upvote 0
Top