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

	<include
		android:id="@+id/messageLayout"
		layout="@layout/list_item_msg_in"/>

	<RelativeLayout
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_gravity="left|start"
		android:background="@drawable/notice_in"
		android:layout_marginLeft="@dimen/message_bubble_margin_tail"
		android:layout_marginRight="@dimen/message_bubble_margin_non_tail">

		<TextView
			android:id="@+id/introductionText"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:minWidth="80dp"
			android:textIsSelectable="true"
			android:textSize="@dimen/text_size_medium"
			android:textStyle="italic"
			android:textColor="@color/briar_text_secondary"
			tools:text="@string/introduction_request_received"/>

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

		<Button
			android:id="@+id/acceptButton"
			style="@style/BriarButtonFlat.Positive"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_alignEnd="@+id/introductionText"
			android:layout_alignRight="@+id/introductionText"
			android:layout_below="@+id/introductionText"
			android:text="@string/accept"/>

		<Button
			android:id="@+id/declineButton"
			style="@style/BriarButtonFlat.Negative"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginBottom="-15dp"
			android:layout_below="@+id/introductionText"
			android:layout_toLeftOf="@+id/acceptButton"
			android:layout_toStartOf="@+id/acceptButton"
			android:text="@string/decline"/>

	</RelativeLayout>

</LinearLayout>