I am trying to animate a view, by making it slide across the screen...
I place the view in the designer and set its LEFT prop.
I found this to happen with my animation:
If the view is on screen, that is to say within the activity, the animation works flawslessly. The same is true even if the Left =0-width + 1, so a 1dip portion is still visible on screen.
As soon as I set the Left prop of the view (starting point of the animation), to be off screen (Left=0-Width), the animation doesnt play.Same with the visible =false, wont play.
So from what I can see, we cannot animate an invisible view, even if we have setted it visible just before the animation.start, nor we can animate offscreen views.
Is this a BUG , a limitation or am I overlooking something?
I place the view in the designer and set its LEFT prop.
I found this to happen with my animation:
If the view is on screen, that is to say within the activity, the animation works flawslessly. The same is true even if the Left =0-width + 1, so a 1dip portion is still visible on screen.
As soon as I set the Left prop of the view (starting point of the animation), to be off screen (Left=0-Width), the animation doesnt play.Same with the visible =false, wont play.
So from what I can see, we cannot animate an invisible view, even if we have setted it visible just before the animation.start, nor we can animate offscreen views.
Is this a BUG , a limitation or am I overlooking something?
Last edited: