保持Android的视图可见区域,如果键盘出现视图、键盘、区域、Android

2023-09-08 09:21:06 作者:萌面大瞎

我创建了一个垂直堆叠的登录按钮,用户名和密码编辑框的底部有一个简单的登录屏幕。

I created a simple login screen that stacks a login button, the username and password edit boxes vertically from the bottom.

当有人点击的用户名/密码字段,虚拟键盘来和HIDS它下面的编辑框或按钮。我已经在登录按钮始终保持在可视区域的另一个应用程序看到这....我怎么能做到这一点?

When someone clicks the username/password fields, the virtual keyboard comes up and hids the editbox or button below it. I have seen this in another application that the login button always stays in the visible area.... how can I achieve this?

推荐答案

有一个博客帖子为:http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html