private void CreateLayout()
{
// Create a new vertical layout for the app
var layout = new LinearLayout(this) { Orientation = Orientation.Vertical };
// Create button to show possible options
var button = new Button(this);
button.Text = "ArcGISVectorTiledLayer";
button.Click += OnVectorLayersClicked;
// Add button to the layout
layout.AddView(button);
// Add the map view to the layout
layout.AddView(_myMapView);
// Show the layout in the app
SetContentView(layout);
}
}