Created
August 6, 2014 14:01
-
-
Save ryokosuge/3b9ed6845679a8d4f33b to your computer and use it in GitHub Desktop.
【Android】SearchViewを使って検索画面を実装する rel : http://blog.ryochin.xyz/archives/80
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
<!-- res/menu/search.xml --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<menu xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
> | |
<item | |
android:id="@+id/search_menu_search_view" | |
android:orderInCategory="100" | |
android:title="@string/search_menu_search_text" | |
app:actionViewClass="android.support.v7.widget.SearchView" | |
app:showAsAction="always" | |
/> | |
</menu> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment