I tried many combinations of inputType, singleLine and maxLines, but I just can't get the behavior that I want.
Basically, I want the EditText to be a single string with no new lines allowed, but also to expand vertically if the string is longer than it's initial size. (all text needs to be displayed on screen)
textMultiLine expands when the string is long, but it does not prevent the usage of the new line character. singleLine has no effect in this case and maxLines simply changes the size of the box while you can still create new lines.
Anything other than textMultiLine does not expand vertically and the text will simply scroll horizontally if it's too long to fit.