From 84d00abea113c6561519c2481245eff0253b15a2 Mon Sep 17 00:00:00 2001 From: Thialfihar Date: Sat, 5 Jun 2010 21:47:16 +0000 Subject: [PATCH] added search feature for key management and select Activities --- AndroidManifest.xml | 48 +++++++- res/layout/filter_info.xml | 23 ++++ res/layout/key_list.xml | 11 +- res/layout/select_public_key.xml | 2 + res/layout/select_secret_key.xml | 2 + res/values-de/strings.xml | 11 ++ res/values-ko/strings.xml | 11 ++ res/values-ru/strings.xml | 11 ++ res/values-sl/strings.xml | 11 ++ res/values/strings.xml | 8 +- res/xml/searchable_public_keys.xml | 6 + res/xml/searchable_secret_keys.xml | 6 + src/org/thialfihar/android/apg/Apg.java | 14 +++ .../android/apg/GeneralActivity.java | 4 +- .../android/apg/KeyListActivity.java | 110 +++++++++++++++++- .../apg/SelectPublicKeyListActivity.java | 104 +++++++++++++---- .../apg/SelectPublicKeyListAdapter.java | 51 +++++++- .../apg/SelectSecretKeyListActivity.java | 52 ++++++++- .../apg/SelectSecretKeyListAdapter.java | 36 +++++- .../android/apg/provider/DataProvider.java | 40 +++---- 20 files changed, 486 insertions(+), 75 deletions(-) create mode 100644 res/layout/filter_info.xml create mode 100644 res/xml/searchable_public_keys.xml create mode 100644 res/xml/searchable_secret_keys.xml diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 6a794b1b9..d05b0e020 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -38,12 +38,34 @@ + android:configChanges="keyboardHidden|orientation|keyboard" + android:launchMode="singleTop"> + + + + + + + + + android:configChanges="keyboardHidden|orientation|keyboard" + android:launchMode="singleTop"> + + + + + + + + + android:configChanges="keyboardHidden|orientation|keyboard" + android:launchMode="singleTop"> @@ -61,12 +84,21 @@ + + + + + + + android:configChanges="keyboardHidden|orientation|keyboard" + android:launchMode="singleTop"> @@ -74,6 +106,14 @@ + + + + + + + + + + +