Use this code to hide the Keyboard .
public override bool OnTouchEvent(MotionEvent e) { InputMethodManager imm = (InputMethodManager)GetSystemService(Context.InputMethodService); imm.HideSoftInputFromWindow(Etusername.WindowToken, 0); return base.OnTouchEvent(e); }
and make sure you have to add this library:
using Android.Views.InputMethods;
source share