res/layout/chat_msg_row.xml
author Da Risk <darisk972@gmail.com>
Thu, 13 May 2010 23:02:52 +0200
changeset 772 d1db49d18275
parent 653 e94abef6120c
child 798 6c924ac95f1c
permissions -rw-r--r--
fix #263 Add support for XEP-0263 : Delayed Delivery and display timestamps for message.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"
    >

    <TextView android:id="@+id/chatmessagename"
	android:layout_width="fill_parent"
	android:layout_height="wrap_content"
	android:layout_alignParentLeft="true"
	android:layout_alignParentTop="true"
	android:textSize="16sp"
	android:textColor="#FFFFFF"
	android:textStyle="bold"
	android:paddingBottom="1dp"
	/>
    <TextView android:id="@+id/chatmessagedate"
	android:layout_width="wrap_content"
	android:layout_height="wrap_content"
	android:layout_alignParentTop="true"
	android:layout_alignParentRight="true"
	android:autoLink="all"
	/>
    <TextView android:id="@+id/chatmessagetext"
	android:layout_width="wrap_content"
	android:layout_height="wrap_content"
	android:layout_alignParentLeft="true"
	android:layout_below="@id/chatmessagename"
	android:autoLink="all"
	/>


</RelativeLayout>