@Override public boolean dispatchKeyEvent(KeyEvent event) { if (event.getAction() == KeyEvent.ACTION_DOWN) { switch (event.getKeyCode()) { case KeyEvent.KEYCODE_BACK: this.moveTaskToBack(true); return true; } } return super.dispatchKeyEvent(event); }
0 件のコメント:
コメントを投稿