Tuesday, 10 September 2013

Set text of a TextView for differant lines android

Set text of a TextView for differant lines android

I have a string with several spaces and i want to show that text in a
textview in differant lines base on spaces of that string.How can I do
that ?
TextView text=(TextView)findViewById(R.id.text);
text.setText("test1/ntest2/ntest3/ntest4/ntest5/ntest5");
No matter else if you can show me break line with
</ br> or </br>.

No comments:

Post a Comment