📅  最后修改于: 2022-03-11 14:59:36.899000             🧑  作者: Mango
if (!searchView.isIconified())
{
searchView.setIconified(true);
searchView.onActionViewCollapsed();
}
else
{
super.onBackPressed();
}