Un petit skin pour l'im à travailler
authorPhilippe Lago <lago_p@epitech.net>
Wed, 22 Apr 2009 18:50:11 +0200
changeset 117 40a48262a670
parent 116 dded6cd76f8c
child 141 70ceaba725d4
Un petit skin pour l'im à travailler
res/drawable/beem_sendim_header_1.png
res/drawable/beem_sendim_textview.png
res/layout/contactlistsettings.xml
res/layout/sendim.xml
src/com/beem/project/beem/ui/SendIM.java
Binary file res/drawable/beem_sendim_header_1.png has changed
Binary file res/drawable/beem_sendim_textview.png has changed
--- a/res/layout/contactlistsettings.xml	Wed Apr 22 15:19:42 2009 +0200
+++ b/res/layout/contactlistsettings.xml	Wed Apr 22 18:50:11 2009 +0200
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+	android:orientation="vertical" android:layout_width="fill_parent"
+	android:layout_height="fill_parent">
+<LinearLayout
 	android:orientation="vertical" android:layout_width="fill_parent"
 	android:layout_height="fill_parent">
 
@@ -104,4 +107,5 @@
 		<requestFocus />
 	</Button>
 
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
+</ScrollView>
\ No newline at end of file
--- a/res/layout/sendim.xml	Wed Apr 22 15:19:42 2009 +0200
+++ b/res/layout/sendim.xml	Wed Apr 22 18:50:11 2009 +0200
@@ -4,11 +4,10 @@
     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"
+    <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">
@@ -17,26 +16,40 @@
     		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>
+			
+        <LinearLayout
+        	android:layout_width="fill_parent"
+        	android:layout_height="fill_parent"
+        	android:orientation="vertical">
+        	
+	        <TextView android:id="@+id/sendimlogin"
+	        	android:paddingLeft="15px"
+	        	android:layout_width="wrap_content"
+				android:layout_height="wrap_content"
+	        	android:hint="@string/SendIMLoginHint"/>
+	        	
+	        <TextView android:id="@+id/sendimstatus"
+	        	android:paddingLeft="20px"
+	        	android:layout_width="wrap_content"
+				android:layout_height="wrap_content"
+	        	android:hint="@string/SendIMNoStatusSet"/>
+        </LinearLayout>
+    </LinearLayout>
+    
 	<ScrollView
 		android:id="@+id/sendimscroll"
 		android:layout_width="fill_parent"
 		android:layout_height="fill_parent"
+		android:background="@drawable/beem_sendim_textview"
 		android:layout_weight="1">
 		
 		<TextView android:id="@+id/sendimlist"
-        	android:layout_width="fill_parent"
-        	android:layout_height="wrap_content"
+			android:paddingLeft="10px"
+	    	android:paddingRight="10px"
+	    	android:paddingTop="10px"