I am using a videoview with an animation (video.setAnimation(slideinRight);) Everything works ok except that on the transition, only the layout of the videview is animating, not the video. When the translate animation occurs, i see a box move and mask over my video but the video never moves with it. I am at a loss on what to do now.
I am using a videoview with an animation (video.setAnimation(slideinRight);) Everything works ok except that
Share
Sorry for answering this rather late, but for what it’s worth. and if you’re looking only to use a ‘slide’ animation.
Try putting the videoview in a layout and animating the layout.
The way i have it set up in my code is;
Then where you want to animate your videoview to slide;
Note that this is the 3.1 animation system.
Not sure of the classic 2.1 way of animating is going to work like this, but it should serve the same.
Stuff like rotating/scaling the layout won’t work. Panning the layout around and fading it seem to be the only few things that do work.