mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-12-22 14:48:23 -05:00
Add the search view in the toolbar
This commit is contained in:
parent
08a2bdd044
commit
e3651f9e31
@ -1,7 +0,0 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item android:id="@+id/action_settings"
|
||||
android:title="@string/action_settings"
|
||||
android:orderInCategory="100"
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
@ -3,6 +3,13 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="org.bspeice.minimalbible.MainActivity">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_search"
|
||||
android:orderInCategory="100"
|
||||
android:title="@string/action_search_title"
|
||||
app:actionViewClass="android.support.v7.widget.SearchView"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
|
@ -13,5 +13,6 @@
|
||||
|
||||
<string name="contact_developer_address">bspeice.nc@gmail.com</string>
|
||||
<string name="contact_developer_subject">MinimalBible Feedback</string>
|
||||
<string name="action_search_title">Search</string>
|
||||
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user