解决方法 清单文件在所在activity加上 android:windowSoftInputMode="adjustPan" 转载于:https://www.cnblogs.com/bestcolin/p/5142488.html