<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
	android:id="@+id/layout"
	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_marginLeft="@dimen/margin_medium"
	android:baselineAligned="false"
	android:orientation="vertical">

	<View
		android:id="@+id/top_divider"
		style="@style/Divider.ForumList"
		android:layout_alignParentTop="true"/>

	<org.thoughtcrime.securesms.components.emoji.EmojiTextView
		android:id="@+id/text"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_below="@+id/top_divider"
		android:layout_marginBottom="@dimen/margin_small"
		android:layout_marginRight="@dimen/margin_medium"
		android:layout_marginTop="@dimen/margin_medium"
		android:textColor="@color/briar_text_secondary"
		android:textSize="@dimen/text_size_medium"
		android:textStyle="italic"
		tools:text="@string/groups_member_joined"/>

	<ImageView
		android:id="@+id/icon"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_alignLeft="@+id/text"
		android:layout_below="@+id/text"
		android:layout_marginRight="@dimen/margin_small"
		tools:ignore="ContentDescription"
		tools:src="@drawable/ic_visibility"/>

	<TextView
		android:id="@+id/info"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_alignEnd="@+id/text"
		android:layout_alignRight="@+id/text"
		android:layout_below="@+id/text"
		android:layout_toRightOf="@+id/icon"
		android:gravity="center_vertical"
		android:minHeight="24dp"
		android:textColor="@color/briar_text_secondary"
		android:textIsSelectable="true"
		android:textSize="@dimen/text_size_tiny"
		android:textStyle="italic"
		tools:text="@string/groups_reveal_visible_revealed_by_contact"/>

	<org.briarproject.briar.android.view.AuthorView
		android:id="@+id/author"
		android:layout_width="wrap_content"
		android:layout_height="@dimen/button_size"
		android:layout_alignLeft="@+id/text"
		android:layout_below="@+id/info"
		android:gravity="center"
		app:persona="commenter"/>

	<Button
		android:id="@+id/optionsButton"
		style="@style/BriarButtonFlat.Positive.Tiny"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_alignEnd="@+id/text"
		android:layout_alignRight="@+id/text"
		android:layout_alignTop="@+id/author"
		android:layout_toRightOf="@+id/author"
		android:gravity="right|center_vertical"
		android:text="@string/options"/>

</RelativeLayout>
