I've used a GestureDetector for that before:
http://developer.android.com/intl/zh-CN/reference/android/view/GestureDetector.html

Particularly:
http://developer.android.com/intl/zh-CN/reference/android/view/GestureDetector.SimpleOnGestureListener.html#onFling%28android.view.MotionEvent,%20android.view.MotionEvent,%20float,%20float%29

On Dec 11, 9:03 am, Jack Ganesh <[email protected]> wrote:
> Hi All,
>   I displayed set of images inside the Gallery. By default it has
> scrolling.
>
> But I don’t want this way of scrolling. So I implemented
> “OnTouchListener” it has only OnTouch() method.
>
> Now I want to implement the same left and right scrolling(Left and
> right dragging) in my own.
>
> How to do this? If you have any idea plz share it.
>
> Tnx 4rEver!!
>
> Cheers,
> Ganesh

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to