title: how to display fullscreen image by clicking imagebutton
body: <p>i just have two image buttons in my layout containing two pictures which are in drawable folder. all i want is when the user clicks the image button he should see the full screen image and should be able to zoom as well.</p>
  
  <p>this is my xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  android:weightSum="2" &gt;
  
  
  &lt;ImageButton
  android:id="@+id/imageButton1"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:src="@drawable/piq1" 
  android:layout_weight="1"
  /&gt;
  
  &lt;ImageButton
  android:id="@+id/imageButton2"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:src="@drawable/piq2" 
  android:layout_weight="1"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>when the image button in clicked it should display the full image in full screen and user should be able to zoom it. please help me with the code for that.</p>
  
  <p>my java looks like:</p>
  
  <pre><code>import android.app.Activity;
  import android.os.Bundle;
  
  public class Piq extends Activity{
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      // TODO Auto-generated method stub
      super.onCreate(savedInstanceState);
      setContentView(R.layout.piq);
  }
  </code></pre>