res/layout/sendim.xml
changeset 108 c60aa2237865
parent 103 2320ab48e829
child 117 40a48262a670
--- a/res/layout/sendim.xml	Thu Apr 16 00:33:00 2009 +0200
+++ b/res/layout/sendim.xml	Wed Apr 15 19:41:35 2009 +0200
@@ -3,17 +3,47 @@
     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"
-        android:layout_weight="1"
-        android:transcriptMode="alwaysScroll"/>
+    
+    <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:layout_height="wrap_content"
+			android:src="@drawable/avatar"/>
+        
+        <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>
+	<ScrollView
+		android:id="@+id/sendimscroll"
+		android:layout_width="fill_parent"
+		android:layout_height="fill_parent"
+		android:layout_weight="1">
+		
+		<TextView android:id="@+id/sendimlist"
+        	android:layout_width="fill_parent"
+        	android:layout_height="wrap_content"
+        	android:singleLine="false"/>
+        	<!--android:choiceMode="none"
+        	android:transcriptMode="alwaysScroll"-->
+        	
+    </ScrollView>
         
     <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