开发者

Blackberry Issue showing VirtualKeyboard and getting a blank screen

I have an issue when i show the VirtualKeyboard then appears on my screen a blank space over the MainScreen. Some ideas to avoid this blank space?

Probably is the same weird attitude of the Blackberry OS with this guy... Weird behavior in Blackberry when toggling v开发者_如何学编程irtual keyboard between two textboxes

Blackberry Issue showing VirtualKeyboard and getting a blank screen


private VerticalFieldManager manBackground;
private NewsList newsList;

problem solved, using the onExposed() method ...

protected void onExposed() {
   if (comesfromArticle){ //comes from an article (probably the Virtual Keyboard was showed)...
    manBackground.delete(manBackground.getField(0)); / Delete the manager that contains the list of news (newsList).
    manBackground.add(newsList);//Add again the newslist, so the blank space disappear...
    comesfromArticle =false;
    }
    super.onExposed();
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜