调用Dialog的梁派厅dismiss()方法的方橡隐式:1. 重写Dialog的onKeyDown()方法羡启里进行调用: Java代码 链接地址@Override public boolean onKeyDown(int keyCode, KeyEvent event) { Log.d(Constant.TAG,"dialog onKeyDown"); if(keyCode == KeyEvent.KEYCODE_BACK) { dismissOut(); return true; } return super.onKeyDown(keyCode, event); }