private void CreateLayout()
{
// Create a new vertical layout for the app
var layout = new LinearLayout(this) { Orientation = Orientation.Vertical };
// Create new Text box that will take the query parameter
_queryTextBox = new EditText(this);
// Create Button that will start the Feature Query
var queryButton = new Button(this);
queryButton.Text = "Query";
queryButton.Click += OnQueryClicked;
// Add TextBox to the layout
layout.AddView(_queryTextBox);
// Add Button to the layout
layout.AddView(queryButton);
// Add the map view to the layout
layout.AddView(_myMapView);
// Show the layout in the app
SetContentView(layout);
}
}