add android:windowSoftInputMode="adjustResize" to main <activity>
(adjustPan simply didnt work on some devices)