From f5c40a1cfa82ac2c68ec4517e436d773c7263233 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Thu, 19 Jan 2017 21:41:38 +0100 Subject: [PATCH] Fix an issue with pinch to zoom --- res/layout/preview_image_fragment.xml | 6 +++-- .../ui/preview/PreviewImageFragment.java | 26 +++++++++++++++++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/res/layout/preview_image_fragment.xml b/res/layout/preview_image_fragment.xml index 1f28690155..2f698f0f2b 100644 --- a/res/layout/preview_image_fragment.xml +++ b/res/layout/preview_image_fragment.xml @@ -31,7 +31,8 @@ android:id="@+id/top" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#000000"> + android:background="#000000" + android:animateLayoutChanges="true"> + android:src="@drawable/image_fail" + />