i am new in android platform. I have set my android application to force portrait mode. Now , i have an activity group in my application. When i am in a child view of the activity group , then if i rotate my device the screen remains in portrait mode but the view changes from child view to parent view of the activity group. I don’t know why this is happening. So please help me on the issue. Thanks in advance …. !!!
Share
You have to add
android:configChanges="keyboardHidden|orientation"to every Activity node within aActivityGroupin your application’smanifest filewhen your application is on force portrait mode. Thus the view will not change.