Advertisement
MarMar_IV

Untitled

May 5th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. using System;
  2.  
  3. using Android.App;
  4. using Android.Content;
  5. using Android.Content.PM;
  6. using Android.Runtime;
  7. using Android.Views;
  8. using Android.Widget;
  9. using Android.OS;
  10.  
  11. namespace LayoutSamples.Droid
  12. {
  13. [Activity (Label = "LayoutSamples.Droid", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
  14. public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
  15. {
  16. protected override void OnCreate (Bundle bundle)
  17. {
  18. base.OnCreate (bundle);
  19.  
  20. global::Xamarin.Forms.Forms.Init (this, bundle);
  21.  
  22. LoadApplication (new App ());
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement