stuartforest
New Member
For my main activity, I have got two layout files. One is for portrait mode and the other one for landscape mode.These are the locations of my xml files.For portrait mode:\[code\]res/layout/activity_main.xml\[/code\]For landscape mode:\[code\]res/layout-land/activity-main.xml\[/code\]I have tested these configurations and they work perfectly on higher Android devices. The problem is that, for example, on Android 1.6 the app crashes when switching to landscape mode.What's wrong here? Is there a workaround for that?