res/layout/sendim.xml
changeset 143 6f6f5838aef9
parent 117 40a48262a670
child 152 f14b3fcf65c8
--- a/res/layout/sendim.xml	Wed Apr 22 19:53:57 2009 +0200
+++ b/res/layout/sendim.xml	Thu Apr 23 12:41:13 2009 +0200
@@ -3,23 +3,58 @@
     android:orientation="vertical"
     android:layout_width="fill_parent" 
     android:layout_height="fill_parent">
-    
     <LinearLayout
+        android:orientation="horizontal"
+        android:layout_width="fill_parent"
+        android:layout_height="wrap_content"
+        android:paddingLeft="10px"
+        android:paddingRight="10px"
+        android:background="@drawable/beem_sendim_header_1"
+        android:gravity="center_vertical" >
+
+        <ImageView android:id="@+id/sendimavatar"
+        	android:layout_weight="5"
+        	android:layout_width="fill_parent"
+            android:layout_height="wrap_content"
+            android:gravity="center_vertical" />
+
+		<LinearLayout
+			android:orientation="vertical"
+			android:layout_weight="1"
+        	android:layout_width="fill_parent"
+        	android:layout_height="wrap_content" >
+        	<TextView android:id="@+id/sendimlogin"
+				android:layout_width="fill_parent"
+            	android:layout_height="wrap_content"            	
+            	android:paddingLeft="20sp" />
+			<TextView android:id="@+id/sendimstatus"
+				android:layout_width="fill_parent"
+            	android:layout_height="wrap_content"
+            	android:hint="@string/SendIMNoStatusSet"
+            	android:paddingLeft="20sp" />
+		</LinearLayout>
+</LinearLayout>
+
+<!--    <LinearLayout
     	android:paddingLeft="5px"
     	android:paddingTop="5px"
     	android:background="@drawable/beem_sendim_header_1"
     	android:orientation="horizontal"
 		android:layout_width="fill_parent"
-		android:layout_height="wrap_content">
+		android:layout_height="wrap_content"
+		android:layout_weight="4">
 		
     	<ImageView android:id="@+id/sendimavatar"
     		android:layout_width="wrap_content"
     		android:layout_height="wrap_content"
-			android:src="@drawable/avatar"/>
+    		android:maxHeight="80px"
+    		android:layout_weight="5"
+			android:src="@drawable/background"/>
 			
         <LinearLayout
         	android:layout_width="fill_parent"
         	android:layout_height="fill_parent"
+        	android:layout_weight="1"
         	android:orientation="vertical">
         	
 	        <TextView android:id="@+id/sendimlogin"
@@ -34,7 +69,7 @@
 				android:layout_height="wrap_content"
 	        	android:hint="@string/SendIMNoStatusSet"/>
         </LinearLayout>
-    </LinearLayout>
+    </LinearLayout>-->
     
 	<ScrollView
 		android:id="@+id/sendimscroll"