aboutsummaryrefslogtreecommitdiffstats
path: root/APG/res
diff options
context:
space:
mode:
authorDominik <dominik@dominikschuermann.de>2012-11-19 17:56:58 +0100
committerDominik <dominik@dominikschuermann.de>2012-11-19 17:56:58 +0100
commitbe569984b893e8cb412b9cc2b3826c92fd4c9d81 (patch)
tree150dc6b112aecde5d34b5d0cc23f4bb35b7fcb3f /APG/res
parente8ec4d280c75dc1aa5eb58dfaf49b35c9b6c8776 (diff)
downloadopen-keychain-be569984b893e8cb412b9cc2b3826c92fd4c9d81.tar.gz
open-keychain-be569984b893e8cb412b9cc2b3826c92fd4c9d81.tar.bz2
open-keychain-be569984b893e8cb412b9cc2b3826c92fd4c9d81.zip
rename main folders
Diffstat (limited to 'APG/res')
-rw-r--r--APG/res/anim/push_left_in.xml20
-rw-r--r--APG/res/anim/push_left_out.xml20
-rw-r--r--APG/res/anim/push_right_in.xml20
-rw-r--r--APG/res/anim/push_right_out.xml20
-rw-r--r--APG/res/drawable-finger/btn_circle.xml32
-rw-r--r--APG/res/drawable-hdpi-finger/btn_circle_disable.pngbin0 -> 2631 bytes
-rw-r--r--APG/res/drawable-hdpi-finger/btn_circle_disable_focused.pngbin0 -> 3001 bytes
-rw-r--r--APG/res/drawable-hdpi-finger/btn_circle_normal.pngbin0 -> 1974 bytes
-rw-r--r--APG/res/drawable-hdpi-finger/btn_circle_pressed.pngbin0 -> 2624 bytes
-rw-r--r--APG/res/drawable-hdpi-finger/btn_circle_selected.pngbin0 -> 2554 bytes
-rw-r--r--APG/res/drawable-hdpi-finger/ic_btn_round_minus.pngbin0 -> 536 bytes
-rw-r--r--APG/res/drawable-hdpi-finger/ic_btn_round_plus.pngbin0 -> 1316 bytes
-rw-r--r--APG/res/drawable-hdpi/abs__ab_bottom_solid_light_holo.9.pngbin0 -> 144 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_decrypt_default.pngbin0 -> 4996 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_decrypt_pressed.pngbin0 -> 5032 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_encrypt_default.pngbin0 -> 4926 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_encrypt_pressed.pngbin0 -> 4967 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_help_default.pngbin0 -> 8607 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_help_pressed.pngbin0 -> 8343 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_manage_keys_default.pngbin0 -> 7306 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_manage_keys_pressed.pngbin0 -> 7147 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_my_keys_default.pngbin0 -> 5438 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_my_keys_pressed.pngbin0 -> 5414 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_scan_qrcode_default.pngbin0 -> 4241 bytes
-rw-r--r--APG/res/drawable-hdpi/dashboard_scan_qrcode_pressed.pngbin0 -> 4418 bytes
-rw-r--r--APG/res/drawable-hdpi/encrypted.pngbin0 -> 3561 bytes
-rw-r--r--APG/res/drawable-hdpi/encrypted_large.pngbin0 -> 5244 bytes
-rw-r--r--APG/res/drawable-hdpi/encrypted_small.pngbin0 -> 2187 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_menu_about.pngbin0 -> 1764 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_menu_decrypt.pngbin0 -> 1387 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_menu_encrypt.pngbin0 -> 1384 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_menu_filebrowser.pngbin0 -> 1443 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_menu_scan_qrcode.pngbin0 -> 1762 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_menu_search.pngbin0 -> 1218 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_menu_search_list.pngbin0 -> 1190 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_menu_settings.pngbin0 -> 1227 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_next.pngbin0 -> 1722 bytes
-rw-r--r--APG/res/drawable-hdpi/ic_previous.pngbin0 -> 1712 bytes
-rw-r--r--APG/res/drawable-hdpi/icon.pngbin0 -> 5308 bytes
-rw-r--r--APG/res/drawable-hdpi/key.pngbin0 -> 3675 bytes
-rw-r--r--APG/res/drawable-hdpi/key_large.pngbin0 -> 5550 bytes
-rw-r--r--APG/res/drawable-hdpi/key_small.pngbin0 -> 2088 bytes
-rw-r--r--APG/res/drawable-hdpi/overlay_error.pngbin0 -> 1986 bytes
-rw-r--r--APG/res/drawable-hdpi/overlay_ok.pngbin0 -> 1702 bytes
-rw-r--r--APG/res/drawable-hdpi/signed.pngbin0 -> 3858 bytes
-rw-r--r--APG/res/drawable-hdpi/signed_large.pngbin0 -> 5928 bytes
-rw-r--r--APG/res/drawable-hdpi/signed_small.pngbin0 -> 2219 bytes
-rw-r--r--APG/res/drawable-ldpi/encrypted.pngbin0 -> 1513 bytes
-rw-r--r--APG/res/drawable-ldpi/encrypted_large.pngbin0 -> 2486 bytes
-rw-r--r--APG/res/drawable-ldpi/encrypted_small.pngbin0 -> 1176 bytes
-rw-r--r--APG/res/drawable-ldpi/ic_next.pngbin0 -> 916 bytes
-rw-r--r--APG/res/drawable-ldpi/ic_previous.pngbin0 -> 922 bytes
-rw-r--r--APG/res/drawable-ldpi/icon.pngbin0 -> 2027 bytes
-rw-r--r--APG/res/drawable-ldpi/key.pngbin0 -> 1484 bytes
-rw-r--r--APG/res/drawable-ldpi/key_large.pngbin0 -> 2462 bytes
-rw-r--r--APG/res/drawable-ldpi/key_small.pngbin0 -> 1074 bytes
-rw-r--r--APG/res/drawable-ldpi/overlay_error.pngbin0 -> 1192 bytes
-rw-r--r--APG/res/drawable-ldpi/overlay_ok.pngbin0 -> 1038 bytes
-rw-r--r--APG/res/drawable-ldpi/signed.pngbin0 -> 1576 bytes
-rw-r--r--APG/res/drawable-ldpi/signed_large.pngbin0 -> 2611 bytes
-rw-r--r--APG/res/drawable-ldpi/signed_small.pngbin0 -> 1149 bytes
-rw-r--r--APG/res/drawable-mdpi-finger/btn_circle_disable.pngbin0 -> 938 bytes
-rw-r--r--APG/res/drawable-mdpi-finger/btn_circle_disable_focused.pngbin0 -> 1436 bytes
-rw-r--r--APG/res/drawable-mdpi-finger/btn_circle_normal.pngbin0 -> 1249 bytes
-rw-r--r--APG/res/drawable-mdpi-finger/btn_circle_pressed.pngbin0 -> 1613 bytes
-rw-r--r--APG/res/drawable-mdpi-finger/btn_circle_selected.pngbin0 -> 1645 bytes
-rw-r--r--APG/res/drawable-mdpi-finger/ic_btn_round_minus.pngbin0 -> 288 bytes
-rw-r--r--APG/res/drawable-mdpi-finger/ic_btn_round_plus.pngbin0 -> 526 bytes
-rw-r--r--APG/res/drawable-mdpi/abs__ab_bottom_solid_light_holo.9.pngbin0 -> 134 bytes
-rw-r--r--APG/res/drawable-mdpi/encrypted.pngbin0 -> 2486 bytes
-rw-r--r--APG/res/drawable-mdpi/encrypted_large.pngbin0 -> 3561 bytes
-rw-r--r--APG/res/drawable-mdpi/encrypted_small.pngbin0 -> 1513 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_menu_about.pngbin0 -> 1441 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_menu_decrypt.pngbin0 -> 1269 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_menu_encrypt.pngbin0 -> 1263 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_menu_filebrowser.pngbin0 -> 1307 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_menu_scan_qrcode.pngbin0 -> 1460 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_menu_search.pngbin0 -> 858 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_menu_search_list.pngbin0 -> 863 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_menu_settings.pngbin0 -> 866 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_next.pngbin0 -> 1360 bytes
-rw-r--r--APG/res/drawable-mdpi/ic_previous.pngbin0 -> 1352 bytes
-rw-r--r--APG/res/drawable-mdpi/icon.pngbin0 -> 3035 bytes
-rw-r--r--APG/res/drawable-mdpi/key.pngbin0 -> 2462 bytes
-rw-r--r--APG/res/drawable-mdpi/key_large.pngbin0 -> 3675 bytes
-rw-r--r--APG/res/drawable-mdpi/key_small.pngbin0 -> 1484 bytes
-rw-r--r--APG/res/drawable-mdpi/overlay_error.pngbin0 -> 1539 bytes
-rw-r--r--APG/res/drawable-mdpi/overlay_ok.pngbin0 -> 1305 bytes
-rw-r--r--APG/res/drawable-mdpi/signed.pngbin0 -> 2611 bytes
-rw-r--r--APG/res/drawable-mdpi/signed_large.pngbin0 -> 3858 bytes
-rw-r--r--APG/res/drawable-mdpi/signed_small.pngbin0 -> 1576 bytes
-rw-r--r--APG/res/drawable-xhdpi/abs__ab_bottom_solid_light_holo.9.pngbin0 -> 166 bytes
-rw-r--r--APG/res/drawable-xhdpi/ic_menu_about.pngbin0 -> 2257 bytes
-rw-r--r--APG/res/drawable-xhdpi/ic_menu_decrypt.pngbin0 -> 1542 bytes
-rw-r--r--APG/res/drawable-xhdpi/ic_menu_encrypt.pngbin0 -> 1542 bytes
-rw-r--r--APG/res/drawable-xhdpi/ic_menu_filebrowser.pngbin0 -> 1604 bytes
-rw-r--r--APG/res/drawable-xhdpi/ic_menu_scan_qrcode.pngbin0 -> 2048 bytes
-rw-r--r--APG/res/drawable-xhdpi/ic_menu_search.pngbin0 -> 1629 bytes
-rw-r--r--APG/res/drawable-xhdpi/ic_menu_search_list.pngbin0 -> 1571 bytes
-rw-r--r--APG/res/drawable-xhdpi/ic_menu_settings.pngbin0 -> 1622 bytes
-rw-r--r--APG/res/drawable-xhdpi/icon.pngbin0 -> 8165 bytes
-rw-r--r--APG/res/drawable/btn_circle_disable.pngbin0 -> 938 bytes
-rw-r--r--APG/res/drawable/btn_circle_disable_focused.pngbin0 -> 1436 bytes
-rw-r--r--APG/res/drawable/btn_circle_normal.pngbin0 -> 1249 bytes
-rw-r--r--APG/res/drawable/btn_circle_pressed.pngbin0 -> 1613 bytes
-rw-r--r--APG/res/drawable/btn_circle_selected.pngbin0 -> 1645 bytes
-rw-r--r--APG/res/drawable/dashboard_decrypt.xml28
-rw-r--r--APG/res/drawable/dashboard_encrypt.xml28
-rw-r--r--APG/res/drawable/dashboard_help.xml28
-rw-r--r--APG/res/drawable/dashboard_manage_keys.xml28
-rw-r--r--APG/res/drawable/dashboard_my_keys.xml28
-rw-r--r--APG/res/drawable/dashboard_scan_qrcode.xml28
-rw-r--r--APG/res/drawable/encrypted.pngbin0 -> 2486 bytes
-rw-r--r--APG/res/drawable/encrypted_large.pngbin0 -> 3561 bytes
-rw-r--r--APG/res/drawable/encrypted_small.pngbin0 -> 1513 bytes
-rw-r--r--APG/res/drawable/ic_btn_round_minus.pngbin0 -> 288 bytes
-rw-r--r--APG/res/drawable/ic_btn_round_plus.pngbin0 -> 526 bytes
-rw-r--r--APG/res/drawable/ic_launcher_folder.pngbin0 -> 2235 bytes
-rw-r--r--APG/res/drawable/ic_launcher_folder_small.pngbin0 -> 1522 bytes
-rw-r--r--APG/res/drawable/ic_next.pngbin0 -> 1360 bytes
-rw-r--r--APG/res/drawable/ic_previous.pngbin0 -> 1352 bytes
-rw-r--r--APG/res/drawable/key.pngbin0 -> 2462 bytes
-rw-r--r--APG/res/drawable/key_large.pngbin0 -> 3675 bytes
-rw-r--r--APG/res/drawable/key_small.pngbin0 -> 1484 bytes
-rw-r--r--APG/res/drawable/overlay_error.pngbin0 -> 1539 bytes
-rw-r--r--APG/res/drawable/overlay_ok.pngbin0 -> 1305 bytes
-rw-r--r--APG/res/drawable/section_header.xml11
-rw-r--r--APG/res/drawable/signed.pngbin0 -> 2611 bytes
-rw-r--r--APG/res/drawable/signed_large.pngbin0 -> 3858 bytes
-rw-r--r--APG/res/drawable/signed_small.pngbin0 -> 1576 bytes
-rw-r--r--APG/res/layout/account_item.xml35
-rw-r--r--APG/res/layout/create_key.xml73
-rw-r--r--APG/res/layout/decrypt.xml181
-rw-r--r--APG/res/layout/edit_key.xml59
-rw-r--r--APG/res/layout/edit_key_key_item.xml134
-rw-r--r--APG/res/layout/edit_key_section.xml57
-rw-r--r--APG/res/layout/edit_key_user_id_item.xml107
-rw-r--r--APG/res/layout/encrypt.xml306
-rw-r--r--APG/res/layout/file_dialog.xml49
-rw-r--r--APG/res/layout/filter_info.xml38
-rw-r--r--APG/res/layout/general.xml59
-rw-r--r--APG/res/layout/help_activity.xml14
-rw-r--r--APG/res/layout/help_fragment_about.xml62
-rw-r--r--APG/res/layout/import_from_qr_code.xml66
-rw-r--r--APG/res/layout/key_list_child_item.xml96
-rw-r--r--APG/res/layout/key_list_group_item.xml40
-rw-r--r--APG/res/layout/key_list_public_activity.xml25
-rw-r--r--APG/res/layout/key_list_secret_activity.xml25
-rw-r--r--APG/res/layout/key_server_editor.xml52
-rw-r--r--APG/res/layout/key_server_export_layout.xml34
-rw-r--r--APG/res/layout/key_server_preference.xml90
-rw-r--r--APG/res/layout/key_server_query_layout.xml53
-rw-r--r--APG/res/layout/key_server_query_result_item.xml97
-rw-r--r--APG/res/layout/key_server_query_result_user_id.xml26
-rw-r--r--APG/res/layout/main.xml124
-rw-r--r--APG/res/layout/passphrase.xml40
-rw-r--r--APG/res/layout/passphrase_repeat.xml62
-rw-r--r--APG/res/layout/select_key_item.xml82
-rw-r--r--APG/res/layout/select_public_key_activity.xml13
-rw-r--r--APG/res/layout/select_secret_key_activity.xml13
-rw-r--r--APG/res/layout/sign_key_layout.xml40
-rw-r--r--APG/res/raw/help_about.html31
-rw-r--r--APG/res/raw/help_changelog.html86
-rw-r--r--APG/res/raw/help_start.html27
-rw-r--r--APG/res/values/arrays.xml47
-rw-r--r--APG/res/values/colors.xml7
-rw-r--r--APG/res/values/static_strings.xml7
-rw-r--r--APG/res/values/strings.xml352
-rw-r--r--APG/res/values/styles.xml52
-rw-r--r--APG/res/xml/apg_preferences.xml63
-rw-r--r--APG/res/xml/searchable_public_keys.xml22
-rw-r--r--APG/res/xml/searchable_secret_keys.xml22
172 files changed, 3159 insertions, 0 deletions
diff --git a/APG/res/anim/push_left_in.xml b/APG/res/anim/push_left_in.xml
new file mode 100644
index 000000000..45fb4875a
--- /dev/null
+++ b/APG/res/anim/push_left_in.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="500"/>
+ <alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:duration="500" />
+</set>
diff --git a/APG/res/anim/push_left_out.xml b/APG/res/anim/push_left_out.xml
new file mode 100644
index 000000000..845679f16
--- /dev/null
+++ b/APG/res/anim/push_left_out.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <translate android:fromXDelta="0" android:toXDelta="-100%p" android:duration="500"/>
+ <alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:duration="500" />
+</set> \ No newline at end of file
diff --git a/APG/res/anim/push_right_in.xml b/APG/res/anim/push_right_in.xml
new file mode 100644
index 000000000..09a244406
--- /dev/null
+++ b/APG/res/anim/push_right_in.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <translate android:fromXDelta="-100%p" android:toXDelta="0" android:duration="500"/>
+ <alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:duration="500" />
+</set>
diff --git a/APG/res/anim/push_right_out.xml b/APG/res/anim/push_right_out.xml
new file mode 100644
index 000000000..e8893a69a
--- /dev/null
+++ b/APG/res/anim/push_right_out.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <translate android:fromXDelta="0" android:toXDelta="100%p" android:duration="500"/>
+ <alpha android:fromAlpha="1.0" android:toAlpha="1.0" android:duration="500" />
+</set> \ No newline at end of file
diff --git a/APG/res/drawable-finger/btn_circle.xml b/APG/res/drawable-finger/btn_circle.xml
new file mode 100644
index 000000000..6c3c7fc1a
--- /dev/null
+++ b/APG/res/drawable-finger/btn_circle.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_window_focused="false" android:state_enabled="true"
+ android:drawable="@drawable/btn_circle_normal" />
+ <item android:state_window_focused="false" android:state_enabled="false"
+ android:drawable="@drawable/btn_circle_disable" />
+ <item android:state_pressed="true"
+ android:drawable="@drawable/btn_circle_pressed" />
+ <item android:state_focused="true" android:state_enabled="true"
+ android:drawable="@drawable/btn_circle_selected" />
+ <item android:state_enabled="true"
+ android:drawable="@drawable/btn_circle_normal" />
+ <item android:state_focused="true"
+ android:drawable="@drawable/btn_circle_disable_focused" />
+ <item
+ android:drawable="@drawable/btn_circle_disable" />
+</selector>
diff --git a/APG/res/drawable-hdpi-finger/btn_circle_disable.png b/APG/res/drawable-hdpi-finger/btn_circle_disable.png
new file mode 100644
index 000000000..ae063b545
--- /dev/null
+++ b/APG/res/drawable-hdpi-finger/btn_circle_disable.png
Binary files differ
diff --git a/APG/res/drawable-hdpi-finger/btn_circle_disable_focused.png b/APG/res/drawable-hdpi-finger/btn_circle_disable_focused.png
new file mode 100644
index 000000000..7a5d4fe4e
--- /dev/null
+++ b/APG/res/drawable-hdpi-finger/btn_circle_disable_focused.png
Binary files differ
diff --git a/APG/res/drawable-hdpi-finger/btn_circle_normal.png b/APG/res/drawable-hdpi-finger/btn_circle_normal.png
new file mode 100644
index 000000000..5eda66883
--- /dev/null
+++ b/APG/res/drawable-hdpi-finger/btn_circle_normal.png
Binary files differ
diff --git a/APG/res/drawable-hdpi-finger/btn_circle_pressed.png b/APG/res/drawable-hdpi-finger/btn_circle_pressed.png
new file mode 100644
index 000000000..88848bac2
--- /dev/null
+++ b/APG/res/drawable-hdpi-finger/btn_circle_pressed.png
Binary files differ
diff --git a/APG/res/drawable-hdpi-finger/btn_circle_selected.png b/APG/res/drawable-hdpi-finger/btn_circle_selected.png
new file mode 100644
index 000000000..74690705f
--- /dev/null
+++ b/APG/res/drawable-hdpi-finger/btn_circle_selected.png
Binary files differ
diff --git a/APG/res/drawable-hdpi-finger/ic_btn_round_minus.png b/APG/res/drawable-hdpi-finger/ic_btn_round_minus.png
new file mode 100644
index 000000000..27af3faf4
--- /dev/null
+++ b/APG/res/drawable-hdpi-finger/ic_btn_round_minus.png
Binary files differ
diff --git a/APG/res/drawable-hdpi-finger/ic_btn_round_plus.png b/APG/res/drawable-hdpi-finger/ic_btn_round_plus.png
new file mode 100644
index 000000000..b24168c32
--- /dev/null
+++ b/APG/res/drawable-hdpi-finger/ic_btn_round_plus.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/abs__ab_bottom_solid_light_holo.9.png b/APG/res/drawable-hdpi/abs__ab_bottom_solid_light_holo.9.png
new file mode 100644
index 000000000..73050476e
--- /dev/null
+++ b/APG/res/drawable-hdpi/abs__ab_bottom_solid_light_holo.9.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_decrypt_default.png b/APG/res/drawable-hdpi/dashboard_decrypt_default.png
new file mode 100644
index 000000000..0d51bcb68
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_decrypt_default.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_decrypt_pressed.png b/APG/res/drawable-hdpi/dashboard_decrypt_pressed.png
new file mode 100644
index 000000000..d4cc0f8ea
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_decrypt_pressed.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_encrypt_default.png b/APG/res/drawable-hdpi/dashboard_encrypt_default.png
new file mode 100644
index 000000000..07617bb9d
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_encrypt_default.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_encrypt_pressed.png b/APG/res/drawable-hdpi/dashboard_encrypt_pressed.png
new file mode 100644
index 000000000..b8fe6e1d6
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_encrypt_pressed.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_help_default.png b/APG/res/drawable-hdpi/dashboard_help_default.png
new file mode 100644
index 000000000..233fddffc
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_help_default.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_help_pressed.png b/APG/res/drawable-hdpi/dashboard_help_pressed.png
new file mode 100644
index 000000000..dad8694f8
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_help_pressed.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_manage_keys_default.png b/APG/res/drawable-hdpi/dashboard_manage_keys_default.png
new file mode 100644
index 000000000..de83398c2
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_manage_keys_default.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_manage_keys_pressed.png b/APG/res/drawable-hdpi/dashboard_manage_keys_pressed.png
new file mode 100644
index 000000000..a86bc1bf9
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_manage_keys_pressed.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_my_keys_default.png b/APG/res/drawable-hdpi/dashboard_my_keys_default.png
new file mode 100644
index 000000000..f8b54961e
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_my_keys_default.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_my_keys_pressed.png b/APG/res/drawable-hdpi/dashboard_my_keys_pressed.png
new file mode 100644
index 000000000..6a5c92138
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_my_keys_pressed.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_scan_qrcode_default.png b/APG/res/drawable-hdpi/dashboard_scan_qrcode_default.png
new file mode 100644
index 000000000..632a8ce62
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_scan_qrcode_default.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/dashboard_scan_qrcode_pressed.png b/APG/res/drawable-hdpi/dashboard_scan_qrcode_pressed.png
new file mode 100644
index 000000000..62a7a05ab
--- /dev/null
+++ b/APG/res/drawable-hdpi/dashboard_scan_qrcode_pressed.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/encrypted.png b/APG/res/drawable-hdpi/encrypted.png
new file mode 100644
index 000000000..541781cd1
--- /dev/null
+++ b/APG/res/drawable-hdpi/encrypted.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/encrypted_large.png b/APG/res/drawable-hdpi/encrypted_large.png
new file mode 100644
index 000000000..209278377
--- /dev/null
+++ b/APG/res/drawable-hdpi/encrypted_large.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/encrypted_small.png b/APG/res/drawable-hdpi/encrypted_small.png
new file mode 100644
index 000000000..3ff8e9b97
--- /dev/null
+++ b/APG/res/drawable-hdpi/encrypted_small.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_menu_about.png b/APG/res/drawable-hdpi/ic_menu_about.png
new file mode 100644
index 000000000..8f39c428a
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_menu_about.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_menu_decrypt.png b/APG/res/drawable-hdpi/ic_menu_decrypt.png
new file mode 100644
index 000000000..6b98ad50c
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_menu_decrypt.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_menu_encrypt.png b/APG/res/drawable-hdpi/ic_menu_encrypt.png
new file mode 100644
index 000000000..58689b43a
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_menu_encrypt.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_menu_filebrowser.png b/APG/res/drawable-hdpi/ic_menu_filebrowser.png
new file mode 100644
index 000000000..3db304fa8
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_menu_filebrowser.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_menu_scan_qrcode.png b/APG/res/drawable-hdpi/ic_menu_scan_qrcode.png
new file mode 100644
index 000000000..b119b1999
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_menu_scan_qrcode.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_menu_search.png b/APG/res/drawable-hdpi/ic_menu_search.png
new file mode 100644
index 000000000..1cb61faf4
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_menu_search.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_menu_search_list.png b/APG/res/drawable-hdpi/ic_menu_search_list.png
new file mode 100644
index 000000000..efee6dfd2
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_menu_search_list.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_menu_settings.png b/APG/res/drawable-hdpi/ic_menu_settings.png
new file mode 100644
index 000000000..577e05587
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_menu_settings.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_next.png b/APG/res/drawable-hdpi/ic_next.png
new file mode 100644
index 000000000..d71058055
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_next.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/ic_previous.png b/APG/res/drawable-hdpi/ic_previous.png
new file mode 100644
index 000000000..d610e4667
--- /dev/null
+++ b/APG/res/drawable-hdpi/ic_previous.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/icon.png b/APG/res/drawable-hdpi/icon.png
new file mode 100644
index 000000000..6b8cc3d73
--- /dev/null
+++ b/APG/res/drawable-hdpi/icon.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/key.png b/APG/res/drawable-hdpi/key.png
new file mode 100644
index 000000000..af4742ec0
--- /dev/null
+++ b/APG/res/drawable-hdpi/key.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/key_large.png b/APG/res/drawable-hdpi/key_large.png
new file mode 100644
index 000000000..590f7d5a4
--- /dev/null
+++ b/APG/res/drawable-hdpi/key_large.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/key_small.png b/APG/res/drawable-hdpi/key_small.png
new file mode 100644
index 000000000..6966048a1
--- /dev/null
+++ b/APG/res/drawable-hdpi/key_small.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/overlay_error.png b/APG/res/drawable-hdpi/overlay_error.png
new file mode 100644
index 000000000..e6d7e60ba
--- /dev/null
+++ b/APG/res/drawable-hdpi/overlay_error.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/overlay_ok.png b/APG/res/drawable-hdpi/overlay_ok.png
new file mode 100644
index 000000000..0672f869d
--- /dev/null
+++ b/APG/res/drawable-hdpi/overlay_ok.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/signed.png b/APG/res/drawable-hdpi/signed.png
new file mode 100644
index 000000000..ab9495e7b
--- /dev/null
+++ b/APG/res/drawable-hdpi/signed.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/signed_large.png b/APG/res/drawable-hdpi/signed_large.png
new file mode 100644
index 000000000..c209f4167
--- /dev/null
+++ b/APG/res/drawable-hdpi/signed_large.png
Binary files differ
diff --git a/APG/res/drawable-hdpi/signed_small.png b/APG/res/drawable-hdpi/signed_small.png
new file mode 100644
index 000000000..54c4906e8
--- /dev/null
+++ b/APG/res/drawable-hdpi/signed_small.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/encrypted.png b/APG/res/drawable-ldpi/encrypted.png
new file mode 100644
index 000000000..bcd8cfc8e
--- /dev/null
+++ b/APG/res/drawable-ldpi/encrypted.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/encrypted_large.png b/APG/res/drawable-ldpi/encrypted_large.png
new file mode 100644
index 000000000..34c3d3f97
--- /dev/null
+++ b/APG/res/drawable-ldpi/encrypted_large.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/encrypted_small.png b/APG/res/drawable-ldpi/encrypted_small.png
new file mode 100644
index 000000000..5e7294a4b
--- /dev/null
+++ b/APG/res/drawable-ldpi/encrypted_small.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/ic_next.png b/APG/res/drawable-ldpi/ic_next.png
new file mode 100644
index 000000000..474ed8faa
--- /dev/null
+++ b/APG/res/drawable-ldpi/ic_next.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/ic_previous.png b/APG/res/drawable-ldpi/ic_previous.png
new file mode 100644
index 000000000..6fd885e6b
--- /dev/null
+++ b/APG/res/drawable-ldpi/ic_previous.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/icon.png b/APG/res/drawable-ldpi/icon.png
new file mode 100644
index 000000000..a1adf6bcb
--- /dev/null
+++ b/APG/res/drawable-ldpi/icon.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/key.png b/APG/res/drawable-ldpi/key.png
new file mode 100644
index 000000000..c806b6041
--- /dev/null
+++ b/APG/res/drawable-ldpi/key.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/key_large.png b/APG/res/drawable-ldpi/key_large.png
new file mode 100644
index 000000000..aa499a5e1
--- /dev/null
+++ b/APG/res/drawable-ldpi/key_large.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/key_small.png b/APG/res/drawable-ldpi/key_small.png
new file mode 100644
index 000000000..073b95029
--- /dev/null
+++ b/APG/res/drawable-ldpi/key_small.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/overlay_error.png b/APG/res/drawable-ldpi/overlay_error.png
new file mode 100644
index 000000000..e5a88e18f
--- /dev/null
+++ b/APG/res/drawable-ldpi/overlay_error.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/overlay_ok.png b/APG/res/drawable-ldpi/overlay_ok.png
new file mode 100644
index 000000000..63374d47f
--- /dev/null
+++ b/APG/res/drawable-ldpi/overlay_ok.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/signed.png b/APG/res/drawable-ldpi/signed.png
new file mode 100644
index 000000000..4202c3f97
--- /dev/null
+++ b/APG/res/drawable-ldpi/signed.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/signed_large.png b/APG/res/drawable-ldpi/signed_large.png
new file mode 100644
index 000000000..d2917644c
--- /dev/null
+++ b/APG/res/drawable-ldpi/signed_large.png
Binary files differ
diff --git a/APG/res/drawable-ldpi/signed_small.png b/APG/res/drawable-ldpi/signed_small.png
new file mode 100644
index 000000000..19d45f8da
--- /dev/null
+++ b/APG/res/drawable-ldpi/signed_small.png
Binary files differ
diff --git a/APG/res/drawable-mdpi-finger/btn_circle_disable.png b/APG/res/drawable-mdpi-finger/btn_circle_disable.png
new file mode 100644
index 000000000..33b74a66c
--- /dev/null
+++ b/APG/res/drawable-mdpi-finger/btn_circle_disable.png
Binary files differ
diff --git a/APG/res/drawable-mdpi-finger/btn_circle_disable_focused.png b/APG/res/drawable-mdpi-finger/btn_circle_disable_focused.png
new file mode 100644
index 000000000..005ad8dca
--- /dev/null
+++ b/APG/res/drawable-mdpi-finger/btn_circle_disable_focused.png
Binary files differ
diff --git a/APG/res/drawable-mdpi-finger/btn_circle_normal.png b/APG/res/drawable-mdpi-finger/btn_circle_normal.png
new file mode 100644
index 000000000..fc5af1c9f
--- /dev/null
+++ b/APG/res/drawable-mdpi-finger/btn_circle_normal.png
Binary files differ
diff --git a/APG/res/drawable-mdpi-finger/btn_circle_pressed.png b/APG/res/drawable-mdpi-finger/btn_circle_pressed.png
new file mode 100644
index 000000000..8f40afdfc
--- /dev/null
+++ b/APG/res/drawable-mdpi-finger/btn_circle_pressed.png
Binary files differ
diff --git a/APG/res/drawable-mdpi-finger/btn_circle_selected.png b/APG/res/drawable-mdpi-finger/btn_circle_selected.png
new file mode 100644
index 000000000..c74fac227
--- /dev/null
+++ b/APG/res/drawable-mdpi-finger/btn_circle_selected.png
Binary files differ
diff --git a/APG/res/drawable-mdpi-finger/ic_btn_round_minus.png b/APG/res/drawable-mdpi-finger/ic_btn_round_minus.png
new file mode 100644
index 000000000..96dbb17d2
--- /dev/null
+++ b/APG/res/drawable-mdpi-finger/ic_btn_round_minus.png
Binary files differ
diff --git a/APG/res/drawable-mdpi-finger/ic_btn_round_plus.png b/APG/res/drawable-mdpi-finger/ic_btn_round_plus.png
new file mode 100644
index 000000000..1ec8a956a
--- /dev/null
+++ b/APG/res/drawable-mdpi-finger/ic_btn_round_plus.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/abs__ab_bottom_solid_light_holo.9.png b/APG/res/drawable-mdpi/abs__ab_bottom_solid_light_holo.9.png
new file mode 100644
index 000000000..0706c8af6
--- /dev/null
+++ b/APG/res/drawable-mdpi/abs__ab_bottom_solid_light_holo.9.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/encrypted.png b/APG/res/drawable-mdpi/encrypted.png
new file mode 100644
index 000000000..34c3d3f97
--- /dev/null
+++ b/APG/res/drawable-mdpi/encrypted.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/encrypted_large.png b/APG/res/drawable-mdpi/encrypted_large.png
new file mode 100644
index 000000000..541781cd1
--- /dev/null
+++ b/APG/res/drawable-mdpi/encrypted_large.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/encrypted_small.png b/APG/res/drawable-mdpi/encrypted_small.png
new file mode 100644
index 000000000..bcd8cfc8e
--- /dev/null
+++ b/APG/res/drawable-mdpi/encrypted_small.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_menu_about.png b/APG/res/drawable-mdpi/ic_menu_about.png
new file mode 100644
index 000000000..7c57436fc
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_menu_about.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_menu_decrypt.png b/APG/res/drawable-mdpi/ic_menu_decrypt.png
new file mode 100644
index 000000000..84557bbee
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_menu_decrypt.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_menu_encrypt.png b/APG/res/drawable-mdpi/ic_menu_encrypt.png
new file mode 100644
index 000000000..4ee0de4af
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_menu_encrypt.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_menu_filebrowser.png b/APG/res/drawable-mdpi/ic_menu_filebrowser.png
new file mode 100644
index 000000000..fda13f1be
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_menu_filebrowser.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_menu_scan_qrcode.png b/APG/res/drawable-mdpi/ic_menu_scan_qrcode.png
new file mode 100644
index 000000000..08fb51400
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_menu_scan_qrcode.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_menu_search.png b/APG/res/drawable-mdpi/ic_menu_search.png
new file mode 100644
index 000000000..2369d03f3
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_menu_search.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_menu_search_list.png b/APG/res/drawable-mdpi/ic_menu_search_list.png
new file mode 100644
index 000000000..9033f1ec2
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_menu_search_list.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_menu_settings.png b/APG/res/drawable-mdpi/ic_menu_settings.png
new file mode 100644
index 000000000..f32a37e44
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_menu_settings.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_next.png b/APG/res/drawable-mdpi/ic_next.png
new file mode 100644
index 000000000..8271c1380
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_next.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/ic_previous.png b/APG/res/drawable-mdpi/ic_previous.png
new file mode 100644
index 000000000..ef90db972
--- /dev/null
+++ b/APG/res/drawable-mdpi/ic_previous.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/icon.png b/APG/res/drawable-mdpi/icon.png
new file mode 100644
index 000000000..6b10a2ad3
--- /dev/null
+++ b/APG/res/drawable-mdpi/icon.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/key.png b/APG/res/drawable-mdpi/key.png
new file mode 100644
index 000000000..aa499a5e1
--- /dev/null
+++ b/APG/res/drawable-mdpi/key.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/key_large.png b/APG/res/drawable-mdpi/key_large.png
new file mode 100644
index 000000000..af4742ec0
--- /dev/null
+++ b/APG/res/drawable-mdpi/key_large.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/key_small.png b/APG/res/drawable-mdpi/key_small.png
new file mode 100644
index 000000000..c806b6041
--- /dev/null
+++ b/APG/res/drawable-mdpi/key_small.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/overlay_error.png b/APG/res/drawable-mdpi/overlay_error.png
new file mode 100644
index 000000000..5fe017433
--- /dev/null
+++ b/APG/res/drawable-mdpi/overlay_error.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/overlay_ok.png b/APG/res/drawable-mdpi/overlay_ok.png
new file mode 100644
index 000000000..b4f332260
--- /dev/null
+++ b/APG/res/drawable-mdpi/overlay_ok.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/signed.png b/APG/res/drawable-mdpi/signed.png
new file mode 100644
index 000000000..d2917644c
--- /dev/null
+++ b/APG/res/drawable-mdpi/signed.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/signed_large.png b/APG/res/drawable-mdpi/signed_large.png
new file mode 100644
index 000000000..ab9495e7b
--- /dev/null
+++ b/APG/res/drawable-mdpi/signed_large.png
Binary files differ
diff --git a/APG/res/drawable-mdpi/signed_small.png b/APG/res/drawable-mdpi/signed_small.png
new file mode 100644
index 000000000..4202c3f97
--- /dev/null
+++ b/APG/res/drawable-mdpi/signed_small.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/abs__ab_bottom_solid_light_holo.9.png b/APG/res/drawable-xhdpi/abs__ab_bottom_solid_light_holo.9.png
new file mode 100644
index 000000000..8155fe840
--- /dev/null
+++ b/APG/res/drawable-xhdpi/abs__ab_bottom_solid_light_holo.9.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/ic_menu_about.png b/APG/res/drawable-xhdpi/ic_menu_about.png
new file mode 100644
index 000000000..2641f142a
--- /dev/null
+++ b/APG/res/drawable-xhdpi/ic_menu_about.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/ic_menu_decrypt.png b/APG/res/drawable-xhdpi/ic_menu_decrypt.png
new file mode 100644
index 000000000..23ee08bee
--- /dev/null
+++ b/APG/res/drawable-xhdpi/ic_menu_decrypt.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/ic_menu_encrypt.png b/APG/res/drawable-xhdpi/ic_menu_encrypt.png
new file mode 100644
index 000000000..04562f33a
--- /dev/null
+++ b/APG/res/drawable-xhdpi/ic_menu_encrypt.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/ic_menu_filebrowser.png b/APG/res/drawable-xhdpi/ic_menu_filebrowser.png
new file mode 100644
index 000000000..d1324014d
--- /dev/null
+++ b/APG/res/drawable-xhdpi/ic_menu_filebrowser.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/ic_menu_scan_qrcode.png b/APG/res/drawable-xhdpi/ic_menu_scan_qrcode.png
new file mode 100644
index 000000000..015e6c6a1
--- /dev/null
+++ b/APG/res/drawable-xhdpi/ic_menu_scan_qrcode.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/ic_menu_search.png b/APG/res/drawable-xhdpi/ic_menu_search.png
new file mode 100644
index 000000000..578cb24eb
--- /dev/null
+++ b/APG/res/drawable-xhdpi/ic_menu_search.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/ic_menu_search_list.png b/APG/res/drawable-xhdpi/ic_menu_search_list.png
new file mode 100644
index 000000000..de20fa0e7
--- /dev/null
+++ b/APG/res/drawable-xhdpi/ic_menu_search_list.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/ic_menu_settings.png b/APG/res/drawable-xhdpi/ic_menu_settings.png
new file mode 100644
index 000000000..aa33c3880
--- /dev/null
+++ b/APG/res/drawable-xhdpi/ic_menu_settings.png
Binary files differ
diff --git a/APG/res/drawable-xhdpi/icon.png b/APG/res/drawable-xhdpi/icon.png
new file mode 100644
index 000000000..03ee31bbd
--- /dev/null
+++ b/APG/res/drawable-xhdpi/icon.png
Binary files differ
diff --git a/APG/res/drawable/btn_circle_disable.png b/APG/res/drawable/btn_circle_disable.png
new file mode 100644
index 000000000..33b74a66c
--- /dev/null
+++ b/APG/res/drawable/btn_circle_disable.png
Binary files differ
diff --git a/APG/res/drawable/btn_circle_disable_focused.png b/APG/res/drawable/btn_circle_disable_focused.png
new file mode 100644
index 000000000..005ad8dca
--- /dev/null
+++ b/APG/res/drawable/btn_circle_disable_focused.png
Binary files differ
diff --git a/APG/res/drawable/btn_circle_normal.png b/APG/res/drawable/btn_circle_normal.png
new file mode 100644
index 000000000..fc5af1c9f
--- /dev/null
+++ b/APG/res/drawable/btn_circle_normal.png
Binary files differ
diff --git a/APG/res/drawable/btn_circle_pressed.png b/APG/res/drawable/btn_circle_pressed.png
new file mode 100644
index 000000000..8f40afdfc
--- /dev/null
+++ b/APG/res/drawable/btn_circle_pressed.png
Binary files differ
diff --git a/APG/res/drawable/btn_circle_selected.png b/APG/res/drawable/btn_circle_selected.png
new file mode 100644
index 000000000..c74fac227
--- /dev/null
+++ b/APG/res/drawable/btn_circle_selected.png
Binary files differ
diff --git a/APG/res/drawable/dashboard_decrypt.xml b/APG/res/drawable/dashboard_decrypt.xml
new file mode 100644
index 000000000..981e38a0b
--- /dev/null
+++ b/APG/res/drawable/dashboard_decrypt.xml
@@ -0,0 +1,28 @@
+<!--
+ Copyright 2011 Google Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/dashboard_decrypt_pressed"
+ android:state_focused="true"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_decrypt_pressed"
+ android:state_focused="false"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_decrypt_pressed"
+ android:state_focused="true" />
+ <item android:drawable="@drawable/dashboard_decrypt_default"
+ android:state_focused="false"
+ android:state_pressed="false" />
+</selector>
diff --git a/APG/res/drawable/dashboard_encrypt.xml b/APG/res/drawable/dashboard_encrypt.xml
new file mode 100644
index 000000000..af812dc51
--- /dev/null
+++ b/APG/res/drawable/dashboard_encrypt.xml
@@ -0,0 +1,28 @@
+<!--
+ Copyright 2011 Google Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/dashboard_encrypt_pressed"
+ android:state_focused="true"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_encrypt_pressed"
+ android:state_focused="false"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_encrypt_pressed"
+ android:state_focused="true" />
+ <item android:drawable="@drawable/dashboard_encrypt_default"
+ android:state_focused="false"
+ android:state_pressed="false" />
+</selector>
diff --git a/APG/res/drawable/dashboard_help.xml b/APG/res/drawable/dashboard_help.xml
new file mode 100644
index 000000000..e121ea0d1
--- /dev/null
+++ b/APG/res/drawable/dashboard_help.xml
@@ -0,0 +1,28 @@
+<!--
+ Copyright 2011 Google Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/dashboard_help_pressed"
+ android:state_focused="true"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_help_pressed"
+ android:state_focused="false"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_help_pressed"
+ android:state_focused="true" />
+ <item android:drawable="@drawable/dashboard_help_default"
+ android:state_focused="false"
+ android:state_pressed="false" />
+</selector>
diff --git a/APG/res/drawable/dashboard_manage_keys.xml b/APG/res/drawable/dashboard_manage_keys.xml
new file mode 100644
index 000000000..ebc519253
--- /dev/null
+++ b/APG/res/drawable/dashboard_manage_keys.xml
@@ -0,0 +1,28 @@
+<!--
+ Copyright 2011 Google Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/dashboard_manage_keys_pressed"
+ android:state_focused="true"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_manage_keys_pressed"
+ android:state_focused="false"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_manage_keys_pressed"
+ android:state_focused="true" />
+ <item android:drawable="@drawable/dashboard_manage_keys_default"
+ android:state_focused="false"
+ android:state_pressed="false" />
+</selector>
diff --git a/APG/res/drawable/dashboard_my_keys.xml b/APG/res/drawable/dashboard_my_keys.xml
new file mode 100644
index 000000000..d4045db45
--- /dev/null
+++ b/APG/res/drawable/dashboard_my_keys.xml
@@ -0,0 +1,28 @@
+<!--
+ Copyright 2011 Google Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/dashboard_my_keys_pressed"
+ android:state_focused="true"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_my_keys_pressed"
+ android:state_focused="false"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_my_keys_pressed"
+ android:state_focused="true" />
+ <item android:drawable="@drawable/dashboard_my_keys_default"
+ android:state_focused="false"
+ android:state_pressed="false" />
+</selector>
diff --git a/APG/res/drawable/dashboard_scan_qrcode.xml b/APG/res/drawable/dashboard_scan_qrcode.xml
new file mode 100644
index 000000000..400994820
--- /dev/null
+++ b/APG/res/drawable/dashboard_scan_qrcode.xml
@@ -0,0 +1,28 @@
+<!--
+ Copyright 2011 Google Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/dashboard_scan_qrcode_pressed"
+ android:state_focused="true"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_scan_qrcode_pressed"
+ android:state_focused="false"
+ android:state_pressed="true" />
+ <item android:drawable="@drawable/dashboard_scan_qrcode_pressed"
+ android:state_focused="true" />
+ <item android:drawable="@drawable/dashboard_scan_qrcode_default"
+ android:state_focused="false"
+ android:state_pressed="false" />
+</selector>
diff --git a/APG/res/drawable/encrypted.png b/APG/res/drawable/encrypted.png
new file mode 100644
index 000000000..2783804bc
--- /dev/null
+++ b/APG/res/drawable/encrypted.png
Binary files differ
diff --git a/APG/res/drawable/encrypted_large.png b/APG/res/drawable/encrypted_large.png
new file mode 100644
index 000000000..6d7c616a4
--- /dev/null
+++ b/APG/res/drawable/encrypted_large.png
Binary files differ
diff --git a/APG/res/drawable/encrypted_small.png b/APG/res/drawable/encrypted_small.png
new file mode 100644
index 000000000..7f4ab803f
--- /dev/null
+++ b/APG/res/drawable/encrypted_small.png
Binary files differ
diff --git a/APG/res/drawable/ic_btn_round_minus.png b/APG/res/drawable/ic_btn_round_minus.png
new file mode 100644
index 000000000..96dbb17d2
--- /dev/null
+++ b/APG/res/drawable/ic_btn_round_minus.png
Binary files differ
diff --git a/APG/res/drawable/ic_btn_round_plus.png b/APG/res/drawable/ic_btn_round_plus.png
new file mode 100644
index 000000000..1ec8a956a
--- /dev/null
+++ b/APG/res/drawable/ic_btn_round_plus.png
Binary files differ
diff --git a/APG/res/drawable/ic_launcher_folder.png b/APG/res/drawable/ic_launcher_folder.png
new file mode 100644
index 000000000..ed31ba580
--- /dev/null
+++ b/APG/res/drawable/ic_launcher_folder.png
Binary files differ
diff --git a/APG/res/drawable/ic_launcher_folder_small.png b/APG/res/drawable/ic_launcher_folder_small.png
new file mode 100644
index 000000000..5df8d60f0
--- /dev/null
+++ b/APG/res/drawable/ic_launcher_folder_small.png
Binary files differ
diff --git a/APG/res/drawable/ic_next.png b/APG/res/drawable/ic_next.png
new file mode 100644
index 000000000..8271c1380
--- /dev/null
+++ b/APG/res/drawable/ic_next.png
Binary files differ
diff --git a/APG/res/drawable/ic_previous.png b/APG/res/drawable/ic_previous.png
new file mode 100644
index 000000000..ef90db972
--- /dev/null
+++ b/APG/res/drawable/ic_previous.png
Binary files differ
diff --git a/APG/res/drawable/key.png b/APG/res/drawable/key.png
new file mode 100644
index 000000000..de7e72524
--- /dev/null
+++ b/APG/res/drawable/key.png
Binary files differ
diff --git a/APG/res/drawable/key_large.png b/APG/res/drawable/key_large.png
new file mode 100644
index 000000000..6f18c0240
--- /dev/null
+++ b/APG/res/drawable/key_large.png
Binary files differ
diff --git a/APG/res/drawable/key_small.png b/APG/res/drawable/key_small.png
new file mode 100644
index 000000000..121803508
--- /dev/null
+++ b/APG/res/drawable/key_small.png
Binary files differ
diff --git a/APG/res/drawable/overlay_error.png b/APG/res/drawable/overlay_error.png
new file mode 100644
index 000000000..2372de59e
--- /dev/null
+++ b/APG/res/drawable/overlay_error.png
Binary files differ
diff --git a/APG/res/drawable/overlay_ok.png b/APG/res/drawable/overlay_ok.png
new file mode 100644
index 000000000..2f0005898
--- /dev/null
+++ b/APG/res/drawable/overlay_ok.png
Binary files differ
diff --git a/APG/res/drawable/section_header.xml b/APG/res/drawable/section_header.xml
new file mode 100644
index 000000000..a4468484e
--- /dev/null
+++ b/APG/res/drawable/section_header.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle" >
+
+ <size
+ android:height="2dp"
+ android:width="1000dp" />
+
+ <solid android:color="@color/emphasis" />
+
+</shape> \ No newline at end of file
diff --git a/APG/res/drawable/signed.png b/APG/res/drawable/signed.png
new file mode 100644
index 000000000..490e94fbd
--- /dev/null
+++ b/APG/res/drawable/signed.png
Binary files differ
diff --git a/APG/res/drawable/signed_large.png b/APG/res/drawable/signed_large.png
new file mode 100644
index 000000000..92e64dc51
--- /dev/null
+++ b/APG/res/drawable/signed_large.png
Binary files differ
diff --git a/APG/res/drawable/signed_small.png b/APG/res/drawable/signed_small.png
new file mode 100644
index 000000000..590220281
--- /dev/null
+++ b/APG/res/drawable/signed_small.png
Binary files differ
diff --git a/APG/res/layout/account_item.xml b/APG/res/layout/account_item.xml
new file mode 100644
index 000000000..0aa76719a
--- /dev/null
+++ b/APG/res/layout/account_item.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:singleLine="true"
+ android:layout_marginRight="?android:attr/scrollbarSize"
+ android:paddingLeft="6dip"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip"
+ android:layout_width="fill_parent"
+ android:layout_height="?android:attr/listPreferredItemHeight">
+
+ <TextView
+ android:id="@+id/accountName"
+ android:text="someone@gmail.com"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"/>
+
+</LinearLayout>
diff --git a/APG/res/layout/create_key.xml b/APG/res/layout/create_key.xml
new file mode 100644
index 000000000..235d33f88
--- /dev/null
+++ b/APG/res/layout/create_key.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+
+ <TableLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:stretchColumns="1" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="4dp"
+ android:text="@string/keyCreationElGamalInfo" />
+
+ <TableRow>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="4dp"
+ android:text="@string/label_algorithm" />
+
+ <Spinner
+ android:id="@+id/create_key_algorithm"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:padding="4dp" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="4dp"
+ android:text="@string/label_keySize" />
+
+ <EditText
+ android:id="@+id/create_key_size"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="right"
+ android:numeric="integer"
+ android:padding="4dp"
+ android:text="1024" />
+ </TableRow>
+ </TableLayout>
+ <!-- </LinearLayout> -->
+
+</ScrollView> \ No newline at end of file
diff --git a/APG/res/layout/decrypt.xml b/APG/res/layout/decrypt.xml
new file mode 100644
index 000000000..055436abd
--- /dev/null
+++ b/APG/res/layout/decrypt.xml
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fillViewport="true"
+ android:orientation="vertical" >
+
+ <ScrollView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fillViewport="true" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/sourcePrevious"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_previous" />
+
+ <TextView
+ android:id="@+id/sourceLabel"
+ style="@style/SectionHeader"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:gravity="center_horizontal|center_vertical"
+ android:text="@string/label_message"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <ImageView
+ android:id="@+id/sourceNext"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_next" />
+ </LinearLayout>
+
+ <ViewFlipper
+ android:id="@+id/source"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1" >
+
+ <LinearLayout
+ android:id="@+id/sourceMessage"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="4dp" >
+
+ <EditText
+ android:id="@+id/message"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:gravity="top"
+ android:inputType="text|textCapSentences|textMultiLine|textLongMessage"
+ android:scrollHorizontally="true" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/sourceFile"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="4dp" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <EditText
+ android:id="@+id/filename"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:inputType="textNoSuggestions" />
+
+ <ImageButton
+ android:id="@+id/btn_browse"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_menu_filebrowser" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <CheckBox
+ android:id="@+id/deleteAfterDecryption"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:text="@string/label_deleteAfterDecryption" />
+ </LinearLayout>
+ </LinearLayout>
+ </ViewFlipper>
+
+ <LinearLayout
+ android:id="@+id/signature"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:orientation="horizontal"
+ android:padding="4dp"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" >
+
+ <ImageView
+ android:id="@+id/ic_signature"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/signed_large" />
+
+ <ImageView
+ android:id="@+id/ic_signature_status"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/overlay_error" />
+ </RelativeLayout>
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="5dip" >
+
+ <TextView
+ android:id="@+id/mainUserId"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left"
+ android:text="Main User Id"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/mainUserIdRest"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left"
+ android:text="Main User Id Rest"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ </LinearLayout>
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/edit_key.xml b/APG/res/layout/edit_key.xml
new file mode 100644
index 000000000..3ab5f1c52
--- /dev/null
+++ b/APG/res/layout/edit_key.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fillViewport="true"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp" >
+
+ <TextView
+ style="@style/SectionHeader"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="4dp"
+ android:text="@string/label_passPhrase" />
+
+ <CheckBox
+ android:id="@+id/edit_key_no_passphrase"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/label_noPassPhrase" />
+
+ <Button
+ android:id="@+id/edit_key_btn_change_pass_phrase"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="4dp"
+ android:text="@string/btn_setPassPhrase" />
+
+ <LinearLayout
+ android:id="@+id/edit_key_container"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+ </LinearLayout>
+ </LinearLayout>
+
+</ScrollView> \ No newline at end of file
diff --git a/APG/res/layout/edit_key_key_item.xml b/APG/res/layout/edit_key_key_item.xml
new file mode 100644
index 000000000..5556ec22e
--- /dev/null
+++ b/APG/res/layout/edit_key_key_item.xml
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<org.thialfihar.android.apg.ui.widget.KeyEditor xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TableLayout
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:stretchColumns="1" >
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_keyId"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="10dip"
+ android:text="@string/label_keyId" />
+
+ <TextView
+ android:id="@+id/keyId"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingRight="5dip"
+ android:text="00000000 00000000"
+ android:typeface="monospace" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_algorithm"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="10dip"
+ android:text="@string/label_algorithm" />
+
+ <TextView
+ android:id="@+id/algorithm"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingRight="5dip"
+ android:text="Name" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_creation"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="10dip"
+ android:text="@string/label_creation" />
+
+ <TextView
+ android:id="@+id/creation"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_expiry"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="10dip"
+ android:text="@string/label_expiry" />
+
+ <Button
+ android:id="@+id/expiry"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_usage"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="10dip"
+ android:text="@string/label_usage" />
+
+ <Spinner
+ android:id="@+id/usage"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+ </TableRow>
+ </TableLayout>
+
+ <ImageButton
+ android:id="@+id/delete"
+ style="@style/MinusButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/separator"
+ android:layout_width="fill_parent"
+ android:layout_height="1dip"
+ android:background="?android:attr/listDivider" />
+
+</org.thialfihar.android.apg.ui.widget.KeyEditor> \ No newline at end of file
diff --git a/APG/res/layout/edit_key_section.xml b/APG/res/layout/edit_key_section.xml
new file mode 100644
index 000000000..e8f788f6d
--- /dev/null
+++ b/APG/res/layout/edit_key_section.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<org.thialfihar.android.apg.ui.widget.SectionView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/header"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:focusable="true"
+ android:gravity="center_vertical"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/title"
+ style="@style/SectionHeader"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal"
+ android:singleLine="true"
+ android:text="Section Name" />
+
+ <ImageView
+ style="@style/PlusButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:duplicateParentState="true" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/editors"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingBottom="6dip" />
+
+</org.thialfihar.android.apg.ui.widget.SectionView> \ No newline at end of file
diff --git a/APG/res/layout/edit_key_user_id_item.xml b/APG/res/layout/edit_key_user_id_item.xml
new file mode 100644
index 000000000..26a7304e0
--- /dev/null
+++ b/APG/res/layout/edit_key_user_id_item.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<org.thialfihar.android.apg.ui.widget.UserIdEditor xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <RadioButton
+ android:id="@+id/isMainUserId"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/label_mainUserId" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TableLayout
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" >
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="5dip"
+ android:text="@string/label_name" />
+
+ <EditText
+ android:id="@+id/name"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:inputType="textPersonName|textCapWords" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_email"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="5dip"
+ android:text="@string/label_email" />
+
+ <EditText
+ android:id="@+id/email"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:inputType="textEmailAddress" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_comment"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="5dip"
+ android:text="@string/label_comment" />
+
+ <EditText
+ android:id="@+id/comment"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+ </TableRow>
+ </TableLayout>
+
+ <ImageButton
+ android:id="@+id/delete"
+ style="@style/MinusButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/separator"
+ android:layout_width="fill_parent"
+ android:layout_height="1dip"
+ android:background="?android:attr/listDivider" />
+
+</org.thialfihar.android.apg.ui.widget.UserIdEditor> \ No newline at end of file
diff --git a/APG/res/layout/encrypt.xml b/APG/res/layout/encrypt.xml
new file mode 100644
index 000000000..ebf7e8b05
--- /dev/null
+++ b/APG/res/layout/encrypt.xml
@@ -0,0 +1,306 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fillViewport="true" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:padding="4dp" >
+
+ <ImageView
+ android:id="@+id/sourcePrevious"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_previous" />
+
+ <TextView
+ android:id="@+id/sourceLabel"
+ style="@style/SectionHeader"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:gravity="center_horizontal|center_vertical"
+ android:text="@string/label_message"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <ImageView
+ android:id="@+id/sourceNext"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_next" />
+ </LinearLayout>
+
+ <ViewFlipper
+ android:id="@+id/source"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1" >
+
+ <LinearLayout
+ android:id="@+id/sourceMessage"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="4dp" >
+
+ <EditText
+ android:id="@+id/message"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:gravity="top"
+ android:inputType="text|textCapSentences|textMultiLine|textLongMessage" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/sourceFile"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="4dp" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <EditText
+ android:id="@+id/filename"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:inputType="textNoSuggestions" />
+
+ <ImageButton
+ android:id="@+id/btn_browse"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_menu_filebrowser" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/label_fileCompression"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+ android:paddingRight="10dip"
+ android:text="@string/label_fileCompression"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+ <Spinner
+ android:id="@+id/fileCompression"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <CheckBox
+ android:id="@+id/deleteAfterEncryption"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:text="@string/label_deleteAfterEncryption" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <CheckBox
+ android:id="@+id/asciiArmour"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:text="@string/label_asciiArmour" />
+ </LinearLayout>
+ </LinearLayout>
+ </ViewFlipper>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:padding="4dp" >
+
+ <ImageView
+ android:id="@+id/modePrevious"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_previous" />
+
+ <TextView
+ android:id="@+id/modeLabel"
+ style="@style/SectionHeader"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:gravity="center_horizontal|center_vertical"
+ android:text="@string/label_asymmetric" />
+
+ <ImageView
+ android:id="@+id/modeNext"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_next" />
+ </LinearLayout>
+
+ <ViewFlipper
+ android:id="@+id/mode"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" >
+
+ <LinearLayout
+ android:id="@+id/modeAsymmetric"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="4dp" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <CheckBox
+ android:id="@+id/sign"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:text="@string/label_sign" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="16dp" >
+
+ <TextView
+ android:id="@+id/mainUserId"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:text="Sign User Id"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/mainUserIdRest"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:text="Sign email"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingBottom="3dip" >
+
+ <TextView
+ android:id="@+id/label_selectPublicKeys"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+ android:text="@string/label_selectPublicKeys"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <Button
+ android:id="@+id/btn_selectEncryptKeys"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:text="@string/btn_selectEncryptKeys" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <TableLayout
+ android:id="@+id/modeSymmetric"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:padding="4dp"
+ android:stretchColumns="1" >
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_passPhrase"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="10dip"
+ android:text="@string/label_passPhrase"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <EditText
+ android:id="@+id/passPhrase"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPassword" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/label_passPhraseAgain"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="10dip"
+ android:text="@string/label_passPhraseAgain"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <EditText
+ android:id="@+id/passPhraseAgain"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPassword" />
+ </TableRow>
+ </TableLayout>
+ </ViewFlipper>
+ </LinearLayout>
+
+</ScrollView> \ No newline at end of file
diff --git a/APG/res/layout/file_dialog.xml b/APG/res/layout/file_dialog.xml
new file mode 100644
index 000000000..c95f874a5
--- /dev/null
+++ b/APG/res/layout/file_dialog.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="5dip"
+ android:paddingRight="5dip" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <EditText
+ android:id="@+id/input"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+
+ <ImageButton
+ android:id="@+id/btn_browse"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:src="@drawable/ic_menu_filebrowser" />
+ </LinearLayout>
+
+ <CheckBox
+ android:id="@+id/checkbox"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/filter_info.xml b/APG/res/layout/filter_info.xml
new file mode 100644
index 000000000..9fef6548e
--- /dev/null
+++ b/APG/res/layout/filter_info.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="5dip"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/filterInfo"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:ellipsize="end"/>
+
+ <Button
+ android:id="@+id/btn_clear"
+ android:text="@string/btn_clearFilter"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+</LinearLayout>
diff --git a/APG/res/layout/general.xml b/APG/res/layout/general.xml
new file mode 100644
index 000000000..c6702efac
--- /dev/null
+++ b/APG/res/layout/general.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <ListView
+ android:id="@+id/options"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:padding="5dip"/>
+
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ style="@android:style/ButtonBar">
+
+ <Button
+ android:text="dummy"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:visibility="invisible"/>
+
+ <Button
+ android:id="@+id/btn_cancel"
+ android:text="@android:string/cancel"
+ android:layout_width="0dip"
+ android:layout_height="fill_parent"
+ android:layout_weight="2"/>
+
+ <Button
+ android:text="dummy"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:visibility="invisible"/>
+
+ </LinearLayout>
+
+</LinearLayout>
diff --git a/APG/res/layout/help_activity.xml b/APG/res/layout/help_activity.xml
new file mode 100644
index 000000000..fa233ac2c
--- /dev/null
+++ b/APG/res/layout/help_activity.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <android.support.v4.view.ViewPager
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/pager"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ </android.support.v4.view.ViewPager>
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/help_fragment_about.xml b/APG/res/layout/help_fragment_about.xml
new file mode 100644
index 000000000..82cb0a89f
--- /dev/null
+++ b/APG/res/layout/help_fragment_about.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:isScrollContainer="true"
+ android:orientation="vertical"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:paddingTop="16dp"
+ android:scrollbars="vertical" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal" >
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top"
+ android:layout_marginRight="10dp"
+ android:src="@drawable/icon" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/app_name"
+ android:textSize="18sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/help_about_version"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="@android:style/TextAppearance.Small" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <net.nightwhistler.htmlspanner.JellyBeanSpanFixTextView
+ android:id="@+id/help_about_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:textAppearance="@android:style/TextAppearance.Small" />
+ </LinearLayout>
+
+</ScrollView> \ No newline at end of file
diff --git a/APG/res/layout/import_from_qr_code.xml b/APG/res/layout/import_from_qr_code.xml
new file mode 100644
index 000000000..f20dbbb68
--- /dev/null
+++ b/APG/res/layout/import_from_qr_code.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true" >
+
+ <LinearLayout
+ android:id="@+id/import_from_qr_code_footer"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <Button
+ android:id="@+id/import_from_qr_code_import"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="importOnClick"
+ android:text="@string/import_from_qr_code_import" />
+
+ <Button
+ android:id="@+id/import_from_qr_code_import_sign_and_upload"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="signAndUploadOnClick"
+ android:text="@string/import_from_qr_code_import_sign_and_upload" />
+
+ <Button
+ android:id="@+id/import_from_qr_code_scan_again"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="scanAgainOnClick"
+ android:text="@string/import_from_qr_code_scan_again" />
+
+ <Button
+ android:id="@+id/import_from_qr_code_finish"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:onClick="finishOnClick"
+ android:text="@string/import_from_qr_code_finish" />
+ </LinearLayout>
+
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_above="@id/import_from_qr_code_footer"
+ android:fillViewport="true" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" >
+
+ <TextView
+ android:id="@+id/import_from_qr_code_content"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="" />
+ </LinearLayout>
+ </ScrollView>
+
+</RelativeLayout> \ No newline at end of file
diff --git a/APG/res/layout/key_list_child_item.xml b/APG/res/layout/key_list_child_item.xml
new file mode 100644
index 000000000..868989cf6
--- /dev/null
+++ b/APG/res/layout/key_list_child_item.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="?android:attr/listPreferredItemHeight"
+ android:layout_marginRight="?android:attr/scrollbarSize"
+ android:orientation="vertical"
+ android:singleLine="true" >
+
+ <LinearLayout
+ android:id="@+id/keyLayout"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingLeft="8dip"
+ android:paddingRight="3dip" >
+
+ <ImageView
+ android:id="@+id/ic_masterKey"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="6dip"
+ android:src="@drawable/key_small" />
+
+ <TextView
+ android:id="@+id/keyId"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingRight="5dip"
+ android:text="Key ID"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:typeface="monospace" />
+
+ <TextView
+ android:id="@+id/keyDetails"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="(RSA, 1024bit)"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_gravity="center_vertical"
+ android:gravity="right"
+ android:orientation="horizontal"
+ android:paddingBottom="2dip"
+ android:paddingTop="2dip" >
+
+ <ImageView
+ android:id="@+id/ic_encryptKey"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/encrypted_small" />
+
+ <ImageView
+ android:id="@+id/ic_signKey"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/signed_small" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/userIdLayout"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="36dip"
+ android:singleLine="true" >
+
+ <TextView
+ android:id="@+id/userId"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingRight="3dip"
+ android:text="User ID"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/key_list_group_item.xml b/APG/res/layout/key_list_group_item.xml
new file mode 100644
index 000000000..240be54b0
--- /dev/null
+++ b/APG/res/layout/key_list_group_item.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="?android:attr/listPreferredItemHeight"
+ android:layout_marginRight="?android:attr/scrollbarSize"
+ android:orientation="vertical"
+ android:paddingLeft="36dip"
+ android:singleLine="true" >
+
+ <TextView
+ android:id="@+id/mainUserId"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Main User ID"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/mainUserIdRest"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="&lt;user@example.com>"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/key_list_public_activity.xml b/APG/res/layout/key_list_public_activity.xml
new file mode 100644
index 000000000..9872c3e1b
--- /dev/null
+++ b/APG/res/layout/key_list_public_activity.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <fragment
+ android:id="@+id/key_list_public_fragment"
+ android:name="org.thialfihar.android.apg.ui.KeyListPublicFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="90dp"
+ android:layout_weight="1"
+ android:background="@drawable/abs__ab_bottom_solid_light_holo"
+ android:paddingBottom="3dp"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp"
+ android:paddingTop="3dp"
+ android:text="@string/listInformation" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/key_list_secret_activity.xml b/APG/res/layout/key_list_secret_activity.xml
new file mode 100644
index 000000000..c813a5d7d
--- /dev/null
+++ b/APG/res/layout/key_list_secret_activity.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <fragment
+ android:id="@+id/key_list_secret_fragment"
+ android:name="org.thialfihar.android.apg.ui.KeyListSecretFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="90dp"
+ android:layout_weight="1"
+ android:background="@drawable/abs__ab_bottom_solid_light_holo"
+ android:paddingBottom="3dp"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp"
+ android:paddingTop="3dp"
+ android:text="@string/listInformation" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/key_server_editor.xml b/APG/res/layout/key_server_editor.xml
new file mode 100644
index 000000000..e4c25b316
--- /dev/null
+++ b/APG/res/layout/key_server_editor.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<org.thialfihar.android.apg.ui.widget.KeyServerEditor
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:orientation="horizontal"
+ android:layout_marginLeft="3dip">
+
+ <EditText
+ android:id="@+id/server"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:inputType="textUri"/>
+
+ <ImageButton
+ android:id="@+id/delete"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ style="@style/MinusButton"
+ android:layout_gravity="center_vertical"
+ android:layout_marginRight="3dip"/>
+
+ </LinearLayout>
+
+ <View
+ android:id="@+id/separator"
+ android:layout_width="fill_parent"
+ android:layout_height="1dip"
+ android:background="?android:attr/listDivider"/>
+
+</org.thialfihar.android.apg.ui.widget.KeyServerEditor>
diff --git a/APG/res/layout/key_server_export_layout.xml b/APG/res/layout/key_server_export_layout.xml
new file mode 100644
index 000000000..257f087ee
--- /dev/null
+++ b/APG/res/layout/key_server_export_layout.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <Spinner
+ android:id="@+id/keyServer"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <Button
+ android:id="@+id/btn_export_to_server"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/btn_export_to_server" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/key_server_preference.xml b/APG/res/layout/key_server_preference.xml
new file mode 100644
index 000000000..e9b1d5a95
--- /dev/null
+++ b/APG/res/layout/key_server_preference.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+android:id/text_layout"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:minHeight="?android:attr/listPreferredItemHeight"
+ android:orientation="horizontal" >
+
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="6sp"
+ android:layout_marginLeft="16sp"
+ android:layout_marginRight="6sp"
+ android:layout_marginTop="6sp"
+ android:layout_weight="1"
+ android:background="@android:drawable/menuitem_background"
+ android:focusable="true" >
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:focusable="true"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <TextView
+ android:id="@+id/summary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignLeft="@android:id/title"
+ android:layout_below="@android:id/title"
+ android:maxLines="2"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ </RelativeLayout>
+
+ <ImageView
+ android:id="@+id/add"
+ style="@style/PlusButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_marginLeft="4dip"
+ android:layout_marginRight="6dip"
+ android:clickable="true" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/separator"
+ android:layout_width="fill_parent"
+ android:layout_height="1dip"
+ android:background="?android:attr/listDivider" />
+
+ <ScrollView
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/editors"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" />
+ </ScrollView>
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/key_server_query_layout.xml b/APG/res/layout/key_server_query_layout.xml
new file mode 100644
index 000000000..6af4f3644
--- /dev/null
+++ b/APG/res/layout/key_server_query_layout.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <Spinner
+ android:id="@+id/keyServer"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"/>
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <EditText
+ android:id="@+id/query"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"/>
+
+ <Button
+ android:id="@+id/btn_search"
+ android:text="@string/btn_search"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ </LinearLayout>
+
+ <ListView
+ android:id="@+id/list"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"/>
+
+</LinearLayout>
diff --git a/APG/res/layout/key_server_query_result_item.xml b/APG/res/layout/key_server_query_result_item.xml
new file mode 100644
index 000000000..29c8b88f4
--- /dev/null
+++ b/APG/res/layout/key_server_query_result_item.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:singleLine="true"
+ android:paddingLeft="3dip"
+ android:paddingRight="?android:attr/scrollbarSize"
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:paddingLeft="5dip"
+ android:paddingRight="5dip"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1">
+
+ <TextView
+ android:id="@+id/mainUserId"
+ android:text="Main User ID"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ <TextView
+ android:id="@+id/mainUserIdRest"
+ android:text="&lt;user@somewhere.com&gt;"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:minWidth="90dip"
+ android:paddingLeft="3dip"
+ android:gravity="right"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/keyId"
+ android:text="BBBBBBBB"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:typeface="monospace"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"/>
+
+ <TextView
+ android:id="@+id/algorithm"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ <TextView
+ android:id="@+id/status"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="#e00"/>
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/list"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="30dip">
+
+ </LinearLayout>
+
+</LinearLayout>
diff --git a/APG/res/layout/key_server_query_result_user_id.xml b/APG/res/layout/key_server_query_result_user_id.xml
new file mode 100644
index 000000000..9d3a4a1ab
--- /dev/null
+++ b/APG/res/layout/key_server_query_result_user_id.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_marginRight="?android:attr/scrollbarSize"
+ android:singleLine="true"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingRight="3dip">
+
+</TextView>
diff --git a/APG/res/layout/main.xml b/APG/res/layout/main.xml
new file mode 100644
index 000000000..e4c509c70
--- /dev/null
+++ b/APG/res/layout/main.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <org.thialfihar.android.apg.ui.widget.DashboardLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+
+ <Button
+ android:id="@+id/dashboard_manage_keys"
+ style="@style/DashboardButton"
+ android:drawableTop="@drawable/dashboard_manage_keys"
+ android:onClick="manageKeysOnClick"
+ android:text="@string/dashboard_manage_keys" />
+
+ <Button
+ android:id="@+id/dashboard_my_keys"
+ style="@style/DashboardButton"
+ android:drawableTop="@drawable/dashboard_my_keys"
+ android:onClick="myKeysOnClick"
+ android:text="@string/dashboard_my_keys" />
+
+ <Button
+ android:id="@+id/dashboard_encrypt"
+ style="@style/DashboardButton"
+ android:drawableTop="@drawable/dashboard_encrypt"
+ android:onClick="encryptOnClick"
+ android:text="@string/dashboard_encrypt" />
+
+ <Button
+ android:id="@+id/dashboard_decrypt"
+ style="@style/DashboardButton"
+ android:drawableTop="@drawable/dashboard_decrypt"
+ android:onClick="decryptOnClick"
+ android:text="@string/dashboard_decrypt" />
+
+
+ <Button
+ android:id="@+id/dashboard_scan_qrcode"
+ style="@style/DashboardButton"
+ android:drawableTop="@drawable/dashboard_scan_qrcode"
+ android:onClick="scanQrcodeOnClick"
+ android:text="@string/dashboard_scan_qrcode" />
+
+ <Button
+ android:id="@+id/dashboard_help"
+ style="@style/DashboardButton"
+ android:drawableTop="@drawable/dashboard_help"
+ android:onClick="helpOnClick"
+ android:text="@string/dashboard_help" />
+ </org.thialfihar.android.apg.ui.widget.DashboardLayout>
+
+ <!-- <LinearLayout -->
+ <!-- style="@android:style/ButtonBar" -->
+ <!-- android:layout_width="fill_parent" -->
+ <!-- android:layout_height="wrap_content" -->
+ <!-- android:orientation="vertical" > -->
+
+
+ <!-- <LinearLayout -->
+ <!-- android:layout_width="fill_parent" -->
+ <!-- android:layout_height="wrap_content" -->
+ <!-- android:orientation="horizontal" > -->
+
+
+ <!-- <Button -->
+ <!-- android:id="@+id/btn_encryptFile" -->
+ <!-- android:layout_width="0dip" -->
+ <!-- android:layout_height="fill_parent" -->
+ <!-- android:layout_weight="1" -->
+ <!-- android:text="@string/btn_encryptFile" /> -->
+
+
+ <!-- <Button -->
+ <!-- android:id="@+id/btn_decryptFile" -->
+ <!-- android:layout_width="0dip" -->
+ <!-- android:layout_height="fill_parent" -->
+ <!-- android:layout_weight="1" -->
+ <!-- android:text="@string/btn_decryptFile" /> -->
+ <!-- </LinearLayout> -->
+
+
+ <!-- <LinearLayout -->
+ <!-- android:layout_width="fill_parent" -->
+ <!-- android:layout_height="wrap_content" -->
+ <!-- android:orientation="horizontal" > -->
+
+
+ <!-- <Button -->
+ <!-- android:id="@+id/btn_encryptMessage" -->
+ <!-- android:layout_width="0dip" -->
+ <!-- android:layout_height="fill_parent" -->
+ <!-- android:layout_weight="1" -->
+ <!-- android:text="@string/btn_encryptMessage" /> -->
+
+
+ <!-- <Button -->
+ <!-- android:id="@+id/btn_decryptMessage" -->
+ <!-- android:layout_width="0dip" -->
+ <!-- android:layout_height="fill_parent" -->
+ <!-- android:layout_weight="1" -->
+ <!-- android:text="@string/btn_decryptMessage" /> -->
+ <!-- </LinearLayout> -->
+ <!-- </LinearLayout> -->
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/passphrase.xml b/APG/res/layout/passphrase.xml
new file mode 100644
index 000000000..fc9cb1710
--- /dev/null
+++ b/APG/res/layout/passphrase.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp" >
+
+ <TextView
+ android:id="@+id/passphrase_label_passphrase"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="4dp"
+ android:text="@string/label_passPhrase" />
+
+ <EditText
+ android:id="@+id/passphrase_passphrase"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:imeOptions="actionDone"
+ android:inputType="textPassword"
+ android:padding="4dp" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/APG/res/layout/passphrase_repeat.xml b/APG/res/layout/passphrase_repeat.xml
new file mode 100644
index 000000000..8f1d42aac
--- /dev/null
+++ b/APG/res/layout/passphrase_repeat.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:stretchColumns="1" >
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/passphrase_label_passphrase"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="4dp"
+ android:text="@string/label_passPhrase" />
+
+ <EditText
+ android:id="@+id/passphrase_passphrase"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPassword"
+ android:padding="4dp" />
+ </TableRow>
+
+ <TableRow>
+
+ <TextView
+ android:id="@+id/passphrase_label_passphrase_again"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:padding="4dp"
+ android:text="@string/label_passPhraseAgain" />
+
+ <EditText
+ android:id="@+id/passphrase_passphrase_again"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:imeOptions="actionDone"
+ android:inputType="textPassword"
+ android:padding="4dp" />
+ </TableRow>
+
+</TableLayout> \ No newline at end of file
diff --git a/APG/res/layout/select_key_item.xml b/APG/res/layout/select_key_item.xml
new file mode 100644
index 000000000..5eed7c268
--- /dev/null
+++ b/APG/res/layout/select_key_item.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:singleLine="true"
+ android:paddingLeft="3dip"
+ android:paddingRight="?android:attr/scrollbarSize"
+ android:layout_height="?android:attr/listPreferredItemHeight"
+ android:layout_width="fill_parent">
+
+ <CheckBox
+ android:id="@+id/selected"
+ android:focusable="false"
+ android:focusableInTouchMode="false"
+ android:clickable="false"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:paddingLeft="5dip"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1">
+
+ <TextView
+ android:id="@+id/mainUserId"
+ android:text="Main User ID"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ <TextView
+ android:id="@+id/mainUserIdRest"
+ android:text="&lt;user@example.com&gt;"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:orientation="vertical"
+ android:minWidth="90dip"
+ android:paddingLeft="3dip"
+ android:gravity="right"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/keyId"
+ android:text="BBBBBBBB"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:typeface="monospace"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"/>
+
+ <TextView
+ android:id="@+id/status"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:text="expired"
+ android:textStyle="italic"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ </LinearLayout>
+
+</LinearLayout>
diff --git a/APG/res/layout/select_public_key_activity.xml b/APG/res/layout/select_public_key_activity.xml
new file mode 100644
index 000000000..7e70d26a2
--- /dev/null
+++ b/APG/res/layout/select_public_key_activity.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_centerHorizontal="true" >
+
+ <fragment
+ android:id="@+id/select_public_key_fragment"
+ android:name="org.thialfihar.android.apg.ui.SelectPublicKeyFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+</RelativeLayout> \ No newline at end of file
diff --git a/APG/res/layout/select_secret_key_activity.xml b/APG/res/layout/select_secret_key_activity.xml
new file mode 100644
index 000000000..2a645ce19
--- /dev/null
+++ b/APG/res/layout/select_secret_key_activity.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_centerHorizontal="true" >
+
+ <fragment
+ android:id="@+id/select_secret_key_fragment"
+ android:name="org.thialfihar.android.apg.ui.SelectSecretKeyFragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+</RelativeLayout> \ No newline at end of file
diff --git a/APG/res/layout/sign_key_layout.xml b/APG/res/layout/sign_key_layout.xml
new file mode 100644
index 000000000..17be03b21
--- /dev/null
+++ b/APG/res/layout/sign_key_layout.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org> Licensed under the
+ Apache License, Version 2.0 (the "License"); you may not use this file except
+ in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the License. -->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:orientation="vertical">
+
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:orientation="horizontal">
+ </LinearLayout>
+
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:orientation="horizontal">
+
+ <TextView android:id="@+id/textView1" android:layout_height="wrap_content"
+ android:text="@string/label_sendKey" android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_width="wrap_content"></TextView>
+ <CheckBox android:text="" android:id="@+id/sendKey"
+ android:layout_width="wrap_content" android:layout_height="wrap_content"
+ android:checked="true"></CheckBox>
+ </LinearLayout>
+
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:orientation="horizontal">
+
+ <Spinner android:id="@+id/keyServer" android:layout_width="wrap_content"
+ android:layout_height="wrap_content" android:layout_weight="1" />
+ </LinearLayout>
+
+ <Button android:layout_height="wrap_content"
+ android:layout_width="wrap_content" android:text="@string/btn_sign"
+ android:id="@+id/sign"></Button>
+
+</LinearLayout>
diff --git a/APG/res/raw/help_about.html b/APG/res/raw/help_about.html
new file mode 100644
index 000000000..1b1f0b52e
--- /dev/null
+++ b/APG/res/raw/help_about.html
@@ -0,0 +1,31 @@
+<!-- Maintain structure with headings with h2 tags and content with p tags.
+This makes it easy to translate the values with transifex!
+And don't add newlines before or after p tags because of transifex -->
+<html>
+<head>
+</head>
+<body>
+<p><a href="https://github.com/dschuermann/apg">https://github.com/dschuermann/apg</a></p>
+<p>Android Privacy Guard (APG) is an OpenPGP implementation for Android.</p>
+<p>License: Apache License v2</p>
+
+<h2>Developer</h2>
+<ul>
+<li>Dominik Schürmann (Developer v2.x)</li>
+<li>Oliver Runge</li>
+<li>Markus Doits</li>
+<li>Senecaso (QRCode, sign key, upload key)</li>
+<li>Thialfihar (Main developer v1.x)</li>
+</ul>
+
+<h2>Libraries</h2>
+<ul>
+<li><a href="http://actionbarsherlock.com">ActionBarSherlock</a> (Apache License v2)</li>
+<li><a href="http://code.google.com/p/zxing/">ZXing QRCode Integration</a> (Apache License v2)</li>
+<li><a href="http://rtyley.github.com/spongycastle/">SpongyCastle</a> (MIT X11 License)</li>
+<li><a href="https://github.com/dschuermann/HtmlSpanner">HtmlSpanner Fork</a> (Apache License v2)</li>
+<li>Icons from <a href="http://rrze-icon-set.berlios.de/">RRZE Icon Set</a> (Creative Commons Attribution Share-Alike licence 3.0)</li>
+<li>Icons from <a href="http://tango.freedesktop.org/">Tango Icon Set</a> (Public Domain)</li>
+</ul>
+</body>
+</html> \ No newline at end of file
diff --git a/APG/res/raw/help_changelog.html b/APG/res/raw/help_changelog.html
new file mode 100644
index 000000000..bf013342b
--- /dev/null
+++ b/APG/res/raw/help_changelog.html
@@ -0,0 +1,86 @@
+<!-- Maintain structure with headings with h2 tags and content with p tags.
+This makes it easy to translate the values with transifex!
+And don't add newlines before or after p tags because of transifex -->
+<html>
+<head>
+</head>
+<body>
+<h2>2.0</h2>
+<ul>
+<li>Complete redesign</li>
+<li>Integration of different branches:</li>
+<li>Share public keys via qr codes</li>
+<li>Sign keys</li>
+<li>Upload keys to server</li>
+</ul>
+
+<h2><h2>1.08</h2>
+<ul>
+<li>basic key server support</li>
+<li>app2sd (untested, let me know if there are problems)</li>
+<li>more choices for pass phrase cache: 1, 2, 4, 8, hours</li>
+<li>translations: Norwegian (thanks, Sander Danielsen), Chinese (thanks, Zhang Fredrick)</li>
+<li>bugfixes</li>
+<li>optimizations</li>
+</ul>
+
+<h2>1.0.7</h2>
+<ul>
+<li>clear sign problem with lacking trailing newline fixed</li>
+<li>more options for pass phrase cache time to live (20, 40, 60 mins)</li>
+</ul>
+
+<h2>1.0.6</h2>
+<ul>
+<li>account adding crash on Froyo fixed</li>
+<li>secure file deletion</li>
+<li>option to delete key file after import</li>
+<li>stream encryption/decryption (gallery, etc.)</li>
+<li>new options (language, force v3 signatures)</li>
+<li>interface changes</li>
+<li>bugfixes</li>
+</ul>
+
+<h2>1.0.5</h2>
+<ul>
+<li>German and Italian translation</li>
+<li>much smaller package, due to reduced BC sources</li>
+<li>new preferences GUI</li>
+<li>layout adjustment for localization</li>
+<li>signature bugfix</li>
+</ul>
+
+<h2>1.0.4</h2>
+<ul>
+<li>fixed another crash caused by some SDK bug with query builder</li>
+</ul>
+
+<h2>1.0.3</h2>
+<ul>
+<li>fixed crashes during encryption/signing and possibly key export</li>
+</ul>
+
+<h2>1.0.2</h2>
+<ul>
+<li>filterable key lists</li>
+<li>smarter preselection of encryption keys</li>
+<li>new Intent handling for VIEW and SEND, allows files to be encrypted/decrypted out of file managers</li>
+<li>fixes and additional features (key preselection) for k9, new beta build available</li>
+</ul>
+
+<h2>1.0.1</h2>
+<ul>
+<li>GMail account listing was broken in 1.0.0, fixed again</li>
+</ul>
+
+<h2>1.0.0</h2>
+<ul>
+<li>k9mail integration, APG supporting beta build of k9mail</li>
+<li>support of more file managers (including ASTRO)</li>
+<li>Slovenian translation</li>
+<li>new database, much faster, less memory usage</li>
+<li>defined Intents and content provider for other apps</li>
+<li>bugfixes</li>
+</ul>
+</body>
+</html> \ No newline at end of file
diff --git a/APG/res/raw/help_start.html b/APG/res/raw/help_start.html
new file mode 100644
index 000000000..db7559632
--- /dev/null
+++ b/APG/res/raw/help_start.html
@@ -0,0 +1,27 @@
+<!-- Maintain structure with headings with h2 tags and content with p tags.
+This makes it easy to translate the values with transifex!
+And don't add newlines before or after p tags because of transifex -->
+<html>
+<head>
+</head>
+<body>
+<h2>Beta software</h2>
+<p>This is beta software. It contains many remaining bugs!</p>
+
+<h2>APG</h2>
+<p>Android Privacy Guard (APG) is a OpenPGP implementation for Android.
+<br />This is a fork based on the original APG to introduce more features and a new user interface.</p>
+
+<h2>WARNING</h2>
+<p>Be careful editing your existing keys, as they WILL be stripped of certificates right now.
+<br/><br/>Also: key cross-certification is NOT supported, so signing with those keys will get a warning when the signature is checked.</p>
+
+<h2>Getting started</h2>
+<p>Install K-9 Mail for the best integration, it supports APG for PGP/INLINE and lets you directly encrypt/decrypt emails.
+<br/>It is recommended that you install OI File Manager to be able to use the browse button for file selection in APG.
+<br/>First you need some keys. Either import them via the option menus in "Manage Keys" and "My Keys" or create them in "My Keys".<p>
+
+<h2>I found a bug in APG!</h2>
+<p>Please report it in the <a href="https://github.com/dschuermann/apg/issues">issue tracker of APG</a>.</p>
+</body>
+</html> \ No newline at end of file
diff --git a/APG/res/values/arrays.xml b/APG/res/values/arrays.xml
new file mode 100644
index 000000000..05320c609
--- /dev/null
+++ b/APG/res/values/arrays.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+
+ <string-array name="pass_phrase_cache_ttl_entries">
+ <item>@string/choice_15secs</item>
+ <item>@string/choice_1min</item>
+ <item>@string/choice_3mins</item>
+ <item>@string/choice_5mins</item>
+ <item>@string/choice_10mins</item>
+ <item>@string/choice_20mins</item>
+ <item>@string/choice_40mins</item>
+ <item>@string/choice_1hour</item>
+ <item>@string/choice_2hours</item>
+ <item>@string/choice_4hours</item>
+ <item>@string/choice_8hours</item>
+ </string-array>
+ <string-array name="pass_phrase_cache_ttl_values">
+ <item>15</item>
+ <item>60</item>
+ <item>180</item>
+ <item>300</item>
+ <item>600</item>
+ <item>1200</item>
+ <item>2400</item>
+ <item>3600</item>
+ <item>7200</item>
+ <item>14400</item>
+ <item>28800</item>
+ </string-array>
+
+</resources> \ No newline at end of file
diff --git a/APG/res/values/colors.xml b/APG/res/values/colors.xml
new file mode 100644
index 000000000..d1dc6c1f4
--- /dev/null
+++ b/APG/res/values/colors.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <color name="emphasis">#31b6e7</color>
+ <color name="bg_gray">#cecbce</color>
+
+</resources> \ No newline at end of file
diff --git a/APG/res/values/static_strings.xml b/APG/res/values/static_strings.xml
new file mode 100644
index 000000000..c69cf8adf
--- /dev/null
+++ b/APG/res/values/static_strings.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name" translate="false">APG</string>
+ <string name="about_url" translate="false">https://github.com/dschuermann/apg</string>
+
+</resources> \ No newline at end of file
diff --git a/APG/res/values/strings.xml b/APG/res/values/strings.xml
new file mode 100644
index 000000000..d2858559d
--- /dev/null
+++ b/APG/res/values/strings.xml
@@ -0,0 +1,352 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2012 Dominik Schürmann <dominik@dominikschuermann.de>
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+
+ <!-- title_lowerCase: capitalized words, no punctuation -->
+ <string name="title_mailInbox">Mail Inbox</string>
+ <string name="title_managePublicKeys">Manage Public Keys</string>
+ <string name="title_manageSecretKeys">Manage Secret Keys</string>
+ <string name="title_selectRecipients">Select Recipients</string>
+ <string name="title_selectSignature">Select Signature</string>
+ <string name="title_encrypt">Encrypt</string>
+ <string name="title_decrypt">Decrypt</string>
+ <string name="title_authentication">Passphrase</string>
+ <string name="title_createKey">Create Key</string>
+ <string name="title_editKey">Edit Key</string>
+ <string name="title_createKey">Create Key</string>
+ <string name="title_preferences">Preferences</string>
+ <string name="title_keyServerPreference">Key Server Preference</string>
+ <string name="title_changePassPhrase">Change Passphrase</string>
+ <string name="title_setPassPhrase">Set Passphrase</string>
+ <string name="title_sendEmail">"Send Mail…"</string>
+ <string name="title_encryptToFile">Encrypt To File</string>
+ <string name="title_decryptToFile">Decrypt To File</string>
+ <string name="title_importKeys">Import Keys</string>
+ <string name="title_exportKey">Export Key</string>
+ <string name="title_exportKeys">Export Keys</string>
+ <string name="title_keyNotFound">Key Not Found</string>
+ <string name="title_help">Getting Started</string>
+ <string name="title_keyServerQuery">Query Key Server</string>
+ <string name="title_sendKey">Export to Key Server</string>
+ <string name="title_unknownSignatureKey">Unknown Signature Key</string>
+ <string name="title_importFromQRCode">Import from QR Code</string>
+ <string name="title_signKey">Sign Key</string>
+ <string name="title_about">About</string>
+ <string name="title_help">Help</string>
+
+ <!-- section_lowerCase: capitalized words, no punctuation -->
+ <string name="section_userIds">User IDs</string>
+ <string name="section_keys">Keys</string>
+ <string name="section_general">General</string>
+ <string name="section_defaults">Defaults</string>
+ <string name="section_advanced">Advanced</string>
+
+ <!-- btn_lowerCase: capitalized words, no punctuation -->
+ <string name="btn_signToClipboard">Sign (Clipboard)</string>
+ <string name="btn_encryptToClipboard">Encrypt (Clipboard)</string>
+ <string name="btn_encryptAndEmail">Encrypt (Email)</string>
+ <string name="btn_signAndEmail">Sign (Email)</string>
+ <string name="btn_encrypt">Encrypt</string>
+ <string name="btn_sign">Sign</string>
+ <string name="btn_decrypt">Decrypt</string>
+ <string name="btn_verify">Verify</string>
+ <string name="btn_selectEncryptKeys">Select Recipients</string>
+ <string name="btn_reply">Reply</string>
+ <string name="btn_encryptMessage">Encrypt Message</string>
+ <string name="btn_decryptMessage">Decrypt Message</string>
+ <string name="btn_encryptFile">Encrypt File</string>
+ <string name="btn_decryptFile">Decrypt File</string>
+ <string name="btn_save">Save</string>
+ <string name="btn_doNotSave">Cancel</string>
+ <string name="btn_delete">Delete</string>
+ <string name="btn_noDate">None</string>
+ <string name="btn_okay">Okay</string>
+ <string name="btn_clearFilter">Clear Filter</string>
+ <string name="btn_changePassPhrase">Change Passphrase</string>
+ <string name="btn_setPassPhrase">Set Passphrase</string>
+ <string name="btn_search">Search</string>
+ <string name="btn_export_to_server">Export To Server</string>
+
+ <!-- menu_lowerCase: capitalized words, no punctuation -->
+ <string name="menu_about">About</string>
+ <string name="menu_deleteAccount">Delete Account</string>
+ <string name="menu_managePublicKeys">Manage Public Keys</string>
+ <string name="menu_manageSecretKeys">Manage Secret Keys</string>
+ <string name="menu_preferences">Settings</string>
+ <string name="menu_importKeys">Import Keys</string>
+ <string name="menu_exportKeys">Export All Keys</string>
+ <string name="menu_exportKey">Export Key</string>
+ <string name="menu_deleteKey">Delete Key</string>
+ <string name="menu_createKey">Create Key</string>
+ <string name="menu_editKey">Edit Key</string>
+ <string name="menu_search">Search</string>
+ <string name="menu_help">Help</string>
+ <string name="menu_keyServer">Key Server</string>
+ <string name="menu_updateKey">Update from Server</string>
+ <string name="menu_exportKeyToServer">Export To Server</string>
+ <string name="menu_share">Share public key with QR Code</string>
+ <string name="menu_scanQRCode">Scan QR Code</string>
+ <string name="menu_signKey">Sign Key</string>
+
+ <!-- label_lowerCase: capitalized words, no punctuation -->
+ <string name="label_sign">Sign</string>
+ <string name="label_message">Message</string>
+ <string name="label_file">File</string>
+ <string name="label_noPassPhrase">No Passphrase</string>
+ <string name="label_passPhrase">Passphrase</string>
+ <string name="label_passPhraseAgain">Again</string>
+ <string name="label_algorithm">Algorithm</string>
+ <string name="label_asciiArmour">ASCII Armour</string>
+ <string name="label_selectPublicKeys">Public Key(s)</string>
+ <string name="label_deleteAfterEncryption">Delete After Encryption</string>
+ <string name="label_deleteAfterDecryption">Delete After Decryption</string>
+ <string name="label_deleteAfterImport">Delete After Import</string>
+ <string name="label_encryptionAlgorithm">Encryption Algorithm</string>
+ <string name="label_hashAlgorithm">Hash Algorithm</string>
+ <string name="label_asymmetric">Public Key</string>
+ <string name="label_symmetric">Passphrase</string>
+ <string name="label_passPhraseCacheTtl">Passphrase Cache</string>
+ <string name="label_messageCompression">Message Compression</string>
+ <string name="label_fileCompression">File Compression</string>
+ <string name="label_forceV3Signature">Force V3 Signatures</string>
+ <string name="label_keyServers">Key Servers</string>
+ <string name="label_keyId">Key ID</string>
+ <string name="label_creation">Creation</string>
+ <string name="label_expiry">Expiry</string>
+ <string name="label_usage">Usage</string>
+ <string name="label_keySize">Key Size</string>
+ <string name="label_mainUserId">Main User ID</string>
+ <string name="label_name">Name</string>
+ <string name="label_comment">Comment</string>
+ <string name="label_email">Email</string>
+ <string name="label_sendKey">Send Key to Server?</string>
+ <string name="noKeysSelected">Select</string>
+ <string name="oneKeySelected">1 Selected</string>
+ <string name="nKeysSelected">Selected</string>
+ <string name="unknownUserId">&lt;unknown></string>
+ <string name="none">&lt;none></string>
+ <string name="noKey">&lt;no key></string>
+ <string name="noDate">-</string>
+ <string name="noExpiry">&lt;no expiry></string>
+ <string name="unknownStatus"></string>
+ <string name="canEncrypt">can encrypt</string>
+ <string name="canSign">can sign</string>
+ <string name="expired">expired</string>
+ <string name="notValid">not valid</string>
+ <string name="nKeyServers">%s key server(s)</string>
+ <string name="fingerprint">fingerprint</string>
+
+ <!-- choice_lowerCase: capitalized first word, no punctuation -->
+ <string name="choice_none">None</string>
+ <string name="choice_signOnly">Sign only</string>
+ <string name="choice_encryptOnly">Encrypt only</string>
+ <string name="choice_signAndEncrypt">Sign and Encrypt</string>
+ <string name="choice_15secs">15 secs</string>
+ <string name="choice_1min">1 min</string>
+ <string name="choice_3mins">3 mins</string>
+ <string name="choice_5mins">5 mins</string>
+ <string name="choice_10mins">10 mins</string>
+ <string name="choice_20mins">20 mins</string>
+ <string name="choice_40mins">40 mins</string>
+ <string name="choice_1hour">1 hour</string>
+ <string name="choice_2hours">2 hours</string>
+ <string name="choice_4hours">4 hours</string>
+ <string name="choice_8hours">8 hours</string>
+ <string name="choice_untilQuit">until quit</string>
+ <string name="choice_language_system">System default</string>
+ <string name="dsa">DSA</string>
+ <string name="elgamal">ElGamal</string>
+ <string name="rsa">RSA</string>
+ <string name="filemanager_titleOpen">Open…</string>
+ <string name="filemanager_titleSave">Save As…</string>
+ <string name="filemanager_titleEncrypt">Select File To Encrypt…</string>
+ <string name="filemanager_titleDecrypt">Select File To Decrypt…</string>
+ <string name="filemanager_btnOpen">Open</string>
+ <string name="filemanager_btnSave">Save</string>
+ <string name="warning">Warning</string>
+ <string name="error">Error</string>
+ <string name="warningMessage">Warning: %s</string>
+ <string name="errorMessage">Error: %s</string>
+
+ <!-- sentences -->
+ <string name="wrongPassPhrase">Wrong passphrase.</string>
+ <string name="usingClipboardContent">Using clipboard content.</string>
+ <string name="keySaved">Key saved.</string>
+ <string name="setAPassPhrase">Set a passphrase first.</string>
+ <string name="noFilemanagerInstalled">No compatible file manager installed.</string>
+ <string name="passPhrasesDoNotMatch">The passphrases didn\'t match.</string>
+ <string name="passPhraseMustNotBeEmpty">Empty passphrases are not allowed.</string>
+ <string name="passPhraseForSymmetricEncryption">Symmetric encryption.</string>
+ <string name="passPhraseFor">Enter passphrase for \'%s\'</string>
+ <string name="fileDeleteConfirmation">Are you sure you want to delete\n%s?</string>
+ <string name="fileDeleteSuccessful">Successfully deleted.</string>
+ <string name="noFileSelected">Select a file first.</string>
+ <string name="decryptionSuccessful">Successfully decrypted.</string>
+ <string name="encryptionSuccessful">Successfully encrypted.</string>
+ <string name="encryptionToClipboardSuccessful">Successfully encrypted to clipboard.</string>
+ <string name="enterPassPhraseTwice">Enter the passphrase twice.</string>
+ <string name="selectEncryptionKey">Select at least one encryption key.</string>
+ <string name="selectEncryptionOrSignatureKey">Select at least one encryption key or a signature key.</string>
+ <string name="specifyFileToEncryptTo">Please specify which file to encrypt to.\nWARNING! File will be overwritten if it exists.</string>
+ <string name="specifyFileToDecryptTo">Please specify which file to decrypt to.\nWARNING! File will be overwritten if it exists.</string>
+ <string name="specifyFileToImportFrom">Please specify which file to import keys from. (.asc or .gpg)</string>
+ <string name="specifyFileToExportTo">Please specify which file to export to.\nWARNING! File will be overwritten if it exists.</string>
+ <string name="specifyFileToExportSecretKeysTo">Please specify which file to export to.\nWARNING! You are about to export SECRET keys.\nWARNING! File will be overwritten if it exists.</string>
+ <string name="keyDeletionConfirmation">Do you really want to delete the key \'%s\'?\nYou can\'t undo this!</string>
+ <string name="secretKeyDeletionConfirmation">Do you really want to delete the SECRET key \'%s\'?\nYou can\'t undo this!</string>
+ <string name="keysAddedAndUpdated">Successfully added %1$s key(s) and updated %2$s key(s).</string>
+ <string name="keysAdded">Successfully added %s key(s).</string>
+ <string name="keysUpdated">Successfully updated %s key(s).</string>
+ <string name="noKeysAddedOrUpdated">No keys added or updated.</string>
+ <string name="keyExported">Successfully exported 1 key.</string>
+ <string name="keysExported">Successfully exported %s keys.</string>
+ <string name="noKeysExported">No keys exported.</string>
+ <string name="keyCreationElGamalInfo">Note: only subkeys support ElGamal, and for ElGamal the nearest keysize of 1536, 2048, 3072, 4096, or 8192 will be used.</string>
+ <string name="keyNotFound">Couldn\'t find key %08X.</string>
+ <string name="keysFound">Found %s key(s).</string>
+ <string name="unknownSignatureKeyTouchToLookUp">Unknown signature, touch to look up key.</string>
+ <string name="keyEditingIsBeta">Key editing is still kind of beta.</string>
+ <string name="badKeysEncountered">%s bad secret key(s) ignored. Perhaps you exported with the option\n --export-secret-subkeys\nMake sure you export with\n --export-secret-keys\ninstead.</string>
+ <string name="lookupUnknownKey">Unknown key %s, do you want to try finding it on a keyserver?</string>
+ <string name="keySendSuccess">Successfully sent key to server</string>
+ <string name="keySignSuccess">Successfully signed key</string>
+ <string name="qrScanImportSuccess">Successfully validated and imported key</string>
+ <string name="listInformation">Long press one entry in this list to show more options!</string>
+ <string name="listEmpty">This list is empty!</string>
+
+ <!--
+ error_lowerCase: phrases, no punctuation, all lowercase,
+ they will be put after "errorMessage", e.g. "Error: file not found"
+ -->
+ <string name="error_fileDeleteFailed">deleting \'%s\' failed</string>
+ <string name="error_fileNotFound">file not found</string>
+ <string name="error_noSecretKeyFound">no suitable secret key found</string>
+ <string name="error_noKnownEncryptionFound">no known kind of encryption found</string>
+ <string name="error_externalStorageNotReady">external storage not ready</string>
+ <string name="error_addingAccountFailed">adding account \'%s\' failed</string>
+ <string name="error_invalidEmail">invalid email \'%s\'</string>
+ <string name="error_keySizeMinimum512bit">key size must be at least 512bit</string>
+ <string name="error_masterKeyMustNotBeElGamal">the master key cannot be an ElGamal key</string>
+ <string name="error_unknownAlgorithmChoice">unknown algorithm choice</string>
+ <string name="error_userIdNeedsAName">you need to specify a name</string>
+ <string name="error_userIdNeedsAnEmailAddress">you need to specify an email address</string>
+ <string name="error_keyNeedsAUserId">need at least one user id</string>
+ <string name="error_mainUserIdMustNotBeEmpty">main user id must not be empty</string>
+ <string name="error_keyNeedsMasterKey">need at least a master key</string>
+ <string name="error_expiryMustComeAfterCreation">expiry date must come after creation date</string>
+ <string name="error_noEncryptionKeysOrPassPhrase">no encryption key(s) or passphrase given</string>
+ <string name="error_signatureFailed">signature failed</string>
+ <string name="error_noSignaturePassPhrase">no passphrase given</string>
+ <string name="error_noSignatureKey">no signature key given</string>
+ <string name="error_invalidData">not valid encryption data</string>
+ <string name="error_corruptData">corrupt data</string>
+ <string name="error_noSymmetricEncryptionPacket">couldn\'t find a packet with symmetric encryption</string>
+ <string name="error_wrongPassPhrase">wrong passphrase</string>
+ <string name="error_savingKeys">error saving some key(s)</string>
+ <string name="error_couldNotExtractPrivateKey">could not extract private key</string>
+ <string name="error_onlyFilesAreSupported">Direct binary data without actual file in filesystem is not supported. This is only supported by ACTION_ENCRYPT_STREAM_AND_RETURN.</string>
+
+ <!-- progress_lowerCase: lowercase, phrases, usually ending in '…' -->
+ <string name="progress_done">done.</string>
+ <string name="progress_initializing">initializing…</string>
+ <string name="progress_saving">saving…</string>
+ <string name="progress_importing">importing…</string>
+ <string name="progress_exporting">exporting…</string>
+ <string name="progress_generating">generating key, this can take a while…</string>
+ <string name="progress_buildingKey">building key…</string>
+ <string name="progress_preparingMasterKey">preparing master key…</string>
+ <string name="progress_certifyingMasterKey">certifying master key…</string>
+ <string name="progress_buildingMasterKeyRing">building master key ring…</string>
+ <string name="progress_addingSubKeys">adding sub keys…</string>
+ <string name="progress_savingKeyRing">saving key ring…</string>
+ <string name="progress_importingSecretKeys">importing secret keys…</string>
+ <string name="progress_importingPublicKeys">importing public keys…</string>
+ <string name="progress_reloadingKeys">reloading keys…</string>
+ <string name="progress_exportingKey">exporting key…</string>
+ <string name="progress_exportingKeys">exporting keys…</string>
+ <string name="progress_extractingSignatureKey">extracting signature key…</string>
+ <string name="progress_extractingKey">extracting key…</string>
+ <string name="progress_preparingStreams">preparing streams…</string>
+ <string name="progress_encrypting">encrypting data…</string>
+ <string name="progress_decrypting">decrypting data…</string>
+ <string name="progress_preparingSignature">preparing signature…</string>
+ <string name="progress_generatingSignature">generating signature…</string>
+ <string name="progress_processingSignature">processing signature…</string>
+ <string name="progress_verifyingSignature">verifying signature…</string>
+ <string name="progress_signing">signing…</string>
+ <string name="progress_readingData">reading data…</string>
+ <string name="progress_findingKey">finding key…</string>
+ <string name="progress_decompressingData">decompressing data…</string>
+ <string name="progress_verifyingIntegrity">verifying integrity…</string>
+ <string name="progress_deletingSecurely">deleting \'%s\' securely…</string>
+ <string name="progress_querying">querying…</string>
+ <string name="progress_queryingServer">querying %s…</string>
+
+ <!-- permission strings -->
+ <string name="permission_group_label">APG</string>
+ <string name="permission_group_description">Permissions to use APG</string>
+ <string name="permission_read_key_database_label">Read key details of public and secret keys (The keys themselves can NOT be read.)</string>
+ <string name="permission_read_key_database_description">Read key details of public and secret keys stored in APG, such as key ID and user IDs. The keys themselves can NOT be read.</string>
+ <string name="permission_access_api_label">Encrypt/Sign/Decrypt/Create keys without user interaction</string>
+ <string name="permission_access_api_description">Encrypt/Sign/Decrypt/Create keys (by using Intents or Remote Service) without user interaction</string>
+
+ <!-- action strings -->
+ <string name="action_encrypt">Encrypt</string>
+ <string name="action_decrypt">Decrypt</string>
+ <string name="action_importPublic">Import Public Keys</string>
+ <string name="action_importSecret">Import Secret Keys</string>
+ <string name="hint_publicKeys">Search Public Keys</string>
+ <string name="hint_secretKeys">Search Secret Keys</string>
+ <string name="filterInfo">Filter: \"%s\"</string>
+
+ <!-- misc -->
+ <string name="fast">fast</string>
+ <string name="slow">slow</string>
+ <string name="very_slow">very slow</string>
+
+ <!-- APG 2.0 -->
+
+
+ <!-- Dashboard -->
+ <string name="dashboard_manage_keys">Manage Keys</string>
+ <string name="dashboard_my_keys">My Keys</string>
+ <string name="dashboard_encrypt">Encrypt</string>
+ <string name="dashboard_decrypt">Decrypt</string>
+ <string name="dashboard_help">Help</string>
+ <string name="dashboard_scan_qrcode">Scan QRCode</string>
+
+ <!-- Help -->
+ <string name="help_tab_start">Start</string>
+ <string name="help_tab_changelog">Changelog</string>
+ <string name="help_tab_about">About</string>
+ <string name="help_about_version">Version:</string>
+
+ <!-- Import from QR Code -->
+ <string name="import_from_qr_code_import">Import key (only locally)</string>
+ <string name="import_from_qr_code_import_sign_and_upload">Import, Sign, and upload key</string>
+ <string name="import_from_qr_code_scan_again">Scan qr code again</string>
+ <string name="import_from_qr_code_finish">Finish</string>
+
+ <!-- Intent labels -->
+ <string name="intent_decrypt_file">APG: Decrypt File</string>
+ <string name="intent_import_key">APG: Import Key</string>
+ <string name="intent_send_encrypt">APG: Encrypt</string>
+ <string name="intent_send_decrypt">APG: Decrypt</string>
+
+</resources> \ No newline at end of file
diff --git a/APG/res/values/styles.xml b/APG/res/values/styles.xml
new file mode 100644
index 000000000..ef3ff63f6
--- /dev/null
+++ b/APG/res/values/styles.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2012 Dominik Schürmann <dominik@dominikschuermann.de>
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+
+ <style name="MinusButton">
+ <item name="android:background">@drawable/btn_circle</item>
+ <item name="android:src">@drawable/ic_btn_round_minus</item>
+ </style>
+
+ <style name="PlusButton">
+ <item name="android:background">@drawable/btn_circle</item>
+ <item name="android:src">@drawable/ic_btn_round_plus</item>
+ </style>
+
+ <style name="DashboardButton">
+ <item name="android:layout_gravity">center_vertical</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:gravity">center_horizontal</item>
+ <item name="android:drawablePadding">2dp</item>
+ <item name="android:textSize">14sp</item>
+ <item name="android:textStyle">bold</item>
+ <item name="android:background">@android:color/transparent</item>
+ </style>
+
+ <style name="SectionHeader">
+ <item name="android:drawableBottom">@drawable/section_header</item>
+ <item name="android:drawablePadding">4dp</item>
+ <item name="android:layout_marginTop">8dp</item>
+ <item name="android:paddingLeft">4dp</item>
+ <item name="android:textAllCaps">true</item>
+ <item name="android:textColor">@color/emphasis</item>
+ <item name="android:textSize">14sp</item>
+ </style>
+
+</resources> \ No newline at end of file
diff --git a/APG/res/xml/apg_preferences.xml b/APG/res/xml/apg_preferences.xml
new file mode 100644
index 000000000..778f51375
--- /dev/null
+++ b/APG/res/xml/apg_preferences.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <PreferenceCategory android:title="@string/section_general" >
+ <org.thialfihar.android.apg.ui.widget.IntegerListPreference
+ android:entries="@array/pass_phrase_cache_ttl_entries"
+ android:entryValues="@array/pass_phrase_cache_ttl_values"
+ android:key="passPhraseCacheTtl"
+ android:persistent="false"
+ android:title="@string/label_passPhraseCacheTtl" />
+
+ <PreferenceScreen
+ android:key="keyServers"
+ android:persistent="false"
+ android:title="@string/label_keyServers" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/section_defaults" >
+ <org.thialfihar.android.apg.ui.widget.IntegerListPreference
+ android:key="defaultEncryptionAlgorithm"
+ android:persistent="false"
+ android:title="@string/label_encryptionAlgorithm" />
+ <org.thialfihar.android.apg.ui.widget.IntegerListPreference
+ android:key="defaultHashAlgorithm"
+ android:persistent="false"
+ android:title="@string/label_hashAlgorithm" />
+ <org.thialfihar.android.apg.ui.widget.IntegerListPreference
+ android:key="defaultMessageCompression"
+ android:persistent="false"
+ android:title="@string/label_messageCompression" />
+ <org.thialfihar.android.apg.ui.widget.IntegerListPreference
+ android:key="defaultFileCompression"
+ android:persistent="false"
+ android:title="@string/label_fileCompression" />
+
+ <CheckBoxPreference
+ android:key="defaultAsciiArmour"
+ android:persistent="false"
+ android:title="@string/label_asciiArmour" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/section_advanced" >
+ <CheckBoxPreference
+ android:key="forceV3Signatures"
+ android:persistent="false"
+ android:title="@string/label_forceV3Signature" />
+ </PreferenceCategory>
+
+</PreferenceScreen> \ No newline at end of file
diff --git a/APG/res/xml/searchable_public_keys.xml b/APG/res/xml/searchable_public_keys.xml
new file mode 100644
index 000000000..e9602b121
--- /dev/null
+++ b/APG/res/xml/searchable_public_keys.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<searchable xmlns:android="http://schemas.android.com/apk/res/android"
+ android:hint="@string/hint_publicKeys"
+ android:label="@string/app_name" >
+
+</searchable> \ No newline at end of file
diff --git a/APG/res/xml/searchable_secret_keys.xml b/APG/res/xml/searchable_secret_keys.xml
new file mode 100644
index 000000000..a7e8873d6
--- /dev/null
+++ b/APG/res/xml/searchable_secret_keys.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Thialfihar <thi@thialfihar.org>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<searchable xmlns:android="http://schemas.android.com/apk/res/android"
+ android:hint="@string/hint_secretKeys"
+ android:label="@string/app_name" >
+
+</searchable> \ No newline at end of file