Example #1
0
        protected override void OnCreate(Bundle bundle)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(bundle);

            Forms.SetFlags("FastRenderers_Experimental");
            Forms.SetFlags("CollectionView_Experimental");
            Forms.Init(this, bundle);

            ToolSetup.Initialize(this, bundle);

            LoadApplication(new BizlandApp(new AndroidInitializer()));
        }
Example #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Xamarin.Forms.Forms.SetFlags(new string[] { "CarouselView_Experimental", "IndicatorView_Experimental" });
            Xamarin.Forms.Forms.Init();

            ToolSetup.Initialize(app, options);

            UINavigationBar.Appearance.SetBackgroundImage(new UIImage(), UIBarMetrics.Default);
            UINavigationBar.Appearance.ShadowImage     = new UIImage();
            UINavigationBar.Appearance.BackgroundColor = UIColor.Clear;
            UINavigationBar.Appearance.TintColor       = UIColor.Clear;
            UINavigationBar.Appearance.BarTintColor    = UIColor.Clear;
            UINavigationBar.Appearance.Translucent     = false;
            UINavigationBar.Appearance.BarStyle        = UIBarStyle.Black;

            RequestNotificationPermissions(app);

            LoadApplication(new BizlandApp(new IOSInitializer()));

            return(base.FinishedLaunching(app, options));
        }