MarMar_IV

Untitled

May 5th, 2016
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. using System;
  2.  
  3. using Xamarin.Forms;
  4.  
  5. namespace LayoutSamples
  6. {
  7. public class App : Application
  8. {
  9. public App ()
  10. {
  11. // The root page of your application
  12. MainPage = new NavigationPage {BarBackgroundColor=Color.Green, BarTextColor = Color.White};
  13.  
  14. MainPage.Navigation.PushAsync (new ListPage ());
  15. //MainPage.Navigation.PushAsync (new AbsoluteLayoutDemoCode ());
  16. }
  17.  
  18. protected override void OnStart ()
  19. {
  20. // Handle when your app starts
  21. }
  22.  
  23. protected override void OnSleep ()
  24. {
  25. // Handle when your app sleeps
  26. }
  27.  
  28. protected override void OnResume ()
  29. {
  30. // Handle when your app resumes
  31. }
  32. }
  33. }
Add Comment
Please, Sign In to add comment