aboutsummaryrefslogtreecommitdiffstats
path: root/OpenPGP-Keychain/res/layout/api_app_settings_activity.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2013-09-04 22:04:27 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2013-09-04 22:04:27 +0200
commitd8bd6e29461d30a8638831451b781b8efa7e4a3f (patch)
treeec41dd1c72d9602ec47cdeb7b67f592a8dbd34a7 /OpenPGP-Keychain/res/layout/api_app_settings_activity.xml
parentc3b49a318f82238245f6c40b7a8abda01cb9433d (diff)
downloadopen-keychain-d8bd6e29461d30a8638831451b781b8efa7e4a3f.tar.gz
open-keychain-d8bd6e29461d30a8638831451b781b8efa7e4a3f.tar.bz2
open-keychain-d8bd6e29461d30a8638831451b781b8efa7e4a3f.zip
Settings fragment and activity for apps
Diffstat (limited to 'OpenPGP-Keychain/res/layout/api_app_settings_activity.xml')
-rw-r--r--OpenPGP-Keychain/res/layout/api_app_settings_activity.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/OpenPGP-Keychain/res/layout/api_app_settings_activity.xml b/OpenPGP-Keychain/res/layout/api_app_settings_activity.xml
new file mode 100644
index 000000000..e25a110cc
--- /dev/null
+++ b/OpenPGP-Keychain/res/layout/api_app_settings_activity.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <fragment
+ android:id="@+id/api_app_settings_fragment"
+ android:name="org.sufficientlysecure.keychain.remote_api.AppSettingsFragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ tools:layout="@layout/api_app_settings_fragment" />
+
+ <LinearLayout
+ android:id="@+id/register_crypto_consumer_edit_layout"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingBottom="3dip" >
+
+ <Button
+ android:id="@+id/register_crypto_consumer_disallow"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="Revoke access" />
+
+ <Button
+ android:id="@+id/register_crypto_consumer_allow"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="Save" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file