How to make a new line or tab in <string> XML (eclipse/android)?

Florin-Constantin Ciubotariu picture Florin-Constantin Ciubotariu · Dec 30, 2012 · Viewed 146.2k times · Source

So, in my strings.xml I have a very long text which I want to format somehow. How can I put a tab before the first sentence of the text? Also, what is the code for new line? Thanks

Answer

Boris Strandjev picture Boris Strandjev · Dec 30, 2012

Add \t for tab and \n for new line.