diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-06-11 17:40:36 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-06-11 17:40:36 -0700 |
commit | 3fc67575b4047005482321c940429cc4eb420a12 (patch) | |
tree | 75cee77c7290cac0aa8774cab0b708fea16ddfcd /res/layout/create_user.xml | |
parent | bca7e778faff8e614c69a3c11b0958800719261c (diff) | |
download | dsub-3fc67575b4047005482321c940429cc4eb420a12.tar.gz dsub-3fc67575b4047005482321c940429cc4eb420a12.tar.bz2 dsub-3fc67575b4047005482321c940429cc4eb420a12.zip |
#171 Add create user dialog
Diffstat (limited to 'res/layout/create_user.xml')
-rw-r--r-- | res/layout/create_user.xml | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/res/layout/create_user.xml b/res/layout/create_user.xml new file mode 100644 index 00000000..4d918fc9 --- /dev/null +++ b/res/layout/create_user.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/username_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="4dp"
+ android:textSize="20dp"
+ android:text="@string/admin.add_user_username" />
+ <EditText
+ android:id="@+id/username"
+ android:inputType="text"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_marginLeft="4dp" />
+ </LinearLayout>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/email_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="4dp"
+ android:textSize="20dp"
+ android:text="@string/admin.add_user_email" />
+ <EditText
+ android:id="@+id/email"
+ android:inputType="textEmailAddress"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_marginLeft="4dp" />
+ </LinearLayout>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/password_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="4dp"
+ android:textSize="20dp"
+ android:text="@string/admin.add_user_password" />
+ <EditText
+ android:id="@+id/password"
+ android:inputType="textPassword"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_marginLeft="4dp" />
+ </LinearLayout>
+
+ <ListView
+ android:id="@+id/settings_list"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1.0"
+ android:fastScrollEnabled="true"/>
+
+</LinearLayout>
\ No newline at end of file |