查看移动软键盘,阻止其他用户界面对象 [英] View moves with soft keyboard, blocking other UI objects

查看:81
本文介绍了查看移动软键盘,阻止其他用户界面对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个容器观点,我想留在我看来底部在任何时候,坐在下方的滚动型。在滚动型有极少数的用户界面对象,一个是的EditText对象。目前,当用户敲击的EditText对象的内部,Android的softkeyboard出现,带来了容器视图它,并阻止一些UI对象。我怎样才能获得该容器,以便留在布局的底部在任何时候都不能与它出现时的键盘移动?

I've got a container view that I'd like to stay at the bottom of my view at all times that sits below a ScrollView. The ScrollView has a handful of UI objects, one being a EditText object. Currently, when the user taps inside of the EditText object, the android-softkeyboard appears, and brings the container view with it, and blocks some UI objects. How can I get that container view to stay at the bottom of the layout at all times and not move with the keyboard when it appears?

下面是截图 - http://d.pr/3LQ2

下面是我的layout.xml - http://d.pr/HmXC

Here's my layout.xml - http://d.pr/HmXC

在此先感谢,科尔

推荐答案

在清单中添加活性标记:

In manifest add in activity tag:

android:windowSoftInputMode="adjustPan"

这篇关于查看移动软键盘,阻止其他用户界面对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆