如何设置从软键盘到EditText的距离? [英] How to set the distance from soft keyboard to EditText?

查看:293
本文介绍了如何设置从软键盘到EditText的距离?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的EditTexts的软键盘重叠部分有问题.

I have a problem with soft keyboard overlapping parts of EditTexts.

当我单击我的EditTexts时,软键盘会出现在文本的正下方,这意味着文本框的一部分不会显示,因为软键盘会与文本框重叠.

When I click my EditTexts the soft keyboard appears just below the text, which means that a part of the text box is not shown as the soft keyboard overlaps it.

有什么想法如何增加EditText和软键盘之间的距离?

Any ideas how to increase the distance between EditText and Soft keyboard?

推荐答案

问题不是由EditText引起的,而是TextViews弄乱了布局.

The problem wasn't caused by EditText, but TextViews that messed up the layout.

这篇关于如何设置从软键盘到EditText的距离?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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