summaryrefslogtreecommitdiff
path: root/res/layout/start.xml
diff options
context:
space:
mode:
authorNathan Lasseter <nathan@4574.co.uk>2013-05-22 17:39:57 +0100
committerNathan Lasseter <nathan@4574.co.uk>2013-05-22 17:39:57 +0100
commitdd525d0d032ef28e1eab0a8d89e32eb5e72654bb (patch)
tree104a224612a363774381755703825c89aa93cf2c /res/layout/start.xml
parenteab3b658b2e49cfd57d2eb3611eaba737b14e550 (diff)
Username & Password
Diffstat (limited to 'res/layout/start.xml')
-rw-r--r--res/layout/start.xml29
1 files changed, 27 insertions, 2 deletions
diff --git a/res/layout/start.xml b/res/layout/start.xml
index d0f7d30..0168774 100644
--- a/res/layout/start.xml
+++ b/res/layout/start.xml
@@ -1,6 +1,6 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
+ android:layout_width="fill_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
@@ -39,13 +39,17 @@
android:layout_below="@+id/protocol"
android:ems="10"
android:hint="@string/uri"
- android:inputType="textUri" />
+ android:inputType="textUri">
+
+ <requestFocus />
+ </EditText>
<EditText
android:id="@+id/port"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
+ android:layout_alignRight="@+id/protocol"
android:layout_below="@+id/uri"
android:ems="10"
android:hint="@string/port"
@@ -59,4 +63,25 @@
android:layout_below="@+id/port"
android:text="@string/connect" />
+ <EditText
+ android:id="@+id/username"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignRight="@+id/password"
+ android:layout_below="@+id/connectbutton"
+ android:ems="10"
+ android:hint="@string/username"
+ android:inputType="text" />
+
+ <EditText
+ android:id="@+id/password"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@+id/username"
+ android:ems="10"
+ android:hint="@string/password"
+ android:inputType="textPassword" />
+
</RelativeLayout> \ No newline at end of file