aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorsenecaso <senecaso@bertha>2011-10-17 10:07:37 +0900
committersenecaso <senecaso@bertha>2011-10-17 10:07:37 +0900
commitdebb90409a0a90ce9351c83e42cb72f8935bacb1 (patch)
tree7e61de006c0cad43019698f7e2267285f550e198 /res/layout
parent6f2333b7d3ff892697e993e4af2053a695f19402 (diff)
downloadopen-keychain-debb90409a0a90ce9351c83e42cb72f8935bacb1.tar.gz
open-keychain-debb90409a0a90ce9351c83e42cb72f8935bacb1.tar.bz2
open-keychain-debb90409a0a90ce9351c83e42cb72f8935bacb1.zip
-implementation of "--send-key"
-implementation of "--sign-key" -partial implementation of exchanging/verifying keys via QR Code
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/key_server_export_layout.xml42
-rw-r--r--res/layout/sign_key_layout.xml40
2 files changed, 82 insertions, 0 deletions
diff --git a/res/layout/key_server_export_layout.xml b/res/layout/key_server_export_layout.xml
new file mode 100644
index 000000000..b2270417d
--- /dev/null
+++ b/res/layout/key_server_export_layout.xml
@@ -0,0 +1,42 @@
+<?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">
+
+ <Spinner
+ android:id="@+id/keyServer"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"/>
+
+ <Button
+ android:id="@+id/btn_export_to_server"
+ android:text="@string/btn_export_to_server"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
+
+ </LinearLayout>
+
+</LinearLayout>
diff --git a/res/layout/sign_key_layout.xml b/res/layout/sign_key_layout.xml
new file mode 100644
index 000000000..17be03b21
--- /dev/null
+++ b/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>