2018-06-26 10:27:44 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<merge
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-11-08 23:33:37 -08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2018-06-26 10:27:44 -07:00
|
|
|
|
2018-07-12 16:03:32 -07:00
|
|
|
<org.thoughtcrime.securesms.components.ThumbnailView
|
|
|
|
android:id="@+id/conversation_thumbnail_image"
|
|
|
|
android:layout_width="@dimen/media_bubble_default_dimens"
|
|
|
|
android:layout_height="@dimen/media_bubble_default_dimens"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:clickable="false"
|
|
|
|
android:longClickable="false"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:contentDescription="@string/conversation_item__mms_image_description"
|
2018-11-08 23:33:37 -08:00
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"
|
2018-07-12 16:03:32 -07:00
|
|
|
app:thumbnail_radius="1dp"/>
|
2018-06-26 10:27:44 -07:00
|
|
|
|
2018-11-08 23:33:37 -08:00
|
|
|
<org.thoughtcrime.securesms.components.AlbumThumbnailView
|
|
|
|
android:id="@+id/conversation_thumbnail_album"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clickable="false"
|
|
|
|
android:longClickable="false"
|
|
|
|
android:contentDescription="@string/conversation_item__mms_image_description"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2018-07-12 16:03:32 -07:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/conversation_thumbnail_shade"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:src="@drawable/image_shade" />
|
2018-06-26 10:27:44 -07:00
|
|
|
|
2018-07-12 16:03:32 -07:00
|
|
|
<org.thoughtcrime.securesms.components.ConversationItemFooter
|
|
|
|
android:id="@+id/conversation_thumbnail_footer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="@dimen/message_bubble_horizontal_padding"
|
|
|
|
android:layout_marginEnd="@dimen/message_bubble_horizontal_padding"
|
2018-07-12 16:03:32 -07:00
|
|
|
android:layout_marginBottom="@dimen/message_bubble_bottom_padding"
|
2018-07-20 15:40:13 -07:00
|
|
|
app:footer_text_color="@color/core_white"
|
|
|
|
app:footer_icon_color="@color/core_white"/>
|
2018-06-26 10:27:44 -07:00
|
|
|
|
|
|
|
</merge>
|