title: Last ListItem always receives ontouch event
body: <p>I have a custom listview  in my app. Each listitem has an icon on the left and some text on the right.
  I wish to show some animation when the icon is clicked. I have used ontouch listener, where animation begins when the on MotionEvent.ACTION_DOWN event and some other action takes place  on MotionEvent.ACTION_UP event. </p>
  
  <p>The issue is that when I click a particular item in a listview, the icon gets animated for that particular item as well as the last item in the listview.. everytime.. Not sure what the issue may be. Kindly help.</p>
  
  <p>The relevant portion of code is pasted below:</p>
  
  <pre><code>public class Accounts implements OnItemClickListener, OnClickListener, AnimationListener{
  
  Animation animation1;
  ImageButton folderBTN;
  
  //oncreate method
      animation1 = AnimationUtils.loadAnimation(this, R.anim.to_middle);
      animation1.setAnimationListener(this);
  
  
  
      //Adapter getview method
      ..
      .
      .
      .
      getView(){
  
          folderBTN.setOnTouchListener(new OnTouchListener() {
  
              @Override
              public boolean onTouch(View v, MotionEvent event) {
  
                  if (event.getAction() == MotionEvent.ACTION_DOWN) {
                      folderBTN.clearAnimation();
                      folderBTN.setAnimation(animation1);
                      folderBTN.startAnimation(animation1);
                      isIconShowing=true;
  
                  } else if (event.getAction() == MotionEvent.ACTION_UP) {
                      FolderList.actionHandleAccount(Accounts.this,
                              (Account) account);
                  }
                  return false;
          }
  
      }
  
  
  }
  </code></pre>