All you have to do is set the fillAfter property of the animation to true.

On Fri, Jul 24, 2009 at 11:27 AM, Josh Hoffman<[email protected]> wrote:
>
> Hello, I'm trying to find a way to rotate a View, or (more
> conveniently) an entire layout, upside down and have it stay that way.
> I found the rotation and animation classes in the SDK, and these come
> close to what I want, but at the end of the animation I want my Layout
> to stay rotated; repeating the animation or just flipping back right-
> side-up doesn't help me with my app unfortunately.
>
> The only thing I can think of so far would be to find the source code
> for the rotate class, and override it such that the "...and then flip
> it back around to be right-side-up" code never happens. I'm not sure
> exactly where I'd find the original rotate code for reference if I
> were to do something that extensive however.
>
> I've found references online to the full android source - is that
> basically what I'd be looking at downloading to be able to attempt
> something like this? Am I missing a simple option on the rotation that
> would let it just stay put after I rotate it? Any help would be very
> much appreciated! Thank you!
>
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to