Android setText skip a line <br> /n \n -
hello :) im trying create game type:
current score: x
in : y seconds (between them, skip line.) here code tried use:
changingtextview.settext("current score:"+counter+ \n- +"in"+timecounter+"seconds"); the \n or /n not working me.. tried :
changingtextview.settext("current score:"+counter+ <br> +"in"+timecounter+"seconds"); it not working too..
try this:
changingtextview.settext("current score:"+counter+ system.getproperty("line.separator") +"in"+timecounter+"seconds"); android
No comments:
Post a Comment