--- a/res/layout/contactlistcontact.xml Fri Apr 03 01:26:42 2009 +0200
+++ b/res/layout/contactlistcontact.xml Sat Apr 04 01:22:36 2009 +0200
@@ -2,25 +2,34 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
- android:layout_height="50sp"
+ android:layout_height="wrap_content"
android:gravity="center_vertical" >
- <ImageView android:id="@+id/avatar"
- android:layout_width="70px"
- android:layout_height="40sp" />
+ <ImageView android:id="@+id/contactliststatus"
+ 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="40sp">
-
- <TextView android:id="@+id/textchild1"
+ android:layout_height="wrap_content" >
+ <TextView android:id="@+id/contactlistpseudo"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="20sp" />
+ <TextView android:id="@+id/contactlistmsgperso"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="20sp" />
-
- <TextView android:id="@+id/textchild2"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
</LinearLayout>
+ <ImageView android:id="@+id/contactlistavatar"
+ android:layout_weight="5"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical" />
+
</LinearLayout>
\ No newline at end of file