aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authorJeffrey Sharkey <jsharkey@jsharkey.org>2008-09-11 21:55:38 +0000
committerJeffrey Sharkey <jsharkey@jsharkey.org>2008-09-11 21:55:38 +0000
commit071e39dc7e7d06c021a6d65ae7a65242c8ea99ed (patch)
tree71ac1b00fa9fc45cf155021879ab55f1ff395611 /res/layout-port
parent6681b4c809bf76cd558c5b314b6de9cfc98bc187 (diff)
downloadconnectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.tar.gz
connectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.tar.bz2
connectbot-071e39dc7e7d06c021a6d65ae7a65242c8ea99ed.zip
* WARNING: this build is broken lol
* moving more stuff over to new frontend gui in org.connectbot * found out that we dont need a contentprovider to make desktop shortcuts, will be easy to add ssh://user@host/ uri shortcut handling * new host-editing backend that uses preferences hack, will blog about this technique later today * using colors to categorize hosts (does this work?) * moved host-specific options (like disconnect/edit/delete) to long-tap menu instead of main menu
Diffstat (limited to 'res/layout-port')
-rw-r--r--res/layout-port/item_host.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/res/layout-port/item_host.xml b/res/layout-port/item_host.xml
new file mode 100644
index 0000000..7fa381e
--- /dev/null
+++ b/res/layout-port/item_host.xml
@@ -0,0 +1,34 @@
+<?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"
+ android:padding="10dip"
+ >
+
+ <ImageView
+ android:id="@+id/host_connected"
+ android:src="@android:drawable/presence_online"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:paddingTop="5dip"
+ />
+
+ <TextView android:id="@+id/host_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:textColor="@color/blue"
+ />
+
+ <TextView android:id="@+id/host_caption"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="@color/blue"
+ android:layout_below="@id/host_title"
+ />
+
+
+</RelativeLayout> \ No newline at end of file