you need to fix the orientation in the activity label. Just do a search on the xamarin forum Il 19/09/13 10:03, venkatesh ha scritto:
Hi,I don't want my activity be restarted, when user changes the screen orientation for *API Level 15* and above. I have tried setting ActivityAttribute.ConfigurationChanges in the main activity . But when the screen is oriented, Activity is restarted . [Activity(ConfigurationChanges = Android.Content.PM.ConfigChanges.Orientation)] public class MainActivity : Activity { protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); //....... } Kindly suggest me on this. Thanks. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Activity-is-restarted-when-the-screen-orientation-changed-tp5713524.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
