Visualización de muchas teclas de acción en la tecla variable en Android

I am relatively new to Android development. My requirement is such that I have a multiple line input box(such as comment box); as the user clicks the box a soft-key keyboard appears on screen which has either an "Enter" button or "Next" Button as an Action key.

I want the keyboard to have both, "Enter" as well as "Next" Button and also the comma(,) button.

I have searched throughout the web. They only have options to specify the "android:imeOptions" tag. But this option does not give the desired output as I need.

Amablemente ayuda.

PS: I do not want to create a custom keyboard. Just want to modify the existing soft-key keyboard to be displayed.

Also, I am working on Android v2.2

Gracias por tu ayuda.

preguntado el 02 de febrero de 12 a las 10:02

1 Respuestas

I want the keyboard to have both, "Enter" as well as "Next" Button and also the comma(,) button.

There is, at most, one action key for an input method editor (a.k.a., soft keyboard). You cannot have two. Depending on the input method editor, you may have zero, as the input method editor is not obligated to show an action key.

Respondido 02 Feb 12, 18:02

Is it possible to explicitly display the Comma(,) key? Some Android device show in their soft-keypad and some don't. I wish the Comma(,) key to be displayed in all the devices - Ravi Jayaraman

@RaviJayaraman: "Is it possible to explicitly display the Comma(,) key?" -- no. - CommonsWare

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.