title: Android ImageView morph: from Square to Circle (Solution updated)
body: <p>I'm using <code>CircularReveal</code> to create animation to make square album art into circle. And the following is a short snippet.</p>
  
  <pre><code>int cx = mImageView.getMeasuredWidth() / 2;
  int cy = mImageView.getMeasuredHeight() / 2;
  
  // get the initial radius for the clipping circle
  int initialRadius = mImageView.getWidth() / 2;
  
  // create the animation (the final radius is zero)
  Animator anim = ViewAnimationUtils.createCircularReveal(mImageView, cx, cy, mImageView.getWidth(), initialRadius);
  anim.setDuration(500);
  anim.start();
  </code></pre>
  
  <p>The problem is, after animation, the image does not stay in circular shape. I was looking for something like <code>Animation.fillAfter(boolean fillAfter)</code> call, but animator does not have that option.</p>
  
  <p>Below is the current (malfunctioning) behavior.</p>
  
  <p><a href="https://i.stack.imgur.com/UyMEt.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/UyMEt.gif" alt="enter image description here"></a></p>
  
  <p>Any suggestion to fix the image to circle after the animation? </p>