title: Animate OnTouch event
body: <p>I'm new inandroid development. I want to animate OnTouch event in my app. Actualy I want a circle that will grow up in the place where I touched a screen. So now I'm using an ImageView with a circle and set it's X and Y. But I see how ImageView move to this point. I'm doing like this:</p>
  
  <pre><code>    final ImageView imgView=(ImageView)findViewById(R.id.imgAnimate);
      final Animation animationEnlarge= AnimationUtils.loadAnimation(this, R.anim.animation);
  
      View.OnTouchListener touchListener=new View.OnTouchListener()
      {
          @Override
          public boolean onTouch(View v, MotionEvent event)
          {
  
              if(event.getAction()==MotionEvent.ACTION_DOWN)
              {
                  imgView.setX(event.getX());
                  imgView.setY(event.getY());
                  imgView.startAnimation(animationEnlarge);
              }
          }
      }
  </code></pre>
  
  <p>For ImageView:</p>
  
  <pre><code>&lt;ImageView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/imgAnimate"
      android:src="@drawable/on_touch_circle2"
      android:alpha="80"
      android:visibility="invisible"
      android:layout_alignParentTop="true"
      android:layout_alignParentStart="true"/&gt;
  </code></pre>
  
  <p>And for animation:</p>
  
  <pre><code>&lt;scale
      android:duration="300"
      android:fromXScale="0.1"
      android:fromYScale="0.1"
      android:pivotX="50%"
      android:pivotY="50%"
      android:startOffset="100"
      android:toXScale="0.5"
      android:toYScale="0.5"
      /&gt;
  </code></pre>
  
  <p>May be there is some beter ways to do this?</p>