<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="44dp"
    xmlns:tools="http://schemas.android.com/tools">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingStart="@dimen/medium_spacing"
        android:paddingEnd="@dimen/medium_spacing"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <RelativeLayout
            android:layout_width="26dp"
            android:layout_height="32dp">

            <org.thoughtcrime.securesms.components.ProfilePictureView
                android:id="@+id/profilePictureView"
                android:layout_width="@dimen/very_small_profile_picture_size"
                android:layout_height="@dimen/very_small_profile_picture_size"
                android:layout_marginTop="3dp" />

            <ImageView
                android:id="@+id/moderatorIconImageView"
                android:layout_width="16dp"
                android:layout_height="16dp"
                android:src="@drawable/ic_crown"
                android:layout_alignParentEnd="true"
                android:layout_alignParentBottom="true"
                android:contentDescription="@string/AccessibilityId_contact_mentions"/>

        </RelativeLayout>

        <TextView
            android:id="@+id/mentionCandidateNameTextView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/medium_spacing"
            android:textSize="@dimen/small_font_size"
            android:textColor="?android:textColorPrimary"
            android:maxLines="1"
            tools:text="Alice"
            android:contentDescription="@string/AccessibilityId_contact_mentions"
            android:ellipsize="end" />

    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="1px"
        android:layout_alignParentTop="true"
        android:background="@color/separator" />

</RelativeLayout>