Hide Android keyboard in Nativescript on input field blur
<p>I have a registration form which contains several TextFields and other inputs. When a user taps one of the fields the Android soft keyboard will always show as expected. If I tap outside of the field though the keyboard does not hide. Is there a way to capture this event so that I can hide the keyboard when ever a user taps outside of any of the inputs?</p>

<p>It looks like doing the following allows me to hide the keyboard</p>

<pre><code>var pageContainer = page.getViewById('registration-container');
if(pageContainer.android) {
    pageContainer.android.clearFocus();
}
</code></pre>

<p>But I'm unsure how to capture every tap event that blurs the forms inputs. I'm not even sure if this is possible with Android. </p>