Try to explain better...

My activity use the Camera, so i must to fix the activity in
landscape, otherwise the preview doesn't work correctly...

So, i have the activity fixed in landscape mode, but I want to
visualize my layout (views, menu etc...) in all direction.
Do you have in mind "Layar"? They have been able to do that. Please
try it to undestand.

So in this scenario, my problem are 2:

1) how to rotate an Option Menu.
2) How to rotate my layout. Maybe I will do a custom view....

Thanks for your answer!

On 23 Apr, 16:57, "~ TreKing" <[email protected]> wrote:
> On Fri, Apr 23, 2010 at 8:09 AM, Paolo <[email protected]> wrote:
> > 1) I have an activity fixed in the manifest as in landscape mode.
>
> Why are you doing this?
>
> >  When an option menu starts, pressing the menu button of the device, the
> > menu is displayed obviously in landscape mode even if a rotate the device in
> > portrait.
>
> You've fixed the orientation, so this is expected, no? Why would someone be
> looking at your apps sideways and expect the option menu to come up
> normally?
>
> > Is there a possibility to visualize the option menu in portrait with the
> > activity fixed to landscape mode in the manifest?
>
> Probably. It's bound to be a lot of custom work on your end though.
>
> > 2) ...and if I would like rotate a whole an'activity's layout in the same
> > way, always having the activity fixed in landscape mode?
>
> Let me get this straight ... you want to fix your orientation in one
> direction ... but then have the view rotate exactly as it would if you
> didn't fix the orientation in one direction? My head just exploded.
>
> I hope I have been clear... :)
>
>
>
> No, not really.
>
> My guess is you're trying to get around having to save and restore state
> when switching orientation. Don't.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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