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

	<org.thoughtcrime.securesms.components.emoji.EmojiTextView
		android:id="@+id/msgText"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_gravity="left|start"
		android:layout_marginLeft="@dimen/message_bubble_margin_tail"
		android:layout_marginRight="@dimen/message_bubble_margin_non_tail"
		android:background="@drawable/msg_in_top"
		android:textColor="@color/briar_text_primary"
		android:textIsSelectable="true"
		android:textSize="@dimen/text_size_medium"
		tools:text="Short message"/>

	<RelativeLayout
		android:id="@+id/layout"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_marginLeft="@dimen/message_bubble_margin_tail"
		android:layout_marginRight="@dimen/message_bubble_margin_non_tail"
		android:background="@drawable/notice_in_bottom">

		<org.thoughtcrime.securesms.components.emoji.EmojiTextView
			android:id="@+id/text"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:minWidth="80dp"
			android:textColor="@color/briar_text_secondary"
			android:textIsSelectable="true"
			android:textSize="@dimen/text_size_medium"
			android:textStyle="italic"
			tools:text="@string/forum_invitation_received"/>

		<TextView
			android:id="@+id/time"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_alignEnd="@+id/text"
			android:layout_alignRight="@+id/text"
			android:layout_below="@+id/text"
			android:layout_marginTop="@dimen/message_bubble_timestamp_margin"
			android:textColor="@color/private_message_date"
			android:textSize="@dimen/text_size_tiny"
			tools:text="Dec 24, 13:37"/>

	</RelativeLayout>

</LinearLayout>