When I have a TextView with long text, I usually have to leave it on one line, which is subsequently very difficult to edit. If I use any formatting, for example, in this image

Then I get an error message.

I would like to know how to format such long text into multi-line text without errors?
EDIT
I was not accurate in my Q. It seems that this can be resolved in Eclipse. The problem is IntelliJ IDEA and its formatting command Ctrl + Alt + L, which is not passed by the compiler in the strings.xml file. Snapshots from this IDE.
source share