私はアクションバーとツールバーなしでsearchviewを実装しています。すべてが固定されています。以下は私のXMLです。戻るボタンでの検索ビュー
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
<SearchView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"">
</SearchView>
</RelativeLayout>
このようなものがあります。以下は
私は必要なものの画像です。
すべてのヘルプは素晴らしいことです。
代わりのレイアウトアドオンで追加するための
** android.support.v7.widget.SearchView **メニューで、それは動作します良い。 –