D dougc Member Licensed User Longtime User Sep 11, 2012 #1 Hey all, I have an app that has several activities modules and for one of these activities I would like to have it not "react" to a screen rotation (i.e. always stay in portrait mode) but for this activity only, the others should switch based on the screen orientation, is this possible? thanks dougc
Hey all, I have an app that has several activities modules and for one of these activities I would like to have it not "react" to a screen rotation (i.e. always stay in portrait mode) but for this activity only, the others should switch based on the screen orientation, is this possible? thanks dougc
NJDude Expert Licensed User Longtime User Sep 11, 2012 #2 You need to add this line to the Manifest using the Manifest Editor: Assuming your activity is named: myActivity Code: Copy SetActivityAttribute(myActivity, android:screenOrientation, "portrait") Upvote 0
You need to add this line to the Manifest using the Manifest Editor: Assuming your activity is named: myActivity Code: Copy SetActivityAttribute(myActivity, android:screenOrientation, "portrait")
D dougc Member Licensed User Longtime User Sep 11, 2012 #3 perfect thank you very much dougc Upvote 0