Skip navigation
Currently Being Moderated

how can I close the soft keyboard by touching somewhere else in the screen?

May 22, 2013 9:39 AM

Is there a practical way of having the soft keyboard to close after I touch anywhere in the screen, I don't want to just use the 'down' arrow on the keyboard and the 'enter' key, users are most used to having the keyboard disappear when they touch some other place in the screen. The only thing that occurs to me is converting the screen in an invisible button that activates when the keyboard is activated, and then have an event handler for that button to close the keyboard, but this seems a lot of code to me, is there a simpler way of doing this?


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points