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.</p>
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,
网友评论