2017-01-18 12:27:48 -08:00
|
|
|
<?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: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/conversation_activity__attachment_thumbnail"
|
2018-03-20 11:27:11 -07:00
|
|
|
app:minWidth="100dp"
|
|
|
|
app:maxWidth="300dp"
|
|
|
|
app:minHeight="100dp"
|
|
|
|
app:maxHeight="300dp" />
|
2017-01-18 12:27:48 -08:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.AudioView
|
|
|
|
android:id="@+id/attachment_audio"
|
|
|
|
android:layout_width="210dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:paddingTop="15dp"
|
|
|
|
android:paddingBottom="15dp"
|
2017-02-20 01:14:55 +01:00
|
|
|
app:widgetBackground="?conversation_item_bubble_background"
|
2017-01-18 12:27:48 -08:00
|
|
|
app:foregroundTintColor="@color/grey_500"
|
2017-02-20 01:14:55 +01:00
|
|
|
app:backgroundTintColor="?conversation_item_bubble_background"/>
|
2017-01-18 12:27:48 -08:00
|
|
|
|
2018-07-20 14:24:04 -07:00
|
|
|
<org.thoughtcrime.securesms.components.DocumentView
|
|
|
|
android:id="@+id/attachment_document"
|
|
|
|
android:layout_width="210dp"
|
2018-07-12 16:03:32 -07:00
|
|
|
android:layout_height="wrap_content"
|
2018-07-20 14:24:04 -07:00
|
|
|
android:visibility="gone"
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:paddingLeft="@dimen/message_bubble_horizontal_padding"
|
|
|
|
android:paddingRight="@dimen/message_bubble_horizontal_padding"
|
|
|
|
android:background="@drawable/message_bubble_background_sent_alone"
|
2018-09-21 15:16:52 -07:00
|
|
|
app:doc_titleColor="?attr/conversation_item_received_text_primary_color"
|
|
|
|
app:doc_captionColor="?attr/conversation_item_received_text_secondary_color"/>
|
2017-03-28 12:05:30 -07:00
|
|
|
|
2017-01-18 12:27:48 -08:00
|
|
|
</org.thoughtcrime.securesms.components.RemovableEditableMediaView>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|