title: Pinch Zoom for ImageView in Android
body: <p>I have two ImageView in one activity , I want to apply pinch zoom for that two images.</p>
  
  <p>If I pinch one image it should apply for both the ImageView.</p>
  
  <p>Anyone suggest me how to do this.</p>
  
  <p>this is my xml</p>
  
  <pre><code>&lt;ImageView
      android:id="@+id/imageView"
      android:layout_width="180dp"
      android:layout_height="130dp"
      android:layout_gravity="top"
      android:scaleType="fitXY"
      android:src="@drawable/imageview1" &gt;
  &lt;/ImageView&gt;
  
  &lt;ImageView
      android:id="@+id/imageView1"
      android:layout_width="180dp"
      android:layout_height="130dp"
      android:paddingLeft="150dp"
      android:scaleType="fitXY"
      android:src="@drawable/imageview2" &gt;
  &lt;/ImageView&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thanks.</p>