![GestureOverlayView GestureOverlayView](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWGUZQEL9CY-EnAG_7icgjXzULpLwH-T-rOGV2YRdtz66UWLxbq0QL84OBNW-Yu09eWS3aHO8nf2W33_b3xnF-c9mSv9he61KuiKai9pK9HK7ZM5hkLezB3PoElKqnfaRksrAl4PSJQy0d/s400/Gesture_01.png)
Modify main.xml to add GestureOverlayView on layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
<android.gesture.GestureOverlayView
android:id="@+id/gestures"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gestureStrokeType="multiple"
android:eventsInterceptionEnabled="true"/>
</LinearLayout>
Related:
- Detection of Gesture
how to save it? and PNG format?..
ReplyDelete