1

Restoring Fragment state after configuration change if Activity layout changes

view story
linux-howto

http://stackoverflow.com – My Activity has a one-pane layout in portrait and a two-pane layout in landscape, using Fragments. I'd like the system to restore all the views after an orientation change, but I don't know where to start. Is this even possible considering the layout is different (but similar) in the two orientations? If anyone has implemented this (or at least tried), please share you experience. (HowTos)