ich es tat. Ich entfernte die SearchView aus dem Menü und legte sie in das Hauptlayout. Mein Layout XML wie folgt aussieht:
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical">
<include
android:id="@+id/tool_bar"
layout="@layout/toolbar_home" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorToolBar"
android:paddingBottom="16dp"
android:elevation="4dp">
<android.support.v7.widget.SearchView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="16dp"
android:layout_marginLeft="16dp"
android:id="@+id/main_home_search"
android:background="@color/searchBackgroundColor"
android:focusable="false"
app:queryHint="@string/main_home_search"
app:queryBackground="@android:color/transparent"
app:iconifiedByDefault="false"
/>
</LinearLayout>
<include layout="@layout/activity_main_home_content" />
</LinearLayout>
Die Suchleiste nicht im 'Toolbar' zu leben hat, kann es ein separates Element sein unmittelbar darunter. Vielleicht könntest du sie beide in einem 'AppBarLayout' haben. – Karakuri