You are currently viewing Problem with TextEdit in kotlin

Problem with TextEdit in kotlin

I have a TextEdit Two of it’s attributes are: android:inputType=”text” android:imeOptions=”actionDone” When the enter key is toggled subsequent actions work fine providing that the entered text is a single line. What I would like is for the enter key to trigger subsequent actions when there is multiple line text in the field. When I change the attribute to-> android:inputType=”textMultiLine” the enter key no longer triggers subsequent functions it just goes to the next line. How do I get the enter key to trigger actions when more than a single line of text is imputed to the EditText field.

submitted by /u/898797
[link] [comments]