title: Adding animation to textview child of listview in a row
body: <p>I have a listview containing 10 rows. Each row has a textview and when I try to add a fade_out animation on the textview itself, animations only happen to listviews last item. I want to do it on all child textview. </p>
  
  <pre><code>@Override
      public View getView(int position, View convertView, ViewGroup parent) {
  
  
          LayoutInflater in=getLayoutInflater();
          View row=in.inflate(R.layout.row_main, parent,false);
  
  
  
          titr=(TextView) row.findViewById(R.id.row_main_titr);
          matn=(TextView) row.findViewById(R.id.row_main_content);
          TextView extra=(TextView) row.findViewById(R.id.row_main_extra);
          ImageView image=(ImageView) row.findViewById(R.id.row_main_image);
  
  
          titr.setHorizontallyScrolling(true);
          //titr.setMovementMethod(new ScrollingMovementMethod());
          //titr.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET);
  
  
  
          ViewGroup.LayoutParams paramsi = image.getLayoutParams();
          paramsi.height= (W/2)-10;
          //image.setScaleType(ImageView.ScaleType.CENTER_CROP);
          image.setLayoutParams(paramsi);
  
  
          image.setImageBitmap(img[position]);
  
          titr.setTextSize((float)W/35);
  
          titr.setText(name[position]);
          matn.setText(Html.fromHtml(content[position]).toString().replace("•", "\n"));
          extra.setText("نظرها: "+commentcount[position]);
          titr.setTypeface(yekan);
  
          matn.setTypeface(yekan);
          extra.setTypeface(MainActivity.koodak);
  
  
          return (row);
      }
  
  
  
  
  
  }
  </code></pre>
  
  <p>and here I want to add animation </p>
  
  <pre><code> // ShakeDetector initialization
      mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE);
      mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
  
  
      mShakeDetector = new ShakeDetector(new OnShakeListener() {
  
          @Override
          public void onShake() {
  
              final Animation out = AnimationUtils.loadAnimation(getBaseContext(), android.R.anim.fade_out);
              out.setDuration(300);
              out.setFillAfter(true);
  
              // TODO Auto-generated method stub
              Toast.makeText(getApplicationContext(), "tekun bede", Toast.LENGTH_LONG).show();
          }
      });
  </code></pre>