Re: [android-developers] Question about animation

2012-01-24 Thread Mark Murphy
On Tue, Jan 24, 2012 at 9:43 AM, Daniel Rindt wrote: > i have API Level 11 available for the application, so the compatibility > package may help here? No, sorry. > Another idea is to render one frame of the video in a hidden fullscreen > element, then shrink it down and animate it. I think poep

Re: [android-developers] Question about animation

2012-01-24 Thread Daniel Rindt
Thanks for your quick answer, i have API Level 11 available for the application, so the compatibility package may help here? Another idea is to render one frame of the video in a hidden fullscreen element, then shrink it down and animate it. I think poeple can neglect that the video is not pla

Re: [android-developers] Question about animation

2012-01-24 Thread Mark Murphy
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 wrote: > Hello, > >

Re: [android-developers] Question About animation

2010-06-30 Thread Mark Murphy
On Wed, Jun 30, 2010 at 4:02 AM, Romain Guy wrote: > You simply need to use setFillAfter(true). That only works if the widget is non-interactive. Otherwise, setFillAfter() moves the pixels, but the "hot spots" for interaction remain at the old location. For interactive widgets, you should set up

Re: [android-developers] Question About animation

2010-06-30 Thread Romain Guy
You simply need to use setFillAfter(true). On Wed, Jun 30, 2010 at 12:59 AM, zohar lerman wrote: > Hi, > > I want to move a view from location (x,y) to (x1,y1). > What is the best way to do it? > I tried using the following code but it cannot stay at the last point > (x1,y1),it always translate b