![1.jpg 1.jpg](http://www.eoeandroid.com/data/attachment/forum/201203/17/1849288sgzspsp1qes7174.jpg)
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <ScrollView
- android:id="@+id/scrollView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true" >
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="作者-敬水仙:新华社记者在叙空军情报局分局看到~~~" />
- </ScrollView>
-
- <Button
- android:id="@+id/button1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:text="Button" />
-
- </RelativeLayout>
效果二
![2.jpg 2.jpg](http://www.eoeandroid.com/data/attachment/forum/201203/17/185225bdk0dkceac4a0dnz.jpg)
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <Button
- android:id="@+id/button1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:text="Button" />
-
- <ScrollView
- android:id="@+id/scrollView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_above="@id/button1" >
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="作者-敬水仙:新华社记者在叙空军情报局分局看到~~~~~~~" />
- </ScrollView>
-
-
-
- </RelativeLayout>