Why can't you put a method to be executed when the user touched or leaves the screen in order to get the X and Y and verify if it happend inside the area of interest for you ?
if not, you just ignore it. public boolean onTouch(View v, MotionEvent event) { if (yourRectObject.verify (event.getX(), event.GetY()){ //IDENTIFY THE EVENT TYPE DO UR STUFf return true; } //DO NOTHING return false; } 2011/4/7 lbendlin <l...@bendlin.us> > are you using the multitouch version of the event handler? > > -- > 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 > -- 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