res/layout/contactlistcontact.xml
changeset 153 b9223cf6f3be
parent 143 6f6f5838aef9
child 171 b214244738f7
--- a/res/layout/contactlistcontact.xml	Thu Apr 23 22:19:41 2009 +0200
+++ b/res/layout/contactlistcontact.xml	Thu Apr 23 22:50:04 2009 +0200
@@ -9,8 +9,10 @@
         android:gravity="center_vertical" >
 
         <ImageView android:id="@+id/contactliststatus"
-        	android:layout_weight="5"
-        	android:layout_width="fill_parent"
+        	android:adjustViewBounds="true"
+            android:maxWidth="15dip"
+            android:maxHeight="15dip"
+        	android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:gravity="center_vertical" />
 
@@ -30,8 +32,11 @@
 		</LinearLayout>
 
         <ImageView android:id="@+id/contactlistavatar"
-        	android:layout_weight="5"
-        	android:layout_width="fill_parent"
+        	android:adjustViewBounds="true"
+            android:maxWidth="50dip"
+            android:maxHeight="50dip"
+            android:padding="1dip"
+        	android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:gravity="center_vertical" />