public App() { if (!DatabaseServices.DatabaseExists(Database.dbName)) { // This is the first time so create the DB Database.CreateDatabase(Database.dbName); } //MainPage = new NavigationPage(new MyListPage()); MainPage = new NavigationPage(new TabController() { // Tab bar format BarBackgroundColor = Color.FromHex("c0c0c0"), BarTextColor = Color.White }) { // Navigation page format BarBackgroundColor = Color.FromHex("1275bb"), BarTextColor = Color.White }; //MainPage = new NavigationPage(new TabController() //{ // // Tab bar format // BarBackgroundColor = Color.Blue, // BarTextColor = Color.White //}); }
public App() { if (!DatabaseServices.DatabaseExists(Database.dbName)) { // This is the first time so create the DB Database.CreateDatabase(Database.dbName); } MainPage = new NavigationPage(new MyListPage()); }