1. Download our Official Android App: Forums for Android!

Apps Detect Touch on Custom View in Activity

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

  1. user12

    user12 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    Jan 28, 2012

    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...