aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout-port/item_host.xml
diff options
context:
space:
mode:
authorJeffrey Sharkey <jsharkey@jsharkey.org>2008-09-18 23:38:56 +0000
committerJeffrey Sharkey <jsharkey@jsharkey.org>2008-09-18 23:38:56 +0000
commit4204580877b7150fc85a72542df803ec9d989103 (patch)
treeef0082b201f04d999d677570498a6223b4d412e0 /res/layout-port/item_host.xml
parent345c94f8eb6a837a39123f5bc2880e4a5c8c4d8d (diff)
downloadconnectbot-4204580877b7150fc85a72542df803ec9d989103.tar.gz
connectbot-4204580877b7150fc85a72542df803ec9d989103.tar.bz2
connectbot-4204580877b7150fc85a72542df803ec9d989103.zip
* connected up host bulbs (green/gray) to backend service
* switch to using a Binder and SimpleCursorAdapter instead of Adapter (slightly less efficient, but easier to update) * added gray color for host category * connected up easy-connect box on front screen to auto-create and launch new connection
Diffstat (limited to 'res/layout-port/item_host.xml')
-rw-r--r--res/layout-port/item_host.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/res/layout-port/item_host.xml b/res/layout-port/item_host.xml
index 7fa381e..e5db460 100644
--- a/res/layout-port/item_host.xml
+++ b/res/layout-port/item_host.xml
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/content"
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:id="@android:id/icon"
+ android:src="@drawable/connected"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:paddingTop="5dip"
/>
- <TextView android:id="@+id/host_title"
+ <TextView
+ android:id="@android:id/text1"
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"
+ <TextView
+ android:id="@android:id/text2"
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"
+ android:layout_below="@android:id/text1"
/>