override fun onCreateOptionsMenu(menu: Menu?): Boolean { menu?.add(Menu.NONE, 0, 0, "重新导入") return true } override fun onOptionsItemSelected(item: MenuItem?): Boolean { if (item?.itemId == 0) { MyLog.d("点击重新导入") return true } return super.onOptionsItemSelected(item) }