[android-developers] Re: why would android call oncreate when flipping the keyboard

2008-10-31 Thread Alvin Yates
Think of it this way. If the orientation is flipped, the layout has to be rebuilt to match the new screen dimensions. The only way you might be able to disable it is if you were to fix the orientation for the screen in the Manifest file. As most people on here are going to tell you: You need

[android-developers] Re: why would android call oncreate when flipping the keyboard

2008-10-31 Thread Romain Guy
It's also a way to automatically load configuration-specific resources. This makes using alternative layouts (layout-land, layout-port, etc.), drawables, strings, etc. very easy. All the standard applications work this way, it's not very difficult to handle, and it makes your app a lot more