简体   繁体   English

菜单键在弹出屏幕中不起作用

[英]Menu key not working in popupscreen

there is PopupScreen in my application .. PopupScreen have some Field like BasiceditTextfield and Buttonfield . PopupScreen在我的应用程序.. PopupScreen有一些FieldBasiceditTextfieldButtonfield

when i click on my BasiceditTextfield virtual keyboard open automatically in my 9550 Storm but when i click on Device Menu key nothing happen. 当我单击我的BasiceditTextfield虚拟键盘时,在9550 Storm中会自动打开,但是当我单击“设备菜单”键时,什么也不会发生。 i cant hide virtual keyboard .. 我无法隐藏虚拟键盘..

how to hide that .? 怎么藏起来?

Use this. 用这个。 This will enable Menuscreen and disable back key of the device. 这将启用菜单屏幕并禁用设备的后退键。

    protected boolean keyDown(int keycode, int status) 
    {
      if(keycode==1769472)
      {
        return true;
      }
      else
      {
        return false;
      }
    }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM