I have one activity which has view-pager with 3 fragments, activity will always in portrait mode but if the user is viewing 3rd page(Fragment) and rotates the screen to landscape app will launch another activity in landscape mode and shows detailed data inside table layout, and again when user rotates device from landscape to portrait that activity finishes and previous activity comes to foreground in portrait mode.
But when I rotate the device from landscape to portrait mode app show black screen for a while before portrait activity(which contains view-pager) comes to the foreground.
Can anyone knows how to avoid this black screen on switching between activities?
I really need to fix this thing.
Thanks in advance.