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 | |
parent | 86083f03f5a60074cddb7496bff157b31ce8c2a3 (diff) |
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')
-rw-r--r-- | app/src/main/res/drawable-hdpi/ic_folder_white_24dp.png | bin | 0 -> 135 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-mdpi/ic_folder_white_24dp.png | bin | 0 -> 122 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-xhdpi/ic_folder_white_24dp.png | bin | 0 -> 181 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-xxhdpi/ic_folder_white_24dp.png | bin | 0 -> 245 bytes | |||
-rw-r--r-- | app/src/main/res/drawable-xxxhdpi/ic_folder_white_24dp.png | bin | 0 -> 325 bytes | |||
-rw-r--r-- | app/src/main/res/layout/select_folder_layout.xml | 11 | ||||
-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 |
8 files changed, 30 insertions, 3 deletions
diff --git a/app/src/main/res/drawable-hdpi/ic_folder_white_24dp.png b/app/src/main/res/drawable-hdpi/ic_folder_white_24dp.png Binary files differnew file mode 100644 index 00000000..02ea533a --- /dev/null +++ b/app/src/main/res/drawable-hdpi/ic_folder_white_24dp.png diff --git a/app/src/main/res/drawable-mdpi/ic_folder_white_24dp.png b/app/src/main/res/drawable-mdpi/ic_folder_white_24dp.png Binary files differnew file mode 100644 index 00000000..831d723b --- /dev/null +++ b/app/src/main/res/drawable-mdpi/ic_folder_white_24dp.png diff --git a/app/src/main/res/drawable-xhdpi/ic_folder_white_24dp.png b/app/src/main/res/drawable-xhdpi/ic_folder_white_24dp.png Binary files differnew file mode 100644 index 00000000..71a5a137 --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_folder_white_24dp.png diff --git a/app/src/main/res/drawable-xxhdpi/ic_folder_white_24dp.png b/app/src/main/res/drawable-xxhdpi/ic_folder_white_24dp.png Binary files differnew file mode 100644 index 00000000..b93d5a1e --- /dev/null +++ b/app/src/main/res/drawable-xxhdpi/ic_folder_white_24dp.png diff --git a/app/src/main/res/drawable-xxxhdpi/ic_folder_white_24dp.png b/app/src/main/res/drawable-xxxhdpi/ic_folder_white_24dp.png Binary files differnew file mode 100644 index 00000000..a1afbe9d --- /dev/null +++ b/app/src/main/res/drawable-xxxhdpi/ic_folder_white_24dp.png diff --git a/app/src/main/res/layout/select_folder_layout.xml b/app/src/main/res/layout/select_folder_layout.xml new file mode 100644 index 00000000..142093ec --- /dev/null +++ b/app/src/main/res/layout/select_folder_layout.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout + android:id="@+id/pgp_handler_linearlayout" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"/> +</LinearLayout>
\ No newline at end of file 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 |