I have Two Activities A and B orientation of A is fixed in Portrait and B orientation can be change in landscape and portrait.When user at Activity B and change orientation in landscape this also change orientation of Activity A in landscape why ?
Asked
Active
Viewed 35 times
1 Answers
0
Are you write the the orientation At Manifest like android:screenOrientation="portrait"
or write in your Activity setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

user3814997
- 31
- 5
-
is there any error shows logcat? refer this http://stackoverflow.com/questions/582185/android-disable-landscape-mode – user3814997 Nov 26 '14 at 13:03