02-22 14:38:15.941: VERBOSE/upgrading(1430): onConfigurationChanged to
call verify locale
02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale status: 0
02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale providerLocale:
en_ES
02-22 14:38:15.951: INFO/UsageStats(1297): Unexpected resume of
com.testapp.views while already resumed in com.testapp.views
02-22 14:38:20.947: WARN/WindowManager(1297): App freeze timeout
expired.
02-22 14:38:20.947: WARN/WindowManager(1297): Force clearing freeze:
AppWindowToken{47f54088 token=HistoryRecord{47a85750
com.testapp.views/.MainActivity}}This is what I got from the logcat. I think it is here it crashes. Can you read it? Because I don't understand much of it! //André On Feb 22, 2:26 pm, André <[email protected]> wrote: > 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

