How to hide the bottom toolbar while filling the form

How can I hide bottom toolbar or tabbar while filling the form? Actually keyboards sets on the top of the keyboard when form field gets focus and keyboard becomes visible.

I have tried using

<activity android:windowSoftInputMode="adjustPan"/>

this hides the toolbar but does not shift the form field in focus.