0

I have some texts in my string.xml file. When I set them in textview, new lines are not shown. So I copied the string.xml file from my project and pasted in my devices external storage and used a test app to read it as a text file. Surprisingly I could see the new lines present in the string I read from the file. So I don't know what the problem is!

Here there is no new line in the main app

Here there is no new line in the main app

Here the new line character is present in the string

[Here the new line character is present in the string

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.