How to add a line break in an Android TextView?

\n works for me, like this:

<TextView android:text="First line\nNext line"

ok figured it out:

<string name="sample_string"><![CDATA[some test line 1 <br />some test line 2]]></string>

so wrap in CDATA is necessary and breaks added inside as html tags