Well it works fine for ScrollView:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/widget/ScrollView.java;h=703cd8e278b7e5771cbb9c8e2c10c69ae49590f6;hb=HEAD#l365

On Wed, Sep 30, 2009 at 3:08 AM, Gavin Bong <[email protected]> wrote:

>
> In my custom ViewGroup, I am returning false after handling the
> MotionEvent.ACTION_DOWN event.
>
> According to the javadoc:
>
> For as long as you return false from this function, each following
> event (up to and including the final up) will be delivered first here
> and then to the target's onTouchEvent().
>
>
> However, I notice that all subsequent events ( MotionEvent.ACTION_MOVE
> and MotionEvent.ACTION_UP) are only
> delivered to my #onTouchEvent method. In #onTouchEvent , I always
> return true.
>
> What could possibly be my bug ? I am running on Android 1.5r2 SDK.
>
> Thanks a lot
>
> Regards,
>
> Gavin
>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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