If you type "Enter" while typing in EditText, I want to process it like an onSubmit event in HTML. Well, I'm trying to make it work like a move or an on-Submit when I click on the "Done" button on the virtual keyboard, what should I do?
android android-edittext android-textview
mEditText.setImeActionLabel("Custom text", KeyEvent.KEYCODE_ENTER);
You can do it like this on EditText.
© 2024 OneMinuteCode. All rights reserved.