res/layout/chat_msg_row.xml
author Da Risk <darisk972@gmail.com>
Sun, 12 Sep 2010 01:07:36 +0200
changeset 799 b2a796654230
parent 772 d1db49d18275
child 798 6c924ac95f1c
permissions -rw-r--r--
Implementation of XEP-084 which loads avatar from http. Big hacking on the PEP* classes of Smack. Still need to commit the patch. Maybe this should be port to use she pubsub packages.

<?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>