Тот же вопрос был задан здесь но я не могу найти там правильное решение ?. Любой здесь, кто может вытащить меня из этой проблемы. Я хочу добиться прокрутки контента под панелью инструментов. Я добавил изображение на заднем плане верхнего макета, но когда я прокручиваю содержимое, на нем появляется белый цвет. введите описание изображения здесь
<FrameLayout
android:visibility="visible"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_marginTop="-2dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="20dp"
android:orientation="horizontal"
android:background="@drawable/def"
android:weightSum="4">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginRight="5dp"
android:background="@drawable/searchbar_design"
android:layout_weight="3.9"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_gravity="center_vertical"
android:layout_marginLeft="10dp"
android:src="@drawable/search1" />
<EditText
android:id="@+id/et_search"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/searchbar_design"
android:hint="Search"
android:maxLines="1"
android:textColorHint="@color/appColor"
android:padding="10dp"
android:textSize="12dp"/>
</LinearLayout>
<de.hdodenhof.circleimageview.CircleImageView
android:layout_width="40dp"
android:background="?selectableItemBackgroundBorderless"
android:clickable="true"
android:layout_height="40dp"
android:layout_marginTop="20dp"
android:id="@+id/ic_crown"
android:layout_weight="0.1"
android:src="@drawable/crown" />
</LinearLayout>
<LinearLayout
android:layout_marginTop="135sp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:scrollbars="none"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="80sp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:orientation="vertical"
android:background="@color/white"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:gravity="center"
android:layout_height="wrap_content">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/iv_profile_picture"
android:layout_width="100dp"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:clickable="true"
android:layout_height="100dp"
android:src="@drawable/anglena"
/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:orientation="horizontal"
android:gravity="center"
android:layout_height="wrap_content">
<RelativeLayout
android:gravity="center"
android:layout_marginLeft="40dp"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tv_nameprofile"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:textSize="20dp"
android:text="Angilena Steven"/>
<ImageView
android:id="@+id/btn_edit_profile"
android:layout_width="30dp"
android:background="?selectableItemBackgroundBorderless"
android:clickable="true"
android:layout_toRightOf="@id/tv_nameprofile"
android:layout_height="25dp"
android:layout_marginLeft="10dp"
android:src="@drawable/profile_edit" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout></FrameLayout>