res/layout/contactlist.xml
changeset 47 743ccc7961dc
parent 21 b9f4a0ef574a
child 48 e7a787b81100
--- a/res/layout/contactlist.xml	Tue Mar 31 22:21:42 2009 +0200
+++ b/res/layout/contactlist.xml	Tue Mar 31 20:46:06 2009 +0200
@@ -1,19 +1,16 @@
 <?xml version="1.0" encoding="utf-8"?>
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- 	android:layout_width="fill_parent"
-    android:layout_height="wrap_content"
-    android:orientation="vertical">
-                    	         	
-	<ImageView android:id="@+id/avatar"
-		android:src="@drawable/avatar"
-		android:paddingLeft="50sp"
-		android:layout_width="wrap_content"
-		android:layout_height="wrap_content"/>
- 
-     <TextView android:id="@+id/textchild"
-         android:textSize="16sp"         
-         android:paddingLeft="100sp"
-         android:layout_width="fill_parent"
-         android:layout_height="wrap_content"/>
-		
- </LinearLayout>
+        android:orientation="vertical"
+        android:layout_width="fill_parent"
+        android:layout_height="fill_parent">
+
+        <ExpandableListView android:id="@+id/android:list"
+			android:layout_width="fill_parent"
+			android:layout_height="fill_parent"
+            android:layout_weight="1" />
+
+        <TextView android:id="@+id/android:empty"
+			android:layout_width="fill_parent"
+            android:layout_height="fill_parent" android:text="Non connecte" />
+
+</LinearLayout> 
\ No newline at end of file