我正在研究android中的項目。我想用/n
創建一個新段落。但是我沒有按預期得到結果。是否有其他方法可以創建新行?如何在Android中創建新行?
我的代碼如下
tv.setText("Some of the symptoms of cataract include:/n1.Cloudy, blurry or foggy vision/n2. Development of short-sightedness in older people/n3. Seeing colors differently./n3. Problems with glare during the day or night/n4. Double vision/n5. Sudden changes in prescription of glasses");
它應該是'\ N' – guptakvgaurav
感謝ü親愛的! ! – NeoMatrix