From 86ff7a660c194ed908c37344b543368a3f85d7df Mon Sep 17 00:00:00 2001 From: Zeapo Date: Wed, 30 Jul 2014 02:42:22 +0100 Subject: some visual update (fragment list is kept at position) and a preparation for decrypt activity --- app/src/main/AndroidManifest.xml | 6 + .../zeapo/pwdstore/OpenPgpProviderActivity.java | 382 +++++++++++++++++++++ .../java/com/zeapo/pwdstore/PasswordFragment.java | 2 +- .../com/zeapo/pwdstore/PasswordRepository.java | 17 +- .../java/com/zeapo/pwdstore/PasswordStore.java | 63 ++-- .../main/java/com/zeapo/pwdstore/PgpHandler.java | 56 +++ .../java/com/zeapo/pwdstore/UserPreference.java | 13 + app/src/main/res/layout/activity_pgp_handler.xml | 17 + app/src/main/res/layout/openpgp_provider.xml | 158 +++++++++ app/src/main/res/menu/agp_intents.xml | 8 + app/src/main/res/menu/pgp_handler.xml | 8 + app/src/main/res/menu/pwdstore.xml | 6 + app/src/main/res/values-large/refs.xml | 14 + app/src/main/res/values-sw600dp/refs.xml | 14 + app/src/main/res/values/arrays.xml | 26 ++ app/src/main/res/values/refs.xml | 14 + app/src/main/res/values/strings.xml | 3 +- .../main/res/values/strings_activity_git_clone.xml | 15 - app/src/main/res/xml/preference.xml | 12 + 19 files changed, 779 insertions(+), 55 deletions(-) create mode 100644 app/src/main/java/com/zeapo/pwdstore/OpenPgpProviderActivity.java create mode 100644 app/src/main/java/com/zeapo/pwdstore/PgpHandler.java create mode 100644 app/src/main/java/com/zeapo/pwdstore/UserPreference.java create mode 100644 app/src/main/res/layout/activity_pgp_handler.xml create mode 100644 app/src/main/res/layout/openpgp_provider.xml create mode 100644 app/src/main/res/menu/agp_intents.xml create mode 100644 app/src/main/res/menu/pgp_handler.xml create mode 100644 app/src/main/res/values-large/refs.xml create mode 100644 app/src/main/res/values-sw600dp/refs.xml create mode 100644 app/src/main/res/values/refs.xml delete mode 100644 app/src/main/res/values/strings_activity_git_clone.xml create mode 100644 app/src/main/res/xml/preference.xml (limited to 'app/src') diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 16210fdc..edec0fa1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -24,6 +24,12 @@ android:name=".GitClone" android:label="@string/title_activity_git_clone" > + + + + + + @layout/fragment_password_grid + + \ No newline at end of file diff --git a/app/src/main/res/values-sw600dp/refs.xml b/app/src/main/res/values-sw600dp/refs.xml new file mode 100644 index 00000000..975e10fa --- /dev/null +++ b/app/src/main/res/values-sw600dp/refs.xml @@ -0,0 +1,14 @@ + + + + + + @layout/fragment_password_grid + + \ No newline at end of file diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 1e27627b..b0a3dc7c 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -9,4 +9,30 @@ https:// http:// + + + + Every 1 second + + Every 5 seconds + + Every 30 seconds + + Every 1 minute + + Every 5 minutes + + + + + 1000 + + 5000 + + 30000 + + 60000 + + 300000 + \ No newline at end of file diff --git a/app/src/main/res/values/refs.xml b/app/src/main/res/values/refs.xml new file mode 100644 index 00000000..46592ab7 --- /dev/null +++ b/app/src/main/res/values/refs.xml @@ -0,0 +1,14 @@ + + + + + + @layout/fragment_password_list + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3ff38c1c..c7e63c85 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -9,7 +9,7 @@ Target directory already exist. Current version support only a single store. Do you want to delete the current password store directory? Delete directory Cancel - + Clone repository Password store empty @@ -22,5 +22,6 @@ The installed APG version is not supported. Password Store doesn\'t have permission to access APG fully, please reinstall Password Store to fix that. AgpIntentsActivity + PgpHandler diff --git a/app/src/main/res/values/strings_activity_git_clone.xml b/app/src/main/res/values/strings_activity_git_clone.xml deleted file mode 100644 index bde00dba..00000000 --- a/app/src/main/res/values/strings_activity_git_clone.xml +++ /dev/null @@ -1,15 +0,0 @@ - - Clone Repository - - - Email - Password (optional) - Sign in or register - Sign in - Switch Google+ account - Disconnect from Google+ - This email address is invalid - This password is too short - This password is incorrect - This field is required - diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml new file mode 100644 index 00000000..402a1bd3 --- /dev/null +++ b/app/src/main/res/xml/preference.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file -- cgit v1.2.3