I am trying to get a login screen for an Android app and so far this is my code:
You should set OnEditorActionListener for the EditText to implement the action you want to perform when user clicks the "Done" in keyboard.
Use android:inputType="Yours" then
android:inputType="Yours"
android:lines="1" android:imeOptions="actionDone"