Is there a way to stop this? I have tried the following:
//Adding this to the Manifest for the activity:
android:configChanges="orientation"
and
//Adding this to the MainActivity
@Override
public void onConfigurationChanged(Configuration newConfig){
super.onConfigurationChanged(newConfig);
}
It doesn't work though so any ideas?