سلام.
در فایل xml متناظر با Activity ، باید لایه اصلی را به صورت LinearLayout در نظر بگیرید و بعد در آن، عنصرهای که می خواهید به صورت ثابت باشند را قرار داده و سپس یک LinearLayout قرار می دهید که حاوی تگ ScrollView می باشد. من کد زیر را برایتان ذکر می کنم که آن را از یک برنامه که خودم به همین شکل ساختم (یعنی بالای Activity به صورت ثابت و بخش پایین آن، به صورت ScrollView می باشد)، استخراج کردم (کمی کد رو خلاصه کردم و عنصرهای متحرک را باید درون زوج تگ LinearLayout درون ScrollView قرار بدهید (درون زوج تگ ScrollView ، یک زوج تگ LinearLayout قرار داده ایم)، اگر کد مشکلی داشت، بفرمایید تا کد کاملتر را قرار بدهم) :
کد پیاچپی:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:textColor="#FFF"
android:text="Button" />
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:textColor="#FFF"
android:text="Button" />
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:textColor="#FFF"
android:text="Button" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ScrollView
android:id="@+id/layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginTop="5dip"
android:fillViewport="true"
android:scrollbarStyle="outsideInset"
android:scrollbars="horizontal|vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="500dp"
android:src="@drawable/ic_launcher" />
<ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="500dp"
android:src="@drawable/ic_launcher" />
</LinearLayout>
</ScrollView>
</LinearLayout>
</LinearLayout>