I use framgents in my app and I have a dual pane layout for both landscape (left and right) and portrait (up and down) on a tablet.
I have an activity which loads a fragment into the left selection pane and then you can choose several criteria in some Spinner to do a search. In right fragment is being shown results from search in a ListView.
If I use android:configChanges="orientation"
in this activity in Manifest.xml the results from search are saved but I have both pane layouts up and down in landscape mode instead of left and right, as it should be.
And if I do not use android:configChanges="orientation"
I have both pane layouts in order correct (left and right in lanscape mode) but I do not have results from search, activity restarts.
How I can solve it? Any idea?
Thanks so much.