Hello,

I thought I already posted this question but I can't find it so I ask
again :-)

I add dynamically some views to my main view with addView().
When the phone goes to landscape mode, these views are no longer on
the screen.

I believe that's because the main.xml file is reloaded so all the
views that are not described in the xml are gone.

Is there a nice way to keep the same view hierarchy when going to
landscape mode and not lose the views added dynamically?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to