2011-07-03 48 views
-1

我有一個問題,當我顯示VirtualKeyboard然後出現在我的屏幕上的MainScreen空白。 一些想法來避免這個空白?黑莓問題顯示VirtualKeyboard並獲得空白屏幕

可能是黑莓OS的這個傢伙同樣的怪異姿態... Weird behavior in Blackberry when toggling virtual keyboard between two textboxes

enter image description here

+0

你有截圖可以提供來展示你的意思嗎? –

+0

Marc,我已經發布了圖片,謝謝... – Jorgesys

+0

嗯,你怎麼顯示虛擬鍵盤? –

回答

1
private VerticalFieldManager manBackground; 
private NewsList newsList; 

問題解決了,使用onExposed()方法...

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(); 
}