Zoom controls on an image placed in image view?
<pre><code>      public class map extends Activity  {

  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    ImageView iview = (ImageView)findViewById(R.id.iv1);
    FrameLayout mContentView = (FrameLayout)    
      getWindow().getDecorView().findViewById(R.id.FrameLayout01);

    final View zoom = iview.getZoomControls();
    mContentView.addView(zoom, ZOOM_PARAMS);
    zoom.setVisibility(View.VISIBLE);

            } }


    &lt;FrameLayout
         android:id="@+id/FrameLayout01" 
     android:layout_width="fill_parent" 
        android:layout_height="fill_parent" 
           xmlns:android="http://schemas.android.com/apk/res/android"&gt;


             &lt;ImageView android:id="@+id/iv1" android:layout_width="wrap_content"  
               android:layout_height="wrap_content"
                  android:background="@drawable/delhi2"&gt;&lt;/ImageView&gt;

                  &lt;ZoomControls android:layout_height="wrap_content" android:id="@+id/ZoomControls01"  
                      android:layout_width="wrap_content" android:layout_gravity="right"&gt;
                     &lt;/ZoomControls&gt;
                       &lt;/FrameLayout&gt;
</code></pre>

<p>Please help and give suggestion.its really important...
 have image that i want to zoom. i have placed the image in an image view and was trying the java code given above but i having error regarding iview.getzoomcontrols(); that this function in undefined for image view...please help me in correction the code</p>
