我有一个TextView
应该是4行长。创建一个多行TextView
First line text should be "YES"
Second Line ="No"
Third Line = "true"
Fourth line + "false"
这怎么能用一个TextView
来完成?
我有一个TextView
应该是4行长。创建一个多行TextView
First line text should be "YES"
Second Line ="No"
Third Line = "true"
Fourth line + "false"
这怎么能用一个TextView
来完成?
试试这个:以下为多的TextView
<TextView android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:lines="4"
android:text="YES\nNo\ntrue\nfalse" />
首先发布您的代码你尝试过什么 –
家伙如果我的回答是有帮助的ü那么在哪里投了 –