You can simply switch your activity's windowSoftInputMode flag to "adjustPan". Check the official documentation for more info.
<activity
...
android:windowSoftInputMode="adjustPan">
</activity>
If you are using ScrollView
add this too android:isScrollContainer="false"
Try it..