我想在多行 EditText 中显示一个字符串。目前,字符串显示为....
Receive: 0 coin(s) Total
Cost: $100
我希望它显示为...
Receive: 0 coin(s)
Total Cost: $10
这是我的代码,我尝试使用“\n”,但无济于事......
result.setText("Receive:"+ " "+ df.format(rawounces)+"coin(s)" + "\n"
+ "Total Cost:$" + df.format(transactionandpremium*rawounces));
先感谢您。