I am using a BlackBerry Torch 9800.

The virtual keyboard appears when the focus is on my EditField, but I want to display a go button instead of the enter key.

below is my code and I have also attached image highlighting where I want to put my custom button.

EditField editBorder = new EditField("", "", 11, EditField.NO_NEWLINE
                | EditField.FILTER_REAL_NUMERIC) {
            public void paint(Graphics g) {
                fontColor("1a5ec9");
                g.getColor();
                g.setColor(ColoredFont);
                super.paint(g);
            }
        };

enter image description here

有帮助吗?

解决方案

As far as I know there is no way to change the virtual keyboard look and feel.

Extend PopupScreen class to implement your own virtual keyboard.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top