diff options
Diffstat (limited to 'res/layout/host_editor.xml')
-rw-r--r-- | res/layout/host_editor.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/res/layout/host_editor.xml b/res/layout/host_editor.xml new file mode 100644 index 0000000..98cd048 --- /dev/null +++ b/res/layout/host_editor.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <TextView id="@+id/usernameLabel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Username:"/> + + <EditText id="@+id/username" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_below="@id/usernameLabel"/> + + <TextView id="@+id/hostnameLabel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_below="@id/username" + android:text="Hostname:"/> + + <EditText id="@+id/hostname" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_below="@id/hostnameLabel"/> + + <TextView id="@+id/portLabel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_below="@id/hostname" + android:text="Port:"/> + + <EditText id="@+id/port" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="22" + android:layout_below="@id/portLabel"/> + + <Button id="@+id/add" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@id/port" + android:layout_alignParentRight="true" + android:layout_marginLeft="10dip" + android:text="@string/button_add" /> + + <Button id="@+id/cancel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toLeft="@id/add" + android:layout_alignTop="@id/add" + android:text="@string/button_cancel" /> +</RelativeLayout>
\ No newline at end of file |