On Tue, Jan 24, 2012 at 3:06 PM, Oliviu Vais <oliviu.v...@gmail.com> wrote:
> I thought it's clear enough. > Nope =) > I need help for the Java class, i cant get my buttons to scroll continous, > they scroll only once when i click them. I need them to scroll to the end > of the View but not at once, in little continous steps. This is what i have > so far: > Ahhhhhhhh - see, that makes a lot more sense than "here's some code, what's wrong". I don't know much about the onTouchEvent, but I would guess by the name and what you described that it get's called once, when the view is initially touched, and not continuously as you're wanting to do. Does the method get called when you release as well? If so, or if there is another event that tells you that, you could start a timer on the initial touch which you use to control the scrolling of the view, and then stop it when the view stops being touched. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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