when editing a String in XML I need to add line breaks. And I wanted to ask what is the RIGHT form when programming for android? Because
\n for a line break and
\t if you want to insert a tab.
You can also use some XML tags for basic formatting:
<b> for bold text,
<i> for italics, and
<u> for underlined text.
Other formatting options are shown in this article on the Android Developers' site: