Scrollview example in Android Studio ( Scrollable Frame Layout Android Studio) Androidpro.in

 xml code

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">

    <LinearLayout
        android:id="@+id/linearLayoutHeader1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        tools:ignore="MissingConstraints">


        <ScrollView
            android:id="@+id/scrollView1"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_below="@+id/linearLayoutHeader1"
            android:layout_centerHorizontal="true">

            <LinearLayout
                android:id="@+id/LinearLayout1"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <FrameLayout
                    android:id="@+id/FrameLayout1"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="110dp"
                        android:src="@drawable/download_1"
                        android:layout_marginTop="5dp"
                        ></ImageView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="ttttttttt"
                        android:layout_marginTop="114dp"
                        android:textAlignment="center"
                        android:background="@color/teal_700"
                        android:gravity="center_horizontal"></TextView>

                </FrameLayout>
                <FrameLayout
                    android:id="@+id/FrameLayout2"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="110dp"
                        android:src="@drawable/download_1"
                        ></ImageView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="ttttttttt"
                        android:layout_marginTop="114dp"
                        android:textAlignment="center"
                        android:background="@color/teal_700"
                        android:gravity="center_horizontal"></TextView>

                </FrameLayout>
                <FrameLayout
                    android:id="@+id/FrameLayout3"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="110dp"
                        android:src="@drawable/download_1"
                        ></ImageView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="ttttttttt"
                        android:layout_marginTop="114dp"
                        android:textAlignment="center"
                        android:background="@color/teal_700"
                        android:gravity="center_horizontal"></TextView>

                </FrameLayout>
                <FrameLayout
                    android:id="@+id/FrameLayout4"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="110dp"
                        android:src="@drawable/download_1"
                        ></ImageView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="ttttttttt"
                        android:layout_marginTop="114dp"
                        android:textAlignment="center"
                        android:background="@color/teal_700"
                        android:gravity="center_horizontal"></TextView>

                </FrameLayout>
                <FrameLayout
                    android:id="@+id/FrameLayout5"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="110dp"
                        android:src="@drawable/download_1"
                        ></ImageView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="ttttttttt"
                        android:layout_marginTop="114dp"
                        android:textAlignment="center"
                        android:background="@color/teal_700"
                        android:gravity="center_horizontal"></TextView>

                </FrameLayout>
                <FrameLayout
                    android:id="@+id/FrameLayout6"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="110dp"
                        android:src="@drawable/download_1"
                        ></ImageView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="ttttttttt"
                        android:layout_marginTop="114dp"
                        android:textAlignment="center"
                        android:background="@color/teal_700"
                        android:gravity="center_horizontal"></TextView>

                </FrameLayout>
                <FrameLayout
                    android:id="@+id/FrameLayout7"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="110dp"
                        android:src="@drawable/download_1"
                        ></ImageView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="ttttttttt"
                        android:layout_marginTop="114dp"
                        android:textAlignment="center"
                        android:background="@color/teal_700"
                        android:gravity="center_horizontal"></TextView>

                </FrameLayout>
                <FrameLayout
                    android:id="@+id/FrameLayout8"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <ImageView
                        android:layout_width="match_parent"
                        android:layout_height="110dp"
                        android:src="@drawable/download_1"
                        ></ImageView>
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="ttttttttt"
                        android:layout_marginTop="114dp"
                        android:textAlignment="center"
                        android:background="@color/teal_700"
                        android:gravity="center_horizontal"></TextView>

                </FrameLayout>


            </LinearLayout>
        </ScrollView>


    </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>