BlackBerry virtual keyboard with customized 'enter' key
-
21-01-2021 - |
题
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);
}
};
解决方案
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.
不隶属于 StackOverflow