MenuitemCompat GetActionView ist in Android veraltet

    MenuItem search = menu.findItem(R.id.search);
    SearchView searchView = (SearchView) getActionView(search);
Serial Koder