Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用 Mono for Android 制作动态菜单,我在 SQLLite 数据库中有表格菜单;如何从该表中将菜单项添加到我的菜单中?
覆盖 dispatchKeyEvent(),如下所示:
@Override public boolean dispatchKeyEvent(KeyEvent event) { switch (event.getKeyCode()) { case KeyEvent.KEYCODE_MENU: ... return true;