开发者

How to make my ImageView zoomable?

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 webview to be able to use the zooming and scr开发者_如何学Goolling functionalities i needed but it is not nice to look at.


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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜