Android imeOptions=“actionDone” not working

前端 未结 8 2045
无人及你
无人及你 2020-12-16 09:14

I am trying to get a login screen for an Android app and so far this is my code:



        
相关标签:
8条回答
  • 2020-12-16 09:56

    You should set OnEditorActionListener for the EditText to implement the action you want to perform when user clicks the "Done" in keyboard.

    0 讨论(0)
  • 2020-12-16 09:57

    Use android:inputType="Yours" then

    android:lines="1"
    android:imeOptions="actionDone"
    
    0 讨论(0)
提交回复
热议问题