How do I attach this scroller to the ViewGroup? Does the constructor with the context do this?
Rohit On Nov 3, 2:20 pm, Rohit Mordani <[EMAIL PROTECTED]> wrote: > Hey Romain Guy, > Can you tell me how to use a scroller? I tried to create a > scroller and then I called the startScroll() method on it but it > didn't do anything. I am trying to scroll a Viewgroup (that is larger > than the screen size) and has multiple children laid out side by > side. > > mScroller = new Scroller(this.getContext()); > > and then I called the startScroll in the onFling() as follows: > > mScroller.startScroll(0, 0, 800, 0, 800); > > I dont see the scrolling happening when I do the above. > > Thanks > Rohit > > On Sep 15, 7:56 am, Kavi <[EMAIL PROTECTED]> wrote: > > > I'll try that out. > > Thanks > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

