res/layout/chat_msg_row.xml
changeset 772 d1db49d18275
parent 653 e94abef6120c
child 798 6c924ac95f1c
--- a/res/layout/chat_msg_row.xml	Fri May 07 18:16:41 2010 +0200
+++ b/res/layout/chat_msg_row.xml	Thu May 13 23:02:52 2010 +0200
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:orientation="vertical"
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content"
@@ -8,15 +8,28 @@
     <TextView android:id="@+id/chatmessagename"
 	android:layout_width="fill_parent"
 	android:layout_height="wrap_content"
+	android:layout_alignParentLeft="true"
+	android:layout_alignParentTop="true"
 	android:textSize="16sp"
 	android:textColor="#FFFFFF"
 	android:textStyle="bold"
 	android:paddingBottom="1dp"
 	/>
-    <TextView android:id="@+id/chatmessagetext"
-	android:layout_width="fill_parent"
+    <TextView android:id="@+id/chatmessagedate"
+	android:layout_width="wrap_content"
 	android:layout_height="wrap_content"
+	android:layout_alignParentTop="true"
+	android:layout_alignParentRight="true"
 	android:autoLink="all"
 	/>
-</LinearLayout>
+    <TextView android:id="@+id/chatmessagetext"
+	android:layout_width="wrap_content"
+	android:layout_height="wrap_content"
+	android:layout_alignParentLeft="true"
+	android:layout_below="@id/chatmessagename"
+	android:autoLink="all"
+	/>
 
+
+</RelativeLayout>
+