I\'ve had my application out in the store for a while, but it seems it crashes occasionally according to the crash reports in the Developer Console, saying:
java.lang.
I had a different issue: In one layout the root was a ScrollView while in the other the root was a RelativeView that contained the ScrollView. All widgets ids were identical and there were no duplicates. On rotate the crash log was:
java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to android.widget.ScrollView$SavedState
Once I matched the layouts (so in both the root was either the RelativeLayout or ScrollView), the rotation worked fine.
Not sure why this would cause a crash so any insights would be appreciated...