Keyboard hide event with BACK key

后端 未结 5 958
野的像风
野的像风 2020-12-30 13:19

I\'ve noticed in the Android Market Application, when you click over the search button, it shows the keyboard, but when you click the back button,

5条回答
  •  无人及你
    2020-12-30 13:45

    You need to implement this to capture the BACK button before it is dispatched to the IME:

    http://developer.android.com/reference/android/view/View.html#onKeyPreIme(int, android.view.KeyEvent)

提交回复
热议问题