aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorJohannes Baiter <johannes.baiter@gmail.com>2014-10-29 02:05:20 +0100
committerJohannes Baiter <johannes.baiter@gmail.com>2014-10-29 02:05:45 +0100
commitdf1109cde56acb8538256bdeccbc47664aea4f4a (patch)
tree7765f9e8177e01195feaf623c16542f3426956ca /app/src/main/res/menu
parent9aea6560b0b66285c7c1c47fed828c22514d9e2b (diff)
Add filtering to password list
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/pwdstore.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/app/src/main/res/menu/pwdstore.xml b/app/src/main/res/menu/pwdstore.xml
index a3f44f73..c6b25043 100644
--- a/app/src/main/res/menu/pwdstore.xml
+++ b/app/src/main/res/menu/pwdstore.xml
@@ -1,10 +1,17 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
+ xmlns:pwstore="http://schemas.android.com/apk/res-auto"
tools:context=".pwdstore" >
+ <item android:id="@+id/action_search"
+ android:title="@string/action_search"
+ android:icon="@drawable/ic_action_search"
+ pwstore:showAsAction="ifRoom|collapseActionView"
+ pwstore:actionViewClass="android.support.v7.widget.SearchView" />
+
<item android:id="@+id/menu_add_password"
android:icon="@drawable/ico_add"
- android:showAsAction="always"
+ pwstore:showAsAction="ifRoom"
android:title="New password"/>
<!--<item android:id="@+id/menu_add_category"-->
@@ -17,7 +24,7 @@
<item android:id="@+id/referesh"
android:title="Refresh list"
- android:showAsAction="never"
+ pwstore:showAsAction="never"
android:icon="@drawable/ico_sync"/>
<item android:id="@+id/user_pref"