Example #1
0
		public App ()
		{	
			var tabs = new TabbedPage ();
			var tabE = new EarthquakesPage () {Title="Earthquakes", Icon="sample-401-globe"};
			var tabA = new AirportsPage() {Title="Airports", Icon="38-airplane"};

			tabs.Children.Add(tabE);
			tabs.Children.Add(tabA);

			MainPage = tabs;
		}
Example #2
0
        public App()
        {
            var tabs = new TabbedPage();
            var tabE = new EarthquakesPage()
            {
                Title = "Earthquakes", Icon = "sample-401-globe"
            };
            var tabA = new AirportsPage()
            {
                Title = "Airports", Icon = "38-airplane"
            };

            tabs.Children.Add(tabE);
            tabs.Children.Add(tabA);

            MainPage = tabs;
        }