Android: How to set onTouch event for activity? -


I have an activity that I want to end when the activity touches, how do I go about doing it?

Get a reference at the upper level View and call in your layout .setOnTouchListener () OnTouchListener Pass Finnish (); In these tchach () method.

Comments

Popular posts from this blog

php - Creating canonical URLs with custom route-classes -

asp.net mvc 3 - How to determine why unobtrusive validation is not working -

vba - How to assign paragraph / character styles automatically in word 2010 -