Keyboard windowSoftInputMode fragment
<p>I have a form accidents.</p>

<p>How I can scroll to bottom, when I use keyboard ?</p>

<p>Normally when I use activity  I put  <code>android:windowSoftInputMode="adjustResize"</code>.</p>

<p>But now I'm using fragments, and I can't define in my manifest, searching for internet I found :</p>

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

<p>But it's not Working.</p>

<p>Related posts:</p>

<p><a href="https://stackoverflow.com/questions/32095820/android-making-layout-scrollable-when-soft-keyboard-open-but-not-shifting-it-up">android making layout scrollable when soft keyboard open, but not shifting it upwards</a></p>

<p><a href="https://stackoverflow.com/questions/9989130/page-scroll-when-soft-keyboard-poped-up">Page scroll when soft keyboard poped up</a></p>