Android: which event fires when on screen keyboard appears?

后端 未结 2 707
傲寒
傲寒 2020-12-18 04:25

I\'d like to hook to an event that fires when android\'s on screen keyboard appears. For example when user taps EditText to bring up the keyboard. Anyone know which event (o

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-18 04:40

    There won't be a way to determine when the keyboard comes up, but if you want to check when the user taps on an edittext you can register a click listener or an onfocuschangedlistener to that view.

提交回复
热议问题