Ich habe versucht, android.gesture.GestureOverlayView in ScrollView zu implementieren. In meinem activity.xmlBlock Scroll in ScrollView beim Berühren von android.gesture.GestureOverlayView
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/scrollViewreceipt"
>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<include
android:id="@+id/include1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
layout="@layout/toolbar" />
<Spinner
android:id="@+id/custom_spinner"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:theme="@android:style/Theme.Holo.Light.DarkActionBar"/>
<ListView
android:id="@+id/customList"
android:layout_width="match_parent"
android:layout_height="300dp"
android:layout_marginTop="15dp" />
<android.gesture.GestureOverlayView
android:id="@+id/signaturePad"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_weight="5"
android:background="#d3d3d3"
android:eventsInterceptionEnabled="true"
android:fadeEnabled="false"
android:gestureColor="#333"
android:gestureStrokeLengthThreshold="0.1"
android:gestureStrokeType="multiple"
android:fadeOffset="5000"
android:orientation="vertical" >
</android.gesture.GestureOverlayView>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="testImage"
android:text="test"/>
</LinearLayout>
Aber wenn ich versuche, auf meine android.gesture.GestureOverlayView die Ansicht zu ziehen und es ist so inusable, und ich frage dann, wenn er, wie kann ich blockieren ein Scrollen Sie, wenn Sie auf android.gesture.GestureOverlayView tippen.