protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);
var textView = FindViewById<TextView>(Resource.Id.lblTestProgress);
try
{
TextWriter writer = new TextWriterTextView(textView);
textView.SetTextColor(new TextUI(writer).Execute(new string[0]) ? Color.Green : Color.Red);
}
catch (Exception ex)
{
textView.SetTextColor(Color.Red);
WriteProgressMessage(ex.ToString());
}
}