Use this in the activities in your manifest:

http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity_screenOrientation

On Wed, Nov 19, 2008 at 10:57 PM, Brian Doyle <[EMAIL PROTECTED]>wrote:

>
> Hello,
>
>        I need to force the portrait layout on our app at all times, meaning
> when the phone is rotated to landscape orientation the view should
> appear sideways, whether or not the keyboard is out.  How to I enforce
> this?
>
>        BTW - I understand why this is undesirable but I'm not the UI
> designer nor the person that approved the layout.  I'm a humble coder
> so if you feel the urge to ignore the above question and address the
> bad design please move along.  I already know.
>
> Thank you!
>
> Brian
>
>
> >
>


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