protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); //align current activity to fullscreen < --makes statusbar and navbar transparent //if (Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.Kitkat) //{ // Window.AddFlags(WindowManagerFlags.LayoutNoLimits); // Window.AddFlags(WindowManagerFlags.TranslucentNavigation); // Window.AddFlags(WindowManagerFlags.DrawsSystemBarBackgrounds); //} presenter = new MainPresenter() { View = this }; SetContentView(Resource.Layout.activity_menu); ViewInjector.Inject(this); StyleView(); //setting custom toolbar ToolbarHelper.Init(this, toolbar, toolbarTitle); ToolbarHelper.SetToolbar(); //setting StartPageFragment as first displayed fragment if (savedInstanceState == null) { BottomNavigationView_NavigationItemSelected(this, new BottomNavigationView.NavigationItemSelectedEventArgs(false, bottomNavigationView.Menu.FindItem(Resource.Id.nav_garagepage))); } //Firebase.FirebaseApp.InitializeApp(this); var IsPlayServicesAvailable = GoogleServiceHelper.Instance.IsPlayServicesAvailable(this); if (!IsPlayServicesAvailable.Item1) { AlertDialogs.SimpleAlertDialog(IsPlayServicesAvailable.Item2, this).Show(); } }