aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/host_editor.xml53
-rw-r--r--res/layout/main.xml12
-rw-r--r--res/layout/message_dialog.xml17
-rw-r--r--res/layout/password_dialog.xml25
-rw-r--r--res/layout/secure_shell.xml12
5 files changed, 119 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
diff --git a/res/layout/main.xml b/res/layout/main.xml
new file mode 100644
index 0000000..37bd27a
--- /dev/null
+++ b/res/layout/main.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ >
+<TextView id="@+id/shell"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="Hello World, SSH"
+ />
+</LinearLayout>
diff --git a/res/layout/message_dialog.xml b/res/layout/message_dialog.xml
new file mode 100644
index 0000000..8720d92
--- /dev/null
+++ b/res/layout/message_dialog.xml
@@ -0,0 +1,17 @@
+<?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/message"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+
+ <Button id="@+id/dismiss"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/message"
+ android:layout_alignParentRight="true"
+ android:layout_marginLeft="10dip"
+ android:text="@string/button_ok" />
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/password_dialog.xml b/res/layout/password_dialog.xml
new file mode 100644
index 0000000..40b0359
--- /dev/null
+++ b/res/layout/password_dialog.xml
@@ -0,0 +1,25 @@
+<?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/passwordLabel"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="Password:"/>
+
+ <EditText id="@+id/password"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/passwordLabel"
+ android:maxLines="1"
+ android:password="true"/>
+
+ <Button id="@+id/ok"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/password"
+ android:layout_alignParentRight="true"
+ android:layout_marginLeft="10dip"
+ android:text="@string/button_ok" />
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/secure_shell.xml b/res/layout/secure_shell.xml
new file mode 100644
index 0000000..0f47c70
--- /dev/null
+++ b/res/layout/secure_shell.xml
@@ -0,0 +1,12 @@
+<?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="fill_parent">
+
+ <TextView id="@+id/output"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:textSize="8sp"
+ android:typeface="monospace" />
+
+</RelativeLayout>