I doubt that will work, as VideoView is backed by a SurfaceView, which doesn't play by the same rules.
On Android 4.0, you could try replacing the VideoView with a MediaPlayer and a TextureView. TextureView can be animated, IIRC. On Tue, Jan 24, 2012 at 7:27 AM, Daniel Rindt <daniel.ri...@googlemail.com> wrote: > Hello, > > i would animate a VideoView what scales up and switch then to fullscreen. My > code looks like: > > final VideoView videoView = (VideoView) findViewById(R.id.video_view); > final ObjectAnimator x = ObjectAnimator.ofFloat(this, "x", 0); > x.setTarget(videoView); > final ObjectAnimator y = ObjectAnimator.ofFloat(this, "y", 0); > y.setTarget(videoView); > final ObjectAnimator scaleX = ObjectAnimator.ofFloat(this, "scaleX", 2); > scaleX.setTarget(videoView); > final ObjectAnimator scaleY = ObjectAnimator.ofFloat(this, "scaleY", 2); > scaleY.setTarget(videoView); > final AnimatorSet set = new AnimatorSet(); > set.setInterpolator(new LinearInterpolator()); > set.setDuration(1000); > set.playTogether(x, y, scaleX, scaleY); > > Unfortunately nothing happens. I am happy to read suggestions. > > Thanks in advance > Daniel > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en