res/layout/chat_msg_row.xml
author Da Risk <da_risk@beem-project.com>
Wed, 06 Mar 2013 21:30:51 +0100
changeset 1027 8198b5e53cac
parent 981 e1b1c8ad710a
permissions -rw-r--r--
Scram-Sha-1 mechanism : do not send authzid if it not absolutely necessary Some servers (ejabberd) reject the challenge if the scram attributes a (authzid) and n (authcid) are equals or they just don't handle the authzid. So we just don't send it if they are the same This fix #484

<?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:textColor="@android:color/white" android:textStyle="bold"
		android:textAppearance="?android:attr/textAppearanceMedium"
		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="none" />
	<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>