【发布时间】:2016-07-20 15:07:13
【问题描述】:
是否可以使用手势滚动实际位于ImageView 下方的ScrollView?
布局示例:
<?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>
如果有,该怎么做?
【问题讨论】:
标签: android scrollview ontouchlistener