title: Holo effects to programmatically generated textviews?
body: <p>I'm generating <strong>TextViews</strong> on <strong>LinearLayout</strong> programmatically  and I want to display the programmatically generated TextViews with <strong>Holo effects</strong> while on touch on the LinearLayout  </p>
  
  <pre><code>for (int i = 1; i &lt;= 10; i++)  {
    LinearLayout linLayout= (LinearLayout) findViewById(R.id.sideIndex);
    TextView tv = new TextView(this);
    tv.setTextColor(getResources().getColor(R.color.white));
  // tmpTV.setTypeface(font);
    tv.setText(tmpLetter);
    tv.setGravity(Gravity.CENTER);
    tv.setTextSize(11); 
    tv.setTextColor(getResources().getColor(R.color.holo_green_light));
  
   LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT,
   LayoutParams.WRAP_CONTENT,2);
  
   tv.setLayoutParams(params);
  
   linLayout.addView(tv);
  }
  </code></pre>
  
  <p>I'm able to view the Holo TextViews with this </p>
  
  <blockquote>
    <p>tv.setTextColor(getResources().getColor(R.color.holo_green_light));</p>
  </blockquote>
  
  <p>But I want to view the holo effect on TextView after ontouch on the LinearLayout.</p>
  
  <p>below code working fine for a single instance of programmatically  generated TextView but I need to display more than one number of text view in Holo after user touch the LinearLayout!</p>
  
  <pre><code>  linLayout.setOnTouchListener(new OnTouchListener()
      {
          public boolean onTouch(View v, MotionEvent event)
          {
             tv.setTextColor(getResources().getColor(R.color.holo_blue_bright));
              return false;
          }
      });
  </code></pre>