Last active
August 29, 2015 14:04
-
-
Save matheusjardimb/d6637463a28592d6e514 to your computer and use it in GitHub Desktop.
SearchView xml menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<menu xmlns:tools="http://schemas.android.com/tools" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto"> | |
<item | |
android:id="@+id/search" | |
android:title="@string/my_title" | |
app:actionViewClass="android.widget.SearchView" | |
android:showAsAction="always" | |
app:showAsAction="always" | |
android:icon="@drawable/ic_action_action_search" | |
tools:ignore="AppCompatResource" /> | |
</menu> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment