有人可以解释一下吗?为什么第三个TextView看起来很奇怪?
前两行定义相同,我没有通过Java更改样式...
编辑:我已经添加了XML布局文件。
XML:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rl"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="top" >
<TextView
android:id="@+id/quadEqu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="25dp"
android:text="@string/quadequ"
android:textSize="27sp" />
<Button
android:id="@+id/closeBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="30dp"
android:text="@string/close"
android:onClick="close" />
<TextView
android:id="@+id/stepOne"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/quadEqu"
android:layout_centerHorizontal="true"
android:layout_marginTop="25dp"
android:text="@string/quadEquForm"
android:textSize="18sp" />
<TextView
android:id="@+id/stepTwo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/stepOne"
android:layout_below="@+id/stepOne"
android:text="@string/quadEquForm"
android:textSize="18sp" />
<TextView
android:id="@+id/stepThree"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/stepOne"
android:layout_below="@+id/stepTwo"
android:text="@string/quadEquForm"
android:textSize="18sp" />
</RelativeLayout>