aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/create_key_activity.xml
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/src/main/res/layout/create_key_activity.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/create_key_activity.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/create_key_activity.xml b/OpenKeychain/src/main/res/layout/create_key_activity.xml
new file mode 100644
index 000000000..673f43084
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout/create_key_activity.xml
@@ -0,0 +1,54 @@
+<?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="wrap_content"
+ android:padding="8dp"
+ android:orientation="vertical">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="4dp"
+ android:text="Enter Full Name, Email and Passphrase!"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <AutoCompleteTextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPersonName"
+ android:hint="Name"
+ android:ems="10"
+ android:id="@+id/name" />
+
+ <AutoCompleteTextView
+ android:id="@+id/email"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="bla@example.com"
+ android:layout_weight="1"
+ android:ems="10"
+ android:inputType="textEmailAddress" />
+
+ <EditText
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPassword"
+ android:hint="passphrase"
+ android:ems="10"
+ android:id="@+id/passphrase"
+ android:layout_gravity="center_horizontal" />
+
+
+ <Button
+ android:id="@+id/create_key_button"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="center_horizontal"
+ android:layout_margin="8dp"
+ android:text="@string/first_time_create_key"
+ android:background="@drawable/button_edgy"
+ android:drawableLeft="@drawable/ic_action_new_account" />
+
+
+</LinearLayout> \ No newline at end of file