i have one image in my xml file in android project, i need to zoom it when i click on it. can anybody help me out what code should i write to make my image zoom .
following is my xml code :
main.xml :
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="120dp"
android:layout_height="120dp"
android:src="@drawable/rtt" />
</RelativeLayout>