My online tech scrapbook where I keep my notes in case I need to look them up later
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.
No comments:
Post a Comment