0

I try simple Tab application from here

I have simple problem, I run above application on an emulator as well as device, I have five activities (such as: A , B , C, D, E). I wanna go to A->B->C->D->E, after going E activity I change config using press key ctrl+ F11 on keyboard. When the change of orientation happens all activities are closed present in tab and showed the first activity. I can't understand where I'm wrong..

Dharmendra
  • 33,296
  • 22
  • 86
  • 129

1 Answers1

2

In your manifest file simply add this property in your all activities or in main activity.

android:configChanges="orientation|keyboardHidden"
RobinHood
  • 10,897
  • 4
  • 48
  • 97