change an attribute in your AndroidManifest.xml and set android:windowSoftInputMode="adjustPan" instead of adjustResize