private void CreateLayout()
{
// Create a new vertical layout for the app
var layout = new LinearLayout(this) { Orientation = Orientation.Vertical };
// Create a button to reset the renderer
var resetButton = new Button(this);
resetButton.Text = "Reset";
resetButton.Click += OnResetButtonClicked;
// Create a button to apply new renderer
var overrideButton = new Button(this);
overrideButton.Text = "Override";
overrideButton.Click += OnOverrideButtonClicked;
// Add Reset Button to the layout
layout.AddView(resetButton);
// Add Override Button to the layout
layout.AddView(overrideButton);
// Add the map view to the layout
layout.AddView(_myMapView);
// Show the layout in the app
SetContentView(layout);
}
}