• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android App and screen orientation

jusjctin

Lurker
Hi, I was wondering if there was any java code that will allow you to make sure each window in your app stays in portrait despite the user flipping the phone to landscape. I already tried inserting android:screenOrientation="portrait" into both my android manifest and into every single XML file I had but unfortunately only some stayed in portrait and others still flipped to landscape. Please help and thanks!
 
Hi, I was wondering if there was any java code that will allow you to make sure each window in your app stays in portrait despite the user flipping the phone to landscape. I already tried inserting android:screenOrientation="portrait" into both my android manifest and into every single XML file I had but unfortunately only some stayed in portrait and others still flipped to landscape. Please help and thanks!
Hello,

Welcome aboard. I don't know what device you have, so I would be limited to what help or suggestions I might have. If the above poster response doesn't work for you - then you might want to asked your question over at the Application Development - Android Forums. Best of luck. :)
 
Back
Top Bottom