It is not possible to add a new line "/ n" in the XML resource string. Is there another way to do this?
Thanks
Do not use a blackslash forward slash. "\ N"
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Resources & gt; & Lt; String name = "title" & gt; Hello world! & Lt; / String & gt; & Lt; / Resources & gt; In addition, if you plan to use the string as HTML, then you will see a & amp; Lt; Br / & amp; Gt; to use> & lt; Br / & gt; ) & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Resources & gt; & Lt; String name = "title" & gt; Hello & amp; Lt; Br / & amp; Gt; world! & Lt; / String & gt; & Lt; / Resources & gt;
Comments
Post a Comment