关于 windowSoftInputMode

http://souly.cn/%E6%8A%80%E6%9C%AF%E5%8D%9A%E6%96%87/2015/08/15/windowSoftInputMode%E5%B1%9E%E6%80%A7%E4%BD%BF%E7%94%A8/

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0822/3344.html

  • 在代码中使用:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE |
                WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);

core/java/android/view/inputmethod/InputMethodManager.java:128: * if needed. You should set the {@link android.R.attr#windowSoftInputMode}
core/java/android/view/inputmethod/InputMethodManager.java:133: * for your window using the same {@link android.R.attr#windowSoftInputMode}
core/java/android/view/WindowManager.java:1463: * {@link android.R.attr#windowSoftInputMode} attribute.


core/java/android/content/pm/PackageParser.java:3549: R.styleable.AndroidManifestActivity_windowSoftInputMode, 0);
core/java/android/content/pm/ActivityInfo.java:731: * Set from the {@link android.R.attr#windowSoftInputMode} attribute
core/java/com/android/internal/policy/PhoneWindow.java:2539: R.styleable.Window_windowSoftInputMode,

你可能感兴趣的:(关于 windowSoftInputMode)