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 -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

c# - Confused over DLL entry points (entry point not found exception) -