Romain, the solution you gave me works perfectly for rotating the
layout upside-down. Unfortunately, I now have another problem! After
the layout has been rotated, the Views no longer respond to clicks and
long clicks. Inside of the RelativeLayout I am rotating, I have a
textView that I allow the user to edit when they perform a long press.
Is there any way for me to still allow for this functionality, while
presenting the textView upside-down?

If not, I guess I can just add an additional right-side-up button to
replace the onLongClickListener when in the upside-down view mode, but
this strikes me as something that probably should work. I feel like I
may be missing something simple again. Thanks in advance for any tips!

On Jul 26, 3:51 pm, Romain Guy <[email protected]> wrote:
> 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 torotateaView, 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 therotateclass, 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 originalrotatecode 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 Irotateit? 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