I wanted to know if it is possible to lock the orientation of an activity at runtime.
I know it is possible: 1. To restrict a particular activity to portrait or landscape by means of the manifest file. 2. For the user to restrict all activities to stay in the current orientation by turning of Screen Rotation in their phone or tablet settings. I wondered if it is possible to allow users to choose "Lock Orientation" inside my app, if they so choose, and then act in such a way to enforce it. If not possible, the next option might be simply to educate users about the global setting as an option. Nathan. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.