<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             xmlns:app="http://schemas.android.com/apk/res-auto"
             android:id="@+id/attachment_editor"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:gravity="center_horizontal"
             android:visibility="gone">

    <org.thoughtcrime.securesms.components.RemovableEditableMediaView
            android:id="@+id/removable_media_view"
            android:paddingBottom="12dp"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center">

        <!--
        <org.thoughtcrime.securesms.components.location.SignalMapView
                android:id="@+id/attachment_location"
                android:layout_width="210dp"
                android:layout_height="210dp"
                android:layout_gravity="center_horizontal"
                android:visibility="gone"/>
        -->

        <org.thoughtcrime.securesms.components.ThumbnailView
                android:id="@+id/attachment_thumbnail"
                android:layout_width="230dp"
                android:layout_height="150dp"
                android:layout_gravity="center_horizontal"
                android:visibility="gone"
                android:contentDescription="@string/menu_add_attachment"
                app:thumbnail_radius="@dimen/message_corner_radius"
                app:minWidth="100dp"
                app:maxWidth="300dp"
                app:minHeight="100dp"
                app:maxHeight="300dp" />

        <org.thoughtcrime.securesms.components.AudioView
                android:id="@+id/attachment_audio"
                android:layout_width="230dp"
                android:layout_height="wrap_content"
                android:visibility="gone"
                android:layout_marginTop="10dp"
                android:layout_marginLeft="10dp"
                android:layout_marginRight="10dp"
                android:padding="8dp"
                android:background="@drawable/message_bubble_background_sent_alone"/>

        <org.thoughtcrime.securesms.components.DocumentView
                android:id="@+id/attachment_document"
                android:layout_width="230dp"
                android:layout_height="wrap_content"
                android:visibility="gone"
                android:layout_marginTop="10dp"
                android:layout_marginLeft="10dp"
                android:layout_marginRight="10dp"
                android:padding="8dp"
                android:background="@drawable/message_bubble_background_sent_alone"/>

        <org.thoughtcrime.securesms.components.WebxdcView
                android:id="@+id/attachment_webxdc"
                android:layout_width="230dp"
                android:layout_height="wrap_content"
                android:visibility="gone"
                android:layout_marginTop="10dp"
                android:layout_marginLeft="10dp"
                android:layout_marginRight="10dp"
                android:padding="8dp"
                android:background="@drawable/message_bubble_background_sent_alone"/>

        <org.thoughtcrime.securesms.components.VcardView
                android:id="@+id/attachment_vcard"
                android:layout_width="230dp"
                android:layout_height="wrap_content"
                android:visibility="gone"
                android:layout_marginTop="10dp"
                android:layout_marginLeft="10dp"
                android:layout_marginRight="10dp"
                android:padding="8dp"
                android:background="@drawable/message_bubble_background_sent_alone"/>

    </org.thoughtcrime.securesms.components.RemovableEditableMediaView>

</FrameLayout>

