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 scrolling functionalities i needed but it is not nice to look at.
A:
Look at the ImageView implementation. It has Zoom-in and Zoom-out functionality.
Vinay
2009-12-21 15:15:49
Sorry I can't find any mention of zoom in the imageview. Maybe I'm missing something.
Janusz
2010-03-29 10:29:31
I deeply apologize for marking Vinay's answer as correct. I was supposed to mark a different question. Anyway, so far I haven't implemented the zooming functionality. But you can look at the "ViewImage.java" code under the camera package of the android OS found in the http://android.git.kernel.org/. You can found there how it was implemented by the developers of android. I just don't have much time to study their code so in the end, I used WebView.
M.A. Cape
2010-04-07 10:58:06