sorry if this is a dumb question, I don't have java/android dev experience I'm more of a c/c++ or python person. Right now I have a edittext with input type multiline to allow a user to write long messages. I want to capture android's software keyboard carriage return and automatically add a bullet for formatting.
Google Keep seems to do this well. I can type as much as I want in a note and if press enter a new line with a bullet is added. I tried adding android:imeOptions
in my xml file and adding onEditorAction
in the code, but the action is not firing. If I change android:inputType="textMultiLine"
to android:inputType="text"
I can capture the enter key, but the text only goes on one line now.