summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-06-05 14:39:48 +0200
committerArne Schwabe <arne@rfc2549.org>2013-06-05 14:39:48 +0200
commit1e57ad0ef473917864ea1f5983e2ca79932b30c6 (patch)
tree7694f21563e50f95a75704758ea8752e69fabdb0 /res/layout
parent1c900c0ee6de4af5d5fb46ebdaf7ed1929804f5a (diff)
Add support for asking username/password if none is set (closes issue #174)
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/userpass.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/res/layout/userpass.xml b/res/layout/userpass.xml
new file mode 100644
index 00000000..d13953c6
--- /dev/null
+++ b/res/layout/userpass.xml
@@ -0,0 +1,39 @@
+<?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">
+
+ <EditText
+ android:id="@+id/username"
+ android:inputType="textEmailAddress"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:layout_marginLeft="4dp"
+ android:layout_marginRight="4dp"
+ android:layout_marginBottom="4dp"
+ android:hint="@string/auth_username" />
+ <EditText
+ android:id="@+id/password"
+ android:inputType="textPassword"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:layout_marginLeft="4dp"
+ android:layout_marginRight="4dp"
+ android:layout_marginBottom="4dp"
+ android:hint="@string/password"/>
+
+ <CheckBox
+ android:id="@+id/save_password"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:layout_marginLeft="4dp"
+ android:text="@string/save_password"
+ android:layout_marginRight="4dp"
+ android:layout_marginBottom="16dp"/>
+
+</LinearLayout> \ No newline at end of file