【问题标题】:Blackberry Issue showing VirtualKeyboard and getting a blank screen黑莓问题显示虚拟键盘并出现空白屏幕
【发布时间】:2017-07-13 23:01:27
【问题描述】:

当我显示 VirtualKeyboard 然后在我的屏幕上出现 MainScreen 上方的空白区域时,我遇到了问题。 有什么想法可以避免这个空白?

大概是黑莓操作系统对这家伙的怪异态度吧…… Weird behavior in Blackberry when toggling virtual keyboard between two textboxes

【问题讨论】:

  • 你有截图可以说明你的意思吗?
  • 马克,我已经发布了图片,谢谢...
  • 嗯,那你怎么显示虚拟键盘呢?
  • @Elenasys 我想联系你给我你的电子邮件地址

标签: blackberry virtual-keyboard


【解决方案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();
}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多