Android虚拟键盘挡住输入框的处理方法

 在PopupWindow里面

如果在PopupWindow里面就加上
popup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED);    		popup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);

 在Acitivty里就这样

 <activity android:name=".MealActivityGroup" 
                  android:windowSoftInputMode="adjustUnspecified|stateHidden"
                  android:configChanges="keyboardHidden|orientation"></activity>


你可能感兴趣的:(android,input)