ontouchlisteners in textviews
<p>i am trying to implement a ontouchlistener in each and every textview that i have so that when i touch the textviews it would do a vibration</p>

<p>however i have this problem "cannot reduce visibility of the inherited method  from view.ontouchlistener"</p>

<p>anyone has any idea what am i doing wrong? i have implemented the OnTouchListener already</p>

<pre><code>        for (int i = 0; i &lt; counter; i++)
        {
                tv[i] = new TextView(this);
                tv[i].setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); 
                tv[i].setTextSize(textSize);
                tv[i].setText(""+singleText[i]);
                tv[i].setOnTouchListener(this);
                linearLayout.addView(tv[i]);
        }
        setContentView(linearLayout);

    }
    catch (IOException e) {
        //You'll need to add proper error handling here
    }       
}

private boolean onTouch(View v, MotionEvent event)
{
    vibratePattern();
    return true;
}
</code></pre>
