How to make my ImageView zoomable?

后端 未结 1 1399
猫巷女王i
猫巷女王i 2020-12-13 16:58

Can anyone help on how to use the matrix scaletype to zoom an imageview and also how to use the translate method so that it can be focused at the center? I have tried using

1条回答
  •  天涯浪人
    2020-12-13 17:27

    I found a tutorial divided into 4 parts from a blog on how to zoom and pan an image and it is quite nice. It has sample codes that can be downloaded and some explanations. It also have other tutorials.

    Update - pointed the links to the new ones.

    Update 2 - I found a ready-to-use class for ImageView zooming functionality. You check it out here.

    0 讨论(0)
提交回复
热议问题