Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有任何方法可以在android中设置软键盘的位置?我在底部有一个工具栏,我希望在键盘出现时保持可见。那么有没有办法将软键盘定位在屏幕上的工具栏上方?我尝试过使用不同的布局,但键盘总是从屏幕底部出现,隐藏工具栏。
谢谢,克里斯。
没有没有办法设置软键盘的位置,你可以做的就是把所有的内容都放在一个ScrollView除了工具栏之外,让工具栏出现在键盘上方
ScrollView