title: Touch listener on multiple Textviews?
body: <pre><code>private TextView tv2;
  
  tv2=(TextView)findViewById(R.id.textView2);
  tv2.setOnTouchListener(new CustomTouchListener());
  
  public class CustomTouchListener implements View.OnTouchListener {
          public boolean onTouch(View view, MotionEvent motionEvent) {
              switch(motionEvent.getAction()){
  
                  case MotionEvent.ACTION_DOWN:
                      Hauteur.setTextSize(TypedValue.COMPLEX_UNIT_PX, 80);
                      Hauteur.startAnimation(AnimationUtils.loadAnimation(recuperationJson.this, android.R.anim.slide_in_left));
                      break;
  
                  case MotionEvent.ACTION_UP:
                      // Action you you want on finger up
                      Hauteur.setTextSize(TypedValue.COMPLEX_UNIT_PX, 60);
  
                      break;
              }
              return true;
          }
      }
  </code></pre>
  
  <p>Hi ! I would like to the same Motion Event (same actions) on 5 other Textview's, so i have to create 5 others public class CustomTouchListener1,2,3,4,5 ...  or there's a way to group them all ?</p>