title: OnTouchListener in a View - Android
body: <p>When I am adding a listener 'OnTouchListener' to a View, it doesn't register. Here is my code:</p>
  
  <pre><code>GUI gui;
  boolean guis = true;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      gui = new GUI(getBaseContext());
      gui.setOnTouchListener(this);
      setContentView(gui);
  }
  </code></pre>
  
  <p>When I do setOnTouchListener(), I put 'this' as a parameter.. Should that be something else?</p>
  
  <p>I let the GUI class implement OnTouchListener and adds a OnTouch method...
  But I put</p>
  
  <pre><code>Log.w("AA","Hello")
  </code></pre>
  
  <p>In the OnTouch method, yet it doesn't log that at all.</p>