- switch (keyCode) {
case KeyEvent.KEYCODE_BACK:
Log.d(TAG, "KEYCODE_BACK");
return true;
case KeyEvent.KEYCODE_MENU:
Log.d(TAG, "KEYCODE_MENU");
return true;
default:
break;
}
时间: 2024-10-21 11:04:09
case KeyEvent.KEYCODE_BACK:
Log.d(TAG, "KEYCODE_BACK");
return true;
case KeyEvent.KEYCODE_MENU:
Log.d(TAG, "KEYCODE_MENU");
return true;
default:
break;
}