I have a problem with the two layouts. When I rotate the phone from portrait to landscape (and vice versa) in my main activity the application closes without the force close message. If I start my app in either landscape or portrait the layouts work, but if I just switched from either orientation it takes 3 - 5 tries before the program starts with the outcome that the program just shuts down in the 3 - 5 attempts.
My main activity's layout file is called main.xml and I have this file in res/layout, res/layout-port & res/layout-land with some modifictaions in layout-land. I call setContentView(R.layout.main); from onCreate. Is there something vital I'm missing for this to work? //André -- 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

