📌  相关文章
📜  android:windowSoftInputMode="adjustPan" - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:05.093000             🧑  作者: Mango

代码示例1
"adjustResize"

The activity's main window is always resized to make room for the soft keyboard on screen.

"adjustPan"

The activity's main window is not resized to make room for the soft keyboard. Rather, the contents of the window are automatically panned so that the current focus is never obscured by the keyboard and users can always see what they are typing. This is generally less desirable than resizing, because the user may need to close the soft keyboard to get at and interact with obscured parts of the window.