protected override void OnCreate(Bundle bundle) { base.OnCreate (bundle); _signInService = new SignInService(); _signInConfiguraition = _signInService.GetConfiguration (); // Set our view from the "main" layout resource SetContentView (Resource.Layout.Main); _username = FindViewById<EditText> (Resource.Id.username); _username.KeyPress += InputKeyPress; _password = FindViewById<EditText> (Resource.Id.password); _password.KeyPress += InputKeyPress; }