From 5e73b696d1ff7d39df933a6de5f89b46f8ace22a Mon Sep 17 00:00:00 2001 From: Thialfihar Date: Sun, 9 May 2010 19:51:21 +0000 Subject: new EncryptActivity to handle message and file encryption all in one --- AndroidManifest.xml | 14 +- res/anim/push_left_in.xml | 20 + res/anim/push_left_out.xml | 20 + res/anim/push_right_in.xml | 20 + res/anim/push_right_out.xml | 20 + res/drawable-hdpi/ic_next.png | Bin 0 -> 1722 bytes res/drawable-hdpi/ic_previous.png | Bin 0 -> 1712 bytes res/drawable-ldpi/ic_next.png | Bin 0 -> 916 bytes res/drawable-ldpi/ic_previous.png | Bin 0 -> 922 bytes res/drawable-mdpi/ic_next.png | Bin 0 -> 1360 bytes res/drawable-mdpi/ic_previous.png | Bin 0 -> 1352 bytes res/layout/encrypt.xml | 359 ++++++++++ res/layout/encrypt_file.xml | 4 +- res/values/strings.xml | 7 +- .../android/apg/DecryptMessageActivity.java | 2 +- .../thialfihar/android/apg/EncryptActivity.java | 783 +++++++++++++++++++++ .../android/apg/EncryptFileActivity.java | 520 -------------- .../android/apg/EncryptMessageActivity.java | 379 ---------- src/org/thialfihar/android/apg/Id.java | 1 + src/org/thialfihar/android/apg/MainActivity.java | 14 +- 20 files changed, 1239 insertions(+), 924 deletions(-) create mode 100644 res/anim/push_left_in.xml create mode 100644 res/anim/push_left_out.xml create mode 100644 res/anim/push_right_in.xml create mode 100644 res/anim/push_right_out.xml create mode 100644 res/drawable-hdpi/ic_next.png create mode 100644 res/drawable-hdpi/ic_previous.png create mode 100644 res/drawable-ldpi/ic_next.png create mode 100644 res/drawable-ldpi/ic_previous.png create mode 100644 res/drawable-mdpi/ic_next.png create mode 100644 res/drawable-mdpi/ic_previous.png create mode 100644 res/layout/encrypt.xml create mode 100644 src/org/thialfihar/android/apg/EncryptActivity.java delete mode 100644 src/org/thialfihar/android/apg/EncryptFileActivity.java delete mode 100644 src/org/thialfihar/android/apg/EncryptMessageActivity.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index aad122eb3..99d095a37 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -61,22 +61,12 @@ android:configChanges="keyboardHidden|orientation|keyboard"/> - - - - - - - diff --git a/res/anim/push_left_in.xml b/res/anim/push_left_in.xml new file mode 100644 index 000000000..b7d2d0da0 --- /dev/null +++ b/res/anim/push_left_in.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/res/anim/push_left_out.xml b/res/anim/push_left_out.xml new file mode 100644 index 000000000..6bdc0ce47 --- /dev/null +++ b/res/anim/push_left_out.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/res/anim/push_right_in.xml b/res/anim/push_right_in.xml new file mode 100644 index 000000000..89daae972 --- /dev/null +++ b/res/anim/push_right_in.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/res/anim/push_right_out.xml b/res/anim/push_right_out.xml new file mode 100644 index 000000000..b4b796b52 --- /dev/null +++ b/res/anim/push_right_out.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/res/drawable-hdpi/ic_next.png b/res/drawable-hdpi/ic_next.png new file mode 100644 index 000000000..d71058055 Binary files /dev/null and b/res/drawable-hdpi/ic_next.png differ diff --git a/res/drawable-hdpi/ic_previous.png b/res/drawable-hdpi/ic_previous.png new file mode 100644 index 000000000..d610e4667 Binary files /dev/null and b/res/drawable-hdpi/ic_previous.png differ diff --git a/res/drawable-ldpi/ic_next.png b/res/drawable-ldpi/ic_next.png new file mode 100644 index 000000000..474ed8faa Binary files /dev/null and b/res/drawable-ldpi/ic_next.png differ diff --git a/res/drawable-ldpi/ic_previous.png b/res/drawable-ldpi/ic_previous.png new file mode 100644 index 000000000..6fd885e6b Binary files /dev/null and b/res/drawable-ldpi/ic_previous.png differ diff --git a/res/drawable-mdpi/ic_next.png b/res/drawable-mdpi/ic_next.png new file mode 100644 index 000000000..8271c1380 Binary files /dev/null and b/res/drawable-mdpi/ic_next.png differ diff --git a/res/drawable-mdpi/ic_previous.png b/res/drawable-mdpi/ic_previous.png new file mode 100644 index 000000000..ef90db972 Binary files /dev/null and b/res/drawable-mdpi/ic_previous.png differ diff --git a/res/layout/encrypt.xml b/res/layout/encrypt.xml new file mode 100644 index 000000000..333b38941 --- /dev/null +++ b/res/layout/encrypt.xml @@ -0,0 +1,359 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +