Isaac Wagner wrote: > I've got an app where I don't want the screen to rotate when they > rotate their device -- I need to keep the app in portrait mode all the > time. How do I do this? Thanks.
Add android:screenOrientation="portrait" to the <activity> element in the manifest. See this project for a sample: http://github.com/commonsguy/cw-android/tree/master/Rotation/RotationFour/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.4 Available! -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

