自定义键盘布局推 [英] custom keyboard push layout

查看:101
本文介绍了自定义键盘布局推的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经建立(使用KeyboardView)将我的应用程序里只用了一个自定义的键盘。结果
我的KeyboardView添加到我的布局,但键盘只是覆盖的布局。结果
我希望把我的布局并在底部添加我的键盘。结果

I have created a custom keyboard (using KeyboardView) to be used only inside my app.
I add the KeyboardView to my layout but the keyboard just overlays the layout.
I want to push my layout up and add my keyboard at the bottom.
Like this

我用,以创建键盘。

这怎么可能?结果
我在网上搜索,但没有发现任何东西...

How is this possible?
I have search the web but didn't find anything...

设置windowSoftInputMode不会改变任何东西...

Setting the windowSoftInputMode doesn't change anything...

推荐答案

我加入包装相对的布局,有键盘和视图固定它。结果
和一个小摆弄滚动视图得到它的工作。

I fixed it by adding wrapper relative layout that had the keyboard and the view.
And a little playing with the scroll view got it to work.

这篇关于自定义键盘布局推的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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