Skip to content

Commit 15f2dc2

Browse files
committed
added in the use of SearchWidget
1 parent 54e4618 commit 15f2dc2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

SearchDemo/res/menu/search_menu.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<menu xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item android:id="@+id/menu_search"
4+
android:icon="@android:drawable/ic_menu_search"
5+
android:title="@string/search"
6+
android:showAsAction="ifRoom|withText"
7+
android:actionViewClass="android.widget.SearchView"
8+
/>
9+
</menu>

0 commit comments

Comments
 (0)