标签: android
我想如果你看一下代码,你可能会想到我想做的事情:
这里的复杂情况是我不能为另一行创建另一个textview ....
s8="hello"; t12=(TextView) findViewById(R.id.solid); t12.setText("check"+"/n"+s8);
答案 0 :(得分:4)
换行符的正确表示法是\n而不是/n。 Android中的TextViews默认启用多行,因此不需要其他魔法。
\n
/n