魔法のように、この
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout
android:id="@+id/toplayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="TopBar"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/bottomlayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Bottom Bar"/>
</RelativeLayout>
<ScrollView
android:id="@+id/scrolllayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/toplayout"
android:layout_above="@id/bottomlayout">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal">
<ImageView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/icon01"
android:id="@+id/lin1"/>
</RelativeLayout>
</ScrollView>
</RelativeLayout>
素晴らしい作品をお試しください – sn0ep