2015-03-17 14:01:37 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-10-27 17:33:33 -03:00
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-06-26 10:27:44 -07:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2022-10-27 17:33:33 -03:00
|
|
|
tools:parentTag="android.widget.FrameLayout"
|
|
|
|
tools:viewBindingIgnore="true">
|
2015-03-17 14:01:37 -07:00
|
|
|
|
2019-10-17 09:26:08 -03:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/thumbnail_blurhash"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:clickable="false"
|
2022-10-27 17:33:33 -03:00
|
|
|
android:contentDescription="@string/conversation_item__mms_image_description"
|
2019-10-17 09:26:08 -03:00
|
|
|
android:longClickable="false"
|
2022-10-27 17:33:33 -03:00
|
|
|
android:scaleType="fitCenter" />
|
2019-10-17 09:26:08 -03:00
|
|
|
|
2018-06-26 10:27:44 -07:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/thumbnail_image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:clickable="false"
|
2022-10-27 17:33:33 -03:00
|
|
|
android:contentDescription="@string/conversation_item__mms_image_description"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:longClickable="false"
|
2023-02-13 10:12:42 -04:00
|
|
|
android:scaleType="centerCrop" />
|
2015-03-17 14:01:37 -07:00
|
|
|
|
2018-11-08 23:33:37 -08:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/thumbnail_caption_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2022-10-27 17:33:33 -03:00
|
|
|
android:contentDescription="@string/ThumbnailView_Has_a_caption_description"
|
2018-11-08 23:33:37 -08:00
|
|
|
android:padding="6dp"
|
2019-03-14 17:01:23 -07:00
|
|
|
android:src="@drawable/ic_caption_28"
|
2019-12-03 11:05:03 -05:00
|
|
|
android:visibility="gone"
|
2022-10-27 17:33:33 -03:00
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/thumbnail_error"
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:longClickable="false"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:srcCompat="@drawable/ic_error_outline_24"
|
|
|
|
app:tint="@color/signal_colorOnSurface"
|
2019-12-03 11:05:03 -05:00
|
|
|
tools:visibility="visible" />
|
2018-11-08 23:33:37 -08:00
|
|
|
|
2018-06-26 10:27:44 -07:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/play_overlay"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_gravity="center"
|
2022-10-27 17:33:33 -03:00
|
|
|
android:background="@drawable/circle_white"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:longClickable="false"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible">
|
2016-12-11 13:37:27 -08:00
|
|
|
|
2020-11-09 09:12:28 -05:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
2019-12-03 11:05:03 -05:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_margin="12dp"
|
|
|
|
android:contentDescription="@string/ThumbnailView_Play_video_description"
|
2019-07-18 10:08:08 -04:00
|
|
|
android:paddingLeft="5dp"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:scaleType="fitXY"
|
2020-03-04 08:14:21 -05:00
|
|
|
android:tint="@color/core_ultramarine"
|
2019-07-18 10:08:08 -04:00
|
|
|
app:srcCompat="@drawable/triangle_right"
|
|
|
|
tools:ignore="RtlHardcoded,RtlSymmetry" />
|
2018-06-26 10:27:44 -07:00
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/transfer_controls_stub"
|
2019-04-17 10:21:30 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-06-26 10:27:44 -07:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout="@layout/transfer_controls_stub" />
|
2015-06-26 20:14:51 -07:00
|
|
|
|
|
|
|
</merge>
|