tags:

views:

17

answers:

1

i think you may get the idea of wat i'm trying to do if you look at the code:

here the complication is that i cannot create another textview for another line....

s8="hello"; t12=(TextView) findViewById(R.id.solid);
t12.setText("check"+"/n"+s8);

+2  A: 

The correct notation for newline is \n not /n. TextViews in Android are multi-line enabled by default, so no other magic should be required.

codelark
@codelark Thank you man that was a silly mistake.....
Prateek Raj
Silly mistakes happen to the best of us.
codelark