aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-24 00:16:08 -0700
committerAllan Wang <me@allanwang.ca>2017-06-24 00:16:08 -0700
commit245791389eb09a56658d81e9894881584a712461 (patch)
treee1a393e8d6f7e328b0348cfc059bb6afd8194b23 /sample/src/main/res
parent9e31fdd4f15ec65cfd272fb1e814bfe0461f0d4f (diff)
downloadkau-245791389eb09a56658d81e9894881584a712461.tar.gz
kau-245791389eb09a56658d81e9894881584a712461.tar.bz2
kau-245791389eb09a56658d81e9894881584a712461.zip
Initialize searchview
Diffstat (limited to 'sample/src/main/res')
-rw-r--r--sample/src/main/res/menu/menu_main.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/sample/src/main/res/menu/menu_main.xml b/sample/src/main/res/menu/menu_main.xml
index dd07031..3bfc3d2 100644
--- a/sample/src/main/res/menu/menu_main.xml
+++ b/sample/src/main/res/menu/menu_main.xml
@@ -2,20 +2,31 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.pitchedapps.myapplication.MainActivity">
+
+ <item
+ android:id="@+id/action_search"
+ android:orderInCategory="90"
+ android:title="@string/kau_search"
+ app:showAsAction="always|collapseActionView"
+ app:actionViewClass="android.support.v7.widget.SearchView" />
+
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/kau_settings"
app:showAsAction="never" />
+
<item
android:id="@+id/action_email"
android:orderInCategory="200"
android:title="@string/kau_send_feedback"
app:showAsAction="never" />
+
<item
android:id="@+id/test"
android:orderInCategory="300"
android:title="@string/kau_menu"
app:showAsAction="never" />
+
</menu>