the row of the listview is a relative layout
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="
http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:orientation="vertical"
android:layout_height="wrap_content" android:paddingBottom="5px"
android:paddingTop="5px" android:paddingLeft="5px" >
<ImageView
android:id="@+id/icon" android:layout_marginRight="3px"
android:paddingTop="2px" android:src="@drawable/women"
android:layout_width="50dip" android:layout_height="50dip"/>
<TextView android:id="@+id/MemberName" android:text="22 oct: iam
going to pune" android:layout_width="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginTop="2dip"
android:layout_height="wrap_content" android:textSize="16dip"
android:layout_toRightOf="@+id/icon"></TextView>
<TextView android:id="@+id/ChatContent" android:text="12:32 good
morning mumbai" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_marginTop="2dip"
android:layout_toRightOf="@+id/icon"
android:layout_below="@+id/MemberName"></TextView>
</RelativeLayout>
:)
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en