我想写一个段落作为我的移动应用程序的一部分。我该怎么办?
最佳答案
使用\n换行。
例子:
TextView t = findViewById(R.id.text);
t.setText("This is the first line\nThis is the second line\nThird line...");
关于android - 在Android上使用TextView编写段落,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5040574/