2011-07-03 21 views
-1

VirtualKeyboardが表示されたときに、メインスクリーン上に空白が表示される問題があります。 この空白スペースを避けるためのアイデアはありますか?問題は、onExposed()メソッドを使用して、解決 Weird behavior in Blackberry when toggling virtual keyboard between two textboxesBlackKeyがVirtualKeyboardを表示して空白の画面を表示する問題

enter image description here

+0

あなたは何を意味するかを示すために提供できるスクリーンショットをお持ちですか? –

+0

マーク、イメージを投稿しました、ありがとうございました... – Jorgesys

+0

どうやって仮想キーボードを見せていますか? –

答えて

1
private VerticalFieldManager manBackground; 
private NewsList newsList; 

おそらく、この男とブラックベリーのOSの同じ奇妙な態度がある... ...

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(); 
} 
関連する問題