
This was present in the old local repo implementation, and the skeleton code for implementing it was copied to the swap fragment. The only change neccesary was to add a search button to the menu and make it have a SearchView as its action view.
14 lines
373 B
XML
14 lines
373 B
XML
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
|
|
|
<item
|
|
android:id="@+id/action_next"
|
|
android:title="Next"
|
|
android:titleCondensed="Next"/>
|
|
|
|
<item
|
|
android:id="@+id/action_search"
|
|
android:icon="@android:drawable/ic_menu_search"
|
|
android:title="Search"
|
|
android:titleCondensed="Search"/>
|
|
|
|
</menu> |