Можно ли прокручивать ScrollView
, что на самом деле лежит под ImageView
с помощью жестов?
пример компоновки:Scroll ScrollView под ImageView
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<ScrollView
android:id="@+id/sv_scroll"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/ll_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!--..some content..-->
</LinearLayout>
</ScrollView>
<ImageView
android:id="@+id/iv_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/image"
/>
</FrameLayout>
Если да, то как это сделать?