Friday, February 13, 2015

Android Intercepting Back Button When Keyboard Open

In Android, when the keyboard is open, the back button closes the keyboard and then the key event is swallowed. To capture this key event, override the "onKeyPreIme" method in the EditText class.

Reference:

No comments:

Post a Comment