Android - How to circular zoom/magnify part of image?

前端 未结 4 2068
青春惊慌失措
青春惊慌失措 2020-12-13 07:06

I am trying to allow the user to touch the image and then basically a cirular magnifier will show that will allow the user to better select a certain area on the image. Whe

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 07:49

    You can implement it by using a custom imageview ,Create a class CodesforMagnifierImageView.java in your package. You can see the code for respective class at CodesforMagnifier.java and simply use the following code in your layout file instead for the imageview

    
    

提交回复
热议问题