aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/create_key_activity.xml
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-07-16 09:49:37 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-07-16 09:49:37 +0200
commitc1c831e52b11fc976b06b0d850f62e7934f581f6 (patch)
treefb6b89351c0636c37ca7e12a88a82d1027f1e776 /OpenKeychain/src/main/res/layout/create_key_activity.xml
parentd3c54d5f129ca24cbfa08208fc5c79c626897d4b (diff)
downloadopen-keychain-c1c831e52b11fc976b06b0d850f62e7934f581f6.tar.gz
open-keychain-c1c831e52b11fc976b06b0d850f62e7934f581f6.tar.bz2
open-keychain-c1c831e52b11fc976b06b0d850f62e7934f581f6.zip
New first time screen
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