protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); // useless for Android project Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init(); global::Xamarin.Forms.Forms.Init(this, bundle); var loginProvider = (DroidLoginProvider)DependencyService.Get <ILoginProvider>(); loginProvider.Init(this); TagEntryRenderer.Init(); if (IsThereAnAppToTakePictures()) { CreateDirectoryForPictures(); } LoadApplication(new PeopleApp.App()); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; ImageCircleRenderer.Init(); TagEntryRenderer.Init(); base.OnCreate(bundle); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); ImageCircleRenderer.Init(); global::Xamarin.Forms.Forms.Init(this, bundle); TagEntryRenderer.Init(); LoadApplication(new App()); //Hide the xamarin logo var color = new ColorDrawable(Color.Transparent); ActionBar.SetIcon(color); }