Gesture (swipe) listener won't work for any widget but a Button
<p>I've got a swipe listener, based on SimpleOnGestureListener that works very well, as long as I attach it to a button like so:</p>

<pre><code>final GestureDetector detector = new GestureDetector(MyGestureListener());
View.OnTouchListener listener = new View.OnTouchListener() {
    public boolean onTouch(View v, MotionEvent e) {
        if(detector.onTouchEvent(e)) {
            return true;
        }
        else {
            return false;
        }
     }
};

findViewById(R.id.widget).setOnTouchListener(listener);
</code></pre>

<p>However, if I change "widget" to something other than a Button, like a LinearLayout or a TextView, it no longer works.  Is there something I have to do to make it work with other widgets?</p>
