res/layout/sendim.xml
changeset 101 ccc48305bdeb
parent 84 9a4dbd7fe546
child 102 e3e8bf449590
--- a/res/layout/sendim.xml	Thu Apr 09 20:36:17 2009 +0200
+++ b/res/layout/sendim.xml	Mon Apr 13 16:32:18 2009 +0200
@@ -3,17 +3,39 @@
     android:orientation="vertical"
     android:layout_width="fill_parent" 
     android:layout_height="fill_parent">
-
-    <ListView android:id="@android:id/list"
-        android:layout_width="fill_parent" 
-        android:layout_height="fill_parent"
+    
+    <RelativeLayout
+    	android:paddingLeft="10px"
+    	android:paddingRight="10px"
+    	android:paddingTop="10px"
+    	android:background="@color/blue_sky"
+    	android:orientation="horizontal"
+		android:layout_width="fill_parent"
+		android:layout_height="wrap_content">
+		
+    	<ImageView android:id="@+id/sendimavatar"
+    		android:layout_width="wrap_content"
+			android:src="@drawable/avatar" android:layout_height="20px"/>
+        
+        <TextView android:id="@+id/sendimlogin"
+        	android:layout_width="wrap_content"
+			android:layout_height="wrap_content"
+			android:layout_alignTop="@id/sendimavatar"
+			android:layout_toRightOf="@id/sendimavatar"
+        	android:hint="@string/SendIMLoginHint"/>
+    </RelativeLayout>
+	
+	<ListView android:id="@android:id/list"
+        android:layout_width="fill_parent"
+        android:choiceMode="none" 
+        android:layout_height="wrap_content"
         android:layout_weight="1"
         android:transcriptMode="alwaysScroll"/>
         
     <EditText android:id="@+id/userText"
         android:layout_width="fill_parent"
         android:cursorVisible="false"
-        android:hint="@string/SendIMHint"
+        android:hint="@string/SendIMToSendHint"
         android:layout_height="wrap_content" />
         
 </LinearLayout>
\ No newline at end of file