<?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"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <FrameLayout
        android:id="@+id/image_container"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_marginStart="16dp"
        android:layout_marginTop="8dp"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <org.thoughtcrime.securesms.components.AudioView
            android:id="@+id/audio"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:autoRewind="true"
            app:progressAndPlayTint="@android:color/transparent"
            app:foregroundTintColor="@color/core_ultramarine"
            app:small="true" />

        <include layout="@layout/media_overview_selected_overlay" />

    </FrameLayout>

    <include layout="@layout/media_overview_detail_text" />

</androidx.constraintlayout.widget.ConstraintLayout>
