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
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to