How to Hide keyboard in Xamarin Android after clicking outside Edittext
<p>I am working on <strong>Xamarin(Android)</strong> .Now i want to hide keyboard after clicking outside <code>Edit Text</code>.</p>

<p>Thanks in Advance.</p>

<pre><code>public class MainActivity : Activity
{


    protected override void OnCreate(Bundle bundle)
    {
        base.OnCreate(bundle);

        // Set our view from the "main" layout resource
        RequestWindowFeature(WindowFeatures.NoTitle);


        SetContentView(Resource.Layout.Main);

        EditText Etusername= FindViewById&lt;EditText&gt;(Resource.Id.EtUname);
        Etusername.SetHintTextColor(Color.Gray);

        InputMethodManager imm = (InputMethodManager)GetSystemService(Context.InputMethodService);
        imm.HideSoftInputFromWindow(Etusername.WindowToken, 0);
    }
</code></pre>