Currently I'm using a VideoView to play a movie

I would like to have the ability to pause the video
then zoom in  to a portion and be able to watch that portion zoomed in  (or out)

I have created my on videoVideo class which extends VideoView and implements 
OnTouchListener
Currently I'm using an onTouch
EventAction.ACTION_MOVE
float newD = distance(event);
scale      = newD / oldDist;  <<-- oldDist is set on ACTION_POINTER_DOWN
super.setScaleX(scale);
super.setScaleY(scale);
super.invalidate();

Currently this will shrink the screen size to a smaller size, or back to normal 
full screen.
But this is not zooming the image size making it bigger or smaller.

Any ideas how I can enlarge the videoView to zoom in or scale down the whole 
video view to zoom out ?

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to