OnEditorActionListener not working

前端 未结 6 1354
心在旅途
心在旅途 2021-01-01 22:51

I simply want to catch the event when the user press enter on an editText.

I did not get the Toast message, not the \"Enter pressed\" and not the \"Some key pressed!

6条回答
  •  醉酒成梦
    2021-01-01 23:50

    use android:imeOptions="actionGo" in xml. actionDone no longer responds to onEditorAction.

提交回复
热议问题