How to force to remove keyboard after shown with SHOW_FORCED
<p>I show keyboard with code </p>

<pre><code>        ((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE))
                .toggleSoftInput(InputMethodManager.SHOW_FORCED,
                        InputMethodManager.HIDE_IMPLICIT_ONLY);
        etContent.requestFocus();
</code></pre>

<p>In next step I inflate new  LinearLayout and call setContentView(newLayout) and keyboard is still there. How to force to remove keyboard ? I tried with </p>

<pre><code>getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
</code></pre>

<p>but it didn't help. Can somebody suggest me solution ?</p>
