diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/drawable-hdpi/ic_action_search.png | bin | 0 -> 702 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-mdpi/ic_action_search.png | bin | 0 -> 479 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-xhdpi/ic_action_search.png | bin | 0 -> 900 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-xxhdpi/ic_action_search.png | bin | 0 -> 1153 bytes | |||
-rw-r--r-- | app/src/main/res/menu/pwdstore.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
6 files changed, 10 insertions, 2 deletions
diff --git a/app/src/main/res/drawable-hdpi/ic_action_search.png b/app/src/main/res/drawable-hdpi/ic_action_search.png Binary files differnew file mode 100644 index 00000000..f594b4e4 --- /dev/null +++ b/app/src/main/res/drawable-hdpi/ic_action_search.png diff --git a/app/src/main/res/drawable-mdpi/ic_action_search.png b/app/src/main/res/drawable-mdpi/ic_action_search.png Binary files differnew file mode 100644 index 00000000..2e446ec0 --- /dev/null +++ b/app/src/main/res/drawable-mdpi/ic_action_search.png diff --git a/app/src/main/res/drawable-xhdpi/ic_action_search.png b/app/src/main/res/drawable-xhdpi/ic_action_search.png Binary files differnew file mode 100644 index 00000000..aad535e9 --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_action_search.png diff --git a/app/src/main/res/drawable-xxhdpi/ic_action_search.png b/app/src/main/res/drawable-xxhdpi/ic_action_search.png Binary files differnew file mode 100644 index 00000000..9c0ea3ca --- /dev/null +++ b/app/src/main/res/drawable-xxhdpi/ic_action_search.png 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" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c35514ec..07c6b3fd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -42,6 +42,7 @@ <!-- DECRYPT Layout --> <string name="crypto_category">Category</string> + <string name="action_search">Search</string> </resources> |