String display=b[0]+"<font color=\"red\">"+"n"+"</font>"+b[1]; TextView tv=new TextView(this); tv.setText(Html.fromHtml(display));