scrollTo(newPositionX, newPositionY) is working correctly... I have to use startScroll...
Please, thanks for your help On 14 juin, 15:10, arnouf <[email protected]> wrote: > Hi all, > > I create a LinearLayout (orientation horizontal) which contains some > TextView. The LinearLayout has a size of 1200px. > When user move on, the screen, I would like to do like the Launcher > application. > > I tried to use startScroll function. even if I set a distance, the > layout doesn't move alone. Only distance did by user is slided. > > Does startScroll move alone all content? If yes, why my code doesn't > work? > > mScroller.startScroll(0, 0, 1200, 0); > invalidate() > Regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

