I cannot get this to work. When i press the button it registers as a
single click, then it releases the touch. HELP!!!

On Jan 24, 11:47 pm, TreKing <[email protected]> wrote:
> On Tue, Jan 24, 2012 at 3:06 PM, Oliviu Vais <[email protected]> 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 [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

Reply via email to