It is much better to use andriod:screenOrientation="landscape" in your
manifest, so that the system knows what orientation to move in to before it
launches your app, rather than launching it in portrait and then restarting
it in landscape.

On Fri, Apr 3, 2009 at 5:18 AM, Mark Murphy <[email protected]> wrote:

>
> Zhubham wrote:
> > Hi,
> >
> > I want to display a table which would fit better in portrait view than
> > in the landscape view. How do i instruct the emulator to change the
> > orientation??
>
> Try calling setRequestedOrientation() in your activity.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  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