private void CreateLayout() { // Create a new layout var layout = new LinearLayout(this) { Orientation = Orientation.Vertical }; // Add the map view to the layout layout.AddView(_myMapView); // Show the layout in the app SetContentView(layout); }