Gestures are not meant to be used over 2-axis scrolling views precisely for the reasons your mentioning.
On Tue, Nov 17, 2009 at 7:08 PM, Mariano Kamp <mariano.k...@gmail.com> wrote: > Hi, > WebView can scroll on both axis. That makes it hard to integrate with the > 1.6 gestures. At the same time a WebView is often used as the main and huge > content area, so either there is a way to work with gestures properly or > gestures can't be used in lots of places ;.( > Did anybody do this and has recommendations on how to do that properly? > The main problem I see is that a scrolling in any direction can be > interpreted as a gestures and which keeps the user from scrolling. And > because this is an issue for any direction I can't workaround the problem > with only using horizontal or vertical gestures. > The best solution I found so far is canceling the gesture when no new > onGesture events occur for 200ms. And with the finger still on the screen > the user can then scroll. But that sounds better than it is, as scrolling > often requires to pull up the finger again, when the end of the screen is > reached, and put it down again on the opposite side, to keep on scrolling. > But then the next touch down needs to wait the delay again, which is not > very intuitive and as it can lead to a gesture being executed this is even > less cool. > Cheers, > Mariano > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en