<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    tools:viewBindingIgnore="true"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginStart="12dp"
    android:layout_marginEnd="12dp"
    android:background="@drawable/selectable_list_item_background"
    android:minHeight="64dp">

    <org.thoughtcrime.securesms.components.AvatarImageView
        android:id="@+id/safety_number_recipient_avatar"
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:layout_marginStart="12dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <ImageView
        android:id="@+id/safety_number_recipient_menu"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginEnd="4dp"
        android:contentDescription="@string/SafetyNumberRecipientRowItem__open_context_menu"
        android:scaleType="centerInside"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:srcCompat="@drawable/ic_more_vert_24"
        app:tint="?attr/colorOnSurfaceVariant" />

    <org.thoughtcrime.securesms.components.emoji.EmojiTextView
        android:id="@+id/safety_number_recipient_name"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:ellipsize="end"
        android:lines="1"
        android:textAppearance="@style/Signal.Text.BodyLarge"
        android:textColor="?attr/colorOnSurface"
        app:layout_constraintBottom_toTopOf="@id/safety_number_recipient_identifier"
        app:layout_constraintEnd_toStartOf="@id/safety_number_recipient_menu"
        app:layout_constraintStart_toEndOf="@id/safety_number_recipient_avatar"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintVertical_chainStyle="packed"
        tools:text="@tools:sample/full_names" />

    <TextView
        android:id="@+id/safety_number_recipient_identifier"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="16dp"
        android:ellipsize="end"
        android:lines="1"
        android:textAppearance="@style/Signal.Text.BodyMedium"
        android:textColor="?attr/colorOnSurfaceVariant"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@id/safety_number_recipient_menu"
        app:layout_constraintStart_toEndOf="@id/safety_number_recipient_avatar"
        app:layout_constraintTop_toBottomOf="@id/safety_number_recipient_name"
        tools:text="@tools:sample/us_phones" />

</androidx.constraintlayout.widget.ConstraintLayout>