[android-developers] Re: Question about animation

2009-04-18 Thread daniel.benedykt
Hi Mike, I am having the same issue here. I try a lot of things and nothing worked. Does anyone have the answer to this? Thanks Daniel On Apr 16, 11:34 pm, Mike Baroukh wrote: > Hi. > > Hi have an absolute layout with pictures. > Only 2 pictures are show simultaneously. Others are on the layo

[android-developers] Re: Question about animation

2009-04-18 Thread daniel.benedykt
Hi Mike Actually I just got the solution :) I was having this problem for a couple of days but just solved it. Here is the solution: When you want to animate from left to write do this: absoluteLayout.post(new SwapViewsDifferent()); then you have a inner class: private final class SwapViews

[android-developers] Re: Question about animation

2009-04-19 Thread Mike Baroukh
Thanks for your answer Daniel. I had some difficulties to understand but finally, it works ! Thanks a lot. The key point is to display the final result then make an animation that start from a negative position to 0. In my case, it works without having to use "post" ... Mike daniel.benedykt

[android-developers] Re: Question About animation

2010-06-30 Thread zohar lerman
thanks On Jun 30, 11:02 am, Romain Guy wrote: > 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