public void ConnectionFailed() { Toast.MakeText(this, "Connection has failed.", ToastLength.Short); SetContentView(Resource.Layout.Main); }