Android的:如何推进上述软键盘按钮 [英] Android: How to push button above soft keyboard

查看:155
本文介绍了Android的:如何推进上述软键盘按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个保存按钮,我想用软键盘一起推高。因此,当用户在我的布局点击一个EditText,则该按钮已经留在键盘上方。现在,该按钮会变为键盘下面隐藏。你怎么做到这一点?

在此先感谢!


解决方案

 <活动
    机器人:windowSoftInputMode =adjustResize
>

试试这个

I've got a "save" button which I want to push up together with the soft keyboard. So when the user clicks an EditText in my layout, then the button has to stay above the keyboard. Now the button becomes hidden underneath the keyboard. How do you do this?

Thanks in advance!

解决方案

<activity 
    android:windowSoftInputMode="adjustResize"
>

try this

这篇关于Android的:如何推进上述软键盘按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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