Don't use android:configChanges in your manifest, and it will all be done for you.
On Fri, Feb 27, 2009 at 6:51 AM, Morpheo <[email protected]> wrote: > > Hi! > > I have a program with two layouts: > - layout/main.xml > - layout-land/main.xml > > Also, i have some images en drawable and drawable-land... > > My problem is: When i change the orientation of the emulator (for > examplo: portrait to landscape) i don't know how reload the main.xml > layout to update the screen with the new positions.... > > If I launch the emulator in portrait the application load the portrait > layout, and if I launch the emulator in landscape mode the application > load the landscape layout, but if I change the orientation in > execution mode the application don't load the new layout... > > Any idea? how can I reload the layout? > > Thanks > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

