我想在 Android 上调整我的 UI 屏幕,当软键盘弹出时。
(Note: This is not a complete sentence and may require more context to provide an accurate translation.)
目前我有类似于下面第一张图片的东西,在屏幕底部有一个 EditText,当用户点击 EditText 时,我希望出现第二张图片中发生的事情。
也就是说,EditText 被移动并出现在软键盘的顶部,当软键盘消失时,它应该返回到先前的状态。
有人可以告诉我最好的方法来处理和实现这个问题吗?
alt text http://img40.imageshack.us/img40/2300/keyboarddown.png
(Note: This is not a complete sentence and may require more context to provide an accurate translation.)
<activity>
标签,但它没有起作用。请回复。 - Anas Azeem