0

My goal is to lock the keyboard in order to prevent any kind of texting. How can I detect the android keyboard launch and react.

noamcohen97
  • 453
  • 3
  • 13
  • possible duplicate of [Android: Detect softkeyboard open](http://stackoverflow.com/questions/3081276/android-detect-softkeyboard-open) – KyleCrowley Jul 15 '14 at 16:05

1 Answers1

0

There is no perfect way to detect android keyboard action (hide or show), i am do a hake on root view that override onSizeChange method. then you can compute view size and detect keyboard show or hide.