You've got it right.

Just make sure you are catching MotionEvent.ACTION_CANCEL and 
MotionEvent.ACTION_OUTSIDE.

Return false in onTouch to allow it to pass to the Click and LongClick, but 
change your colors in the onTouch.

Steven
Studio LFP
http://www.studio-lfp.com

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

Reply via email to