Thanks. it actually does work fine on the g1, i just couldnt get it to work
in the emulator.

On Mon, Jan 12, 2009 at 11:45 AM, Bryan.paul <bryan.p...@gmail.com> wrote:

>
> I assume you added the screenOrientation to the application tag.
> Unfortunately, this is not an attribute of the application tag:
>
>
> http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestApplication
>
> It IS, however, an attribute of the activity tag:
>
>
> http://code.google.com/android/reference/android/R.styleable.html#AndroidManifestActivity
>
> The best solution I can offer is to set screenOrientation for each
> activity. I've tested this and it works. Someone may be able to
> suggest a cleaner implementation, as in some generic activity tag
> property that would apply to all activities.
>
> On Dec 13 2008, 12:18 am, Josh <joshdo...@gmail.com> wrote:
> > How can I ensure that my application is always displayed in
> portraitorientation?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to