Riyaz Kf Riyaz Kf - 1 month ago 11
Android Question

How to show imagemagnifier in android

I have an ImageView, with following xml

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"/>


My requirement is whenever I touches the ImageView that particular position should zoom or magnify in a circular shape.

What is the best solution to implement this?

Answer

You need to use a custom ImageView which will have an ontouch listener, Try this solution How to implement image magnifier in android

Comments