Edit picture (stretch,shrink,grow)
<p>i wanna modify photos with touching screen by stretching, growing or shrinking the desired areas.</p>

<p><strong>Description:</strong> </p>

<p>1-Hold your finger on the image part that you want to shrink or grow.<br>
2-Slowly move your finger on the image part that you want to drag.<br>
3-saved the modified picture.</p>

<p>so i found these 3 files to annimate the picture but i want to modify only the part touched.
help me please.</p>

<p><strong>"grow.xml"</strong></p>

<blockquote>
<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 xmlns:android="http://schemas.android.com/apk/res/android" android:fromXScale="1.0" android:toXScale="1.20" android:fromYScale="1.0" android:toYScale="1.20" android:duration="300" android:pivotX="50%" android:pivotY="50%" /&gt; 
   &lt;alpha android:fromAlpha="0.5" android:toAlpha="1.0" android:duration="300"/&gt; 
   &lt;/set&gt;
</code></pre>
</blockquote>

<p><strong>"Stretch.xml"</strong></p>

<pre><code>   &lt;?xml version="1.0" encoding="utf-8"?&gt; 
   &lt;set xmlns:android="http://schemas.android.com/apk/res/android"        android:shareInterpolator="false"&gt;
       &lt;scale
    android:interpolator="@android:anim/accelerate_decelerate_interpolator"
    android:fromXScale="1.0"
    android:toXScale="1.4"
    android:fromYScale="1.0"
    android:toYScale="0.6"
    android:pivotX="50%"
    android:pivotY="50%"
    android:fillAfter="false"
    android:duration="700" /&gt;

   &lt;/set&gt;
</code></pre>

<p><strong>"Shrink.xml"</strong></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.2" android:toXScale="1.0" android:fromYScale="1.2" android:toYScale="1.0" android:duration="300" android:pivotX="50%" android:pivotY="50%"/&gt; 
   &lt;alpha android:fromAlpha="1.0" android:toAlpha="0.5" android:duration="300"/&gt; 
   &lt;/set&gt;
</code></pre>
