Got it, Mark you were absolutley correct (and I am sure you knew
that!). I didn't realize the screenOrientation was to be set in the
Manifest....

Thanks so much, works like a charm...

Kevin

On Nov 17, 9:25 pm, cyntacks <[EMAIL PROTECTED]> wrote:
> Hi Mark,
>
> Thanks for the help, I am amazed I have been developing on Android for
> 5 months and never came across this! BUT, alas, it didn't work.
>
> What I am looking to do is force "portrait" when the phone is in
> Landscape, even though I added android:screenOrientation="portrait" to
> the xml view my main directory, the view is still switching the
> vertical.
>
> For example, in normal Portrait I have this:
>
> | | | |
>
> But, when I go into Landscape I get this
> _
> _
> _
> _
>
> Any help would be appreciated.
>
> Kevin
>
> On Nov 17, 9:01 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> > cyntacks wrote:
> > > How do I force the view to always be layout-port-480X320?
>
> > Well, you can't force 480x320, if the device doesn't happen to work at
> > that resolution.
>
> > In terms of portrait, though, add:
>
> > android:screenOrientation="portrait"
>
> > to every affected activity.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > _The Busy Coder's Guide to Android Development_ Version 1.4 Published!
--~--~---------~--~----~------------~-------~--~----~
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