How to add a gesture detector to a view in Android
This example shows how to add a gesture detector to a view. The layout is just a single View inside of an Activity. You can use the same method to add a gesture detector to any type of view. We will add the gesture detector to the green View. MainActivity.java The basic idea is to … Read more