title: Android Animation Translation
body: <p>My android Translation would also translate to left hand side of the screen even though I have specified Y transition only.</p>
  
  <p>Here is my code :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:interpolator="@android:anim/accelerate_decelerate_interpolator"
      android:fillAfter="true"&gt;
  
      &lt;scale android:fromXScale="1.0" android:fromYScale="1.0"
          android:toXScale="0.6" android:toYScale="0.6"
          android:duration="1000" /&gt;
      &lt;translate
          android:fromYDelta="0%p"
          android:toYDelta="-15%p"
          android:duration="1000" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>Before image:
  <img src="https://i.stack.imgur.com/XvW3D.png" alt="Before image:"></p>
  
  <p>After Image:
  <img src="https://i.stack.imgur.com/q7N2h.png" alt="After Image"></p>