Thursday, June 30, 2011

[android-developers] SurfaceView zooming

I have a SurfaceView which is used to play a video much like the MediaPlayer_video demo Java file

Plays I can Zoom In, but really this reduces the screen size and Zoom out will only to to the original max size in my case 1120 x 720

Because it is a SurfaceView I have had to use View.setScaleX and View.setScaleY and not use a matrix as I can't access the setImageMatrix

How can I zoom beyond the initial size, so I can truly zoom into an area of the video and watch it enlarged ?

Thanks in advance

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate