Android 软键盘遮挡EditText问题解决(Android soft keyboard blocking EditText problem solving)

在清单文件AndroidManifest.xml中对应的activity中添加

android:windowSoftInputMode="stateAlwaysHidden|adjustResize"

在根布局中添加以下属性

  android:fitsSystemWindows="true"

这样就OK了!!!!

————————

Add in the corresponding activity in the manifest file androidmanifest.xml

android:windowSoftInputMode="stateAlwaysHidden|adjustResize"

Add the following attributes to the root layout

  android:fitsSystemWindows="true"

That’s OK!!!!