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

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -