condor wrote:
> Hello I developed an application and when I flip  the phone in
> landscape mode the application went in landscape too.
> 
> How can I make the application stay in portrait mode no matter the
> phone orientation.

http://androidguys.com/?p=2891

"To block Android from rotating your activity, all you need to do is add
android:screenOrientation=”portrait” (or “landscape”, as you prefer) to
your AndroidManifest.xml file"

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

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