Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <stefan.niedermann@googlemail.com>2016-02-03 16:58:44 +0300
committerStefan Niedermann <stefan.niedermann@googlemail.com>2016-02-03 16:58:44 +0300
commit04f766d82220de099918e800b36342c61a78fbe4 (patch)
tree2540d13f0dff274b79c64d3820f4d4dfa3aac4e2 /app/src/main/res/menu
parent1a0066d897fcf64de9367d3cec43c715113b27d8 (diff)
#19 Local Search
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/menu_list_view.xml17
1 files changed, 11 insertions, 6 deletions
diff --git a/app/src/main/res/menu/menu_list_view.xml b/app/src/main/res/menu/menu_list_view.xml
index f3c48bbe..163f96a8 100644
--- a/app/src/main/res/menu/menu_list_view.xml
+++ b/app/src/main/res/menu/menu_list_view.xml
@@ -1,18 +1,23 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
- tools:context="com.example.owncloudnotes.NotesListViewActivity"
- xmlns:app="http://schemas.android.com/apk/res-auto" >
+ tools:context="com.example.owncloudnotes.NotesListViewActivity">
+ <item
+ android:id="@+id/search"
+ android:title="Search"
+ app:actionViewClass="android.support.v7.widget.SearchView"
+ app:showAsAction="ifRoom"/>
<item
android:id="@+id/action_settings"
android:icon="@drawable/ic_action_settings"
android:orderInCategory="100"
- app:showAsAction="never"
- android:title="@string/action_settings"/>
+ android:title="@string/action_settings"
+ app:showAsAction="never"/>
<item
android:id="@+id/action_about"
android:orderInCategory="100"
- app:showAsAction="never"
- android:title="@string/action_about"/>
+ android:title="@string/action_about"
+ app:showAsAction="never"/>
</menu> \ No newline at end of file