0

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 ?

Zohaib Akram
  • 617
  • 1
  • 5
  • 16

1 Answers1

0

Are you write the the orientation At Manifest like android:screenOrientation="portrait"

or write in your Activity setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

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