diff options
Diffstat (limited to 'example/src/main/res/xml')
-rw-r--r-- | example/src/main/res/xml/base_preference.xml | 16 | ||||
-rw-r--r-- | example/src/main/res/xml/intent_preference.xml | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/example/src/main/res/xml/base_preference.xml b/example/src/main/res/xml/base_preference.xml new file mode 100644 index 0000000..cd214f4 --- /dev/null +++ b/example/src/main/res/xml/base_preference.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + + <PreferenceCategory android:title="OpenPGP API"> + <org.openintents.openpgp.util.OpenPgpAppPreference + android:key="openpgp_provider_list" + android:title="Select OpenPGP app!" /> + <org.openintents.openpgp.util.OpenPgpKeyPreference + android:key="openpgp_key" + android:title="Select key!" /> + <Preference + android:key="openpgp_provider_demo" + android:title="OpenPGP API Example" /> + </PreferenceCategory> + +</PreferenceScreen>
\ No newline at end of file diff --git a/example/src/main/res/xml/intent_preference.xml b/example/src/main/res/xml/intent_preference.xml new file mode 100644 index 0000000..801e4a7 --- /dev/null +++ b/example/src/main/res/xml/intent_preference.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> + + <PreferenceCategory android:title="Intents (org.sufficientlysecure.keychain.action.)"> + <Preference + android:key="ENCRYPT" + android:title="ENCRYPT" /> + <Preference + android:key="ENCRYPT_URI" + android:title="ENCRYPT with Uri" /> + <Preference + android:key="DECRYPT" + android:title="DECRYPT" /> + <Preference + android:key="IMPORT_KEY" + android:title="IMPORT_KEY" /> + <Preference + android:key="IMPORT_KEY_FROM_KEYSERVER" + android:title="IMPORT_KEY_FROM_KEYSERVER" /> + <Preference + android:key="IMPORT_KEY_FROM_QR_CODE" + android:title="IMPORT_KEY_FROM_QR_CODE" /> + </PreferenceCategory> + <PreferenceCategory android:title="Special Intents"> + <Preference + android:key="openpgp4fpr" + android:title="VIEW openpgp4fpr:73EE2314F65FA92EC2390D3A718C070100012282" /> + </PreferenceCategory> + +</PreferenceScreen>
\ No newline at end of file |