diff options
| author | Daniël van den Berg <danielvandenberg95@gmail.com> | 2016-09-09 11:47:49 +0200 |
|---|---|---|
| committer | Mohamed Zenadi <zeapo@users.noreply.github.com> | 2016-09-09 11:47:49 +0200 |
| commit | a6da17417eed1412dfbd9c06d03d85f100d35608 (patch) | |
| tree | dfa093c2c2b0df651be55420bf6b0a903b605ece /app/src/main/res/menu | |
| parent | 86083f03f5a60074cddb7496bff157b31ce8c2a3 (diff) | |
| download | HardenedPass-a6da17417eed1412dfbd9c06d03d85f100d35608.tar.gz HardenedPass-a6da17417eed1412dfbd9c06d03d85f100d35608.zip | |
Added the ability to move passwords around. (#210)
* Added the ability to move passwords around.
* Generified the PasswordRecyclerAdapter and the FolderRecyclerAdapter into EntryRecyclerAdapter
Diffstat (limited to 'app/src/main/res/menu')
| -rw-r--r-- | app/src/main/res/menu/context_pass.xml | 11 | ||||
| -rw-r--r-- | app/src/main/res/menu/pgp_handler_select_folder.xml | 11 |
2 files changed, 19 insertions, 3 deletions
diff --git a/app/src/main/res/menu/context_pass.xml b/app/src/main/res/menu/context_pass.xml index ac0d88ab..bcdb383c 100644 --- a/app/src/main/res/menu/context_pass.xml +++ b/app/src/main/res/menu/context_pass.xml @@ -3,10 +3,15 @@ xmlns:app="http://schemas.android.com/apk/res-auto" tools:context=".pwdstore"> + <item android:id="@+id/menu_move_password" + android:icon="@drawable/ic_folder_white_24dp" + app:showAsAction="ifRoom" + android:title="Move"/> + <item android:id="@+id/menu_edit_password" - android:icon="@drawable/ic_edit_white_24dp" - app:showAsAction="ifRoom" - android:title="Edit"/> + android:icon="@drawable/ic_edit_white_24dp" + app:showAsAction="ifRoom" + android:title="Edit"/> <item android:id="@+id/menu_delete_password" android:icon="@drawable/ic_delete_white_24dp" diff --git a/app/src/main/res/menu/pgp_handler_select_folder.xml b/app/src/main/res/menu/pgp_handler_select_folder.xml new file mode 100644 index 00000000..9bfba01b --- /dev/null +++ b/app/src/main/res/menu/pgp_handler_select_folder.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<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="com.zeapo.pwdstore.crypto.PgpHandler" > + <item android:title="Select" + android:icon="@drawable/ic_done_white_24dp" + pwstore:showAsAction="ifRoom" + android:id="@+id/crypto_select" + /> +</menu>
\ No newline at end of file |
