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

	<com.vanniktech.emoji.EmojiTextView
		android:id="@+id/msgText"
		style="@style/TextMessage"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_marginEnd="@dimen/message_bubble_margin_non_tail"
		android:layout_marginLeft="@dimen/message_bubble_margin_tail"
		android:layout_marginRight="@dimen/message_bubble_margin_non_tail"
		android:layout_marginStart="@dimen/message_bubble_margin_tail"
		android:background="@drawable/msg_in_top"
		android:elevation="@dimen/message_bubble_elevation"
		tools:text="Short message"/>

	<android.support.constraint.ConstraintLayout
		android:id="@+id/layout"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_marginBottom="@dimen/message_bubble_margin"
		android:layout_marginEnd="@dimen/message_bubble_margin_non_tail"
		android:layout_marginLeft="@dimen/message_bubble_margin_tail"
		android:layout_marginRight="@dimen/message_bubble_margin_non_tail"
		android:layout_marginStart="@dimen/message_bubble_margin_tail"
		android:background="@drawable/notice_in_bottom"
		android:elevation="@dimen/message_bubble_elevation">

		<com.vanniktech.emoji.EmojiTextView
			android:id="@+id/text"
			style="@style/TextMessage.Notice"
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			app:layout_constraintStart_toStartOf="parent"
			app:layout_constraintTop_toTopOf="parent"
			tools:text="@string/forum_invitation_received"/>

		<TextView
			android:id="@+id/time"
			style="@style/TextMessage.Timestamp"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginTop="@dimen/message_bubble_timestamp_margin"
			app:layout_constraintEnd_toEndOf="@+id/text"
			app:layout_constraintTop_toBottomOf="@+id/text"
			tools:text="Dec 24, 13:37"/>

	</android.support.constraint.ConstraintLayout>

</LinearLayout>