<?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:orientation="vertical"
    tools:viewBindingIgnore="true">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:minHeight="56dp"
        android:orientation="horizontal">

        <org.thoughtcrime.securesms.components.emoji.EmojiTextView
            android:id="@+id/editable_contact_name"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="72dp"
            android:layout_weight="1"
            android:ellipsize="end"
            android:maxLines="2"
            android:textAppearance="@style/Signal.Text.BodyLarge"
            tools:text="Peter Parker" />

        <ImageButton
            android:id="@+id/editable_contact_name_edit_button"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_marginEnd="12dp"
            android:background="?attr/selectableItemBackgroundBorderless"
            android:contentDescription="@string/ContactShareEditActivity__edit_name"
            android:scaleType="centerInside"
            app:srcCompat="@drawable/ic_compose_24"
            app:tint="?attr/colorOnSurface" />

    </LinearLayout>

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/editable_contact_fields"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

</LinearLayout>