开发者

Blackberry PopupScreen size limited by virtual keyboard

I am trying to display a Custom PopupScreen and when the virtual keyboard is being displayed it reduces the size of the popup. I know when you for example, select new message you get a PopupScreen that allows you to select message type (sms, email, etc) and it shows on top of the virtual keyboard. Here is my code am I missing something? I can't find a z-index or something similar...

public class InsertApplicationMenuItem extends ApplicationMenuItem {
    public Object run(Object context) {
    InsertWhatScreen screen = new InsertWhatScreen();

    UiApplication.getUiApplication().pushModalScreen(screen);

    return context;
    }
}

public class InsertWhatScreen extends PopupScreen {
    public InsertWhatScreen() {
  开发者_运维知识库  super(new VerticalFieldManager(), FOCUSABLE);
    }
}

alt text http://dl.dropbox.com/u/2645315/2010-01-20%2015%2017%2023.png

Thanks for the help.


There's no way to put anything on top of the virtual keyboard from a third-party app. If you read the display height while the virtual keyboard is showing, you'll see that the device actually shrinks the "screen size" given to your app while the keyboard is showing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜