protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); if (!CommonHelperClass.FnIsGooglePlayServicesInstalled(this)) { Finish(); } // Set our view from the "closest_stop_layout" layout resource SetContentView(Resource.Layout.closest_stop_layout); SetUpGoogleMap(); mToolbar = FindViewById <V7Toolbar>(Resource.Id.toolbar); SetSupportActionBar(mToolbar); SupportActionBar.SetHomeAsUpIndicator(Resource.Drawable.ic_menu); SupportActionBar.SetDisplayHomeAsUpEnabled(true); mDrawerLayout = FindViewById <DrawerLayout>(Resource.Id.drawer_layout); mNavigationView = FindViewById <NavigationView>(Resource.Id.nav_view); mNavigationView.SetNavigationItemSelectedListener(this); mMenuFAB = (FloatingActionMenu)FindViewById(Resource.Id.menu); mMenuFAB.HideMenuButton(false); mMenuFAB.PostDelayed(() => mMenuFAB.ShowMenuButton(true), -200); mGetPositionFAB = (FloatingActionButton)FindViewById(Resource.Id.position_fab); mDrawRouteFAB = (FloatingActionButton)FindViewById(Resource.Id.route_fab); mDB = new Database(Path.Combine(mPath, mDbName)); mListAllStations = mDB.AllStationsLocations(); mAllLinesId = mDB.AllLinesID(); mListLinesIdFromStation = new List <string>(); }