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.dictatordesigns.silveredit
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 the part from the logcat where I think it crashes. Do you know what it means? //André On Feb 22, 2:29 pm, Kostya Vasilyev <[email protected]> wrote: > Something vital we're all missing is the logcat output from the crash :) > > It's also not necessary to have three versions of the same layout, just > two is enough: -land & -port, or default & -land. > > -- Kostya > > 22.02.2011 16:26, André пишет: > > > > > > > > > > > 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é > > -- > Kostya Vasilyev --http://kmansoft.wordpress.com -- 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

