I am facing a serious issue and i cant find any answers for on the internet. In my application i have an activity group which contains four activities. In the activity which extends activity group i haven't specified the screen orientation code fragment,
setRequestedOrientation(1);
And in the other 3 activities i have mentioned it to be portrait. And all the activities works fine in portrait mode. But i need one activity to change the orientation when the device rotates. For that activity i havent specified the setRequestedOrientation(1) code. But That activity does not change according to the device rotation.
Has anyone came across an error like this. Any help would be greatly appreciated. Thanks in advance.