How to attach this listener in an activity
<p>I was wondering how do i attach this(OnGenericMotionListener) listener inside an activity. Do i have to register it to each view? thanks</p>

<p>note: please provide code.</p>
