如何在键盘的Andr​​oid中得到最高键盘接下来,previous和Done按钮 [英] How to get keyboard with Next, Previous and Done buttons at the top of keyboard in Android

查看:249
本文介绍了如何在键盘的Andr​​oid中得到最高键盘接下来,previous和Done按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序,我想提供类似于下一步,previous和Done按钮,键盘顶部的功能。它有点类似<一href=\"http://stackoverflow.com/questions/5591792/how-to-get-keyboard-with-next-$p$pvious-and-done-button\">this

In my application, I want to provide the functionality similar to Next, Previous and Done button at the top of keyboard. It is somewhat similar to this

请让我知道我能做到这一点。

Please let me know how can I achieve this.

我不想正好实现了下,previous和done选项。但是,使用这种三键点击,我要让三个独立的Web服务调用和获取结果。就像,激活,未激活以及所有类型的过滤器。

I do not want to exactly implement the next,previous and done options. But using this three button click, I want to make three separate web service calls and fetch the results. Like, Active,Inactive and All kind of filters.

推荐答案

标准Android的办法是提供的 imeOptions 。与标准键盘,这将改变右下角虚拟键盘按钮指定的操作。有小点试图模仿上面的按钮输入的iOS行为。

The standard Android way would be to provide an input method action with imeOptions. With the standard keyboard this will change the bottom right virtual keyboard button to the specified action. There's little point in trying to mimic iOS input behavior with the buttons above.

这篇关于如何在键盘的Andr​​oid中得到最高键盘接下来,previous和Done按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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