<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:theme="@style/Theme.Threema.MediaViewer"
	android:id="@+id/top_layout"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:background="@color/gallery_background">

	<pl.droidsonroids.gif.GifImageView
			android:id="@+id/gif_view"
			android:layout_width="match_parent"
			android:layout_height="match_parent"
			android:adjustViewBounds="true"
			android:scaleType="fitCenter"/>

	<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
		android:id="@+id/image_view"
		android:layout_width="match_parent"
		android:layout_height="match_parent"
		android:adjustViewBounds="true"
		android:scaleType="fitCenter" />

</androidx.coordinatorlayout.widget.CoordinatorLayout>
