1. Check out our companion app, Forums for Android! Download from Google Play

Detect Touch on Custom View in Activity

Discussion in 'Application Development' started by user12, Mar 2, 2012.

  1. user12

    user12 New Member
    Thread Starter
    5

    Jan 28, 2012
    4
    0
    5
    Hi everyone. I have created a class called MainView that extends View. In the main activity, how would I fire an onTouch event when I tap on the View?
     

    Advertisement

Share This Page

Loading...