I\'ve got a layout with some views, from which one is an EditText. The layout easily fits on one page, BUT, when the soft keyboard is out, the layout doesn\'t scroll. Here\'
If your First Fragment Scroll perfectly and the second fragment did not scroll then you should use the second fragment replace and do below things
1.Add in ScrollView
android:fillViewport="true"
android:fitsSystemWindows="true"
2.Add in Manifest
android:windowSoftInputMode="adjustResize|stateVisible"
If you add fragment then my suggestion is you need to Replace the Fragment