I've concocted a version of ScrollView that also does horizontal
scrolling. It works quite well when containing only one TextView but
was NOT tested apart from that. Probably still has many bugs, but at
least it's a starting point to improve on for anyone facing the same
problem of the only-vertically scrolling ScrollView. Code is here:
http://bazaar.launchpad.net/~pjv/androidsfortune/trunk/annotate/head%3A/src/net/lp/androidsfortune/utils/FullScrollView.java.

On 9 jan, 15:02, roland <roland...@gmail.com> wrote:
> Hi, Moto. I would say good luck. Waiting for your good news.
>
> On 9 jan, 14:54, Moto <medicalsou...@gmail.com> wrote:> Hey Roland, yeah I 
> did try doing super(ev) as the code above:
>
> > �...@override
> >  public boolean dispatchTouchEvent(MotionEvent ev){
> >      dispatchTouchEvent.super(ev);
> >      mGestureDetector.onTouchEvent(ev);
> >      return true;
> >  }
>
> > This would allow me to scroll down but definitely messes things up.  I
> > think there are too many touch event listeners that overwrite
> > eachother giving a shaking effect on scrolling.  I tried different
> > things to solve this issue in my case with my menubar layout and it
> > just seems that any listeners on the clickable area will give this
> > effect.  I tried many ways but as of now no luck.
>
> > I think the next thing I will try would be to disable all button
> > listeners on a gesture event and after the gesture re-enable them? If
> > this doesn't work I'm out of ideas.
>
> > Any input on this?
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to