When I have a TextView with a long text, I usually have to leave it in one line which is later very hard to edit. If I use any kind of formatting, like on this image

Then I get an error.

I would like to know how to format such long text into multi-line text without producing errors?
EDIT
I was not precise in my Q. It seems that this can be solved in Eclipse. The problem is IntelliJ IDEA and its formatting command Ctrl+Alt+L which does not pass by compiler in the file strings.xml. The snapshots are from that IDE.
The issue with the code formatter breaking XML text is known and will be fixed in an upcoming version if IJ. At least in the case shown here: http://youtrack.jetbrains.net/issue/IDEA-69506?projectKey=IDEA