From 8320a7509c2bed9897be6caa0cad1efb23152b38 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 14 Jul 2020 16:33:23 +0800 Subject: Add double tap to zoom in ViewImageOrGifActivity. Delete MultiRedditListingActivity. --- .../res/layout/activity_multi_reddit_listing.xml | 84 ---------------------- .../main/res/layout/activity_view_image_or_gif.xml | 3 +- 2 files changed, 2 insertions(+), 85 deletions(-) delete mode 100644 app/src/main/res/layout/activity_multi_reddit_listing.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_multi_reddit_listing.xml b/app/src/main/res/layout/activity_multi_reddit_listing.xml deleted file mode 100644 index a7c69f72..00000000 --- a/app/src/main/res/layout/activity_multi_reddit_listing.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/activity_view_image_or_gif.xml b/app/src/main/res/layout/activity_view_image_or_gif.xml index 35cdb0b6..250c5077 100644 --- a/app/src/main/res/layout/activity_view_image_or_gif.xml +++ b/app/src/main/res/layout/activity_view_image_or_gif.xml @@ -28,7 +28,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" app:optimizeDisplay="true" - app:tapToRetry="false" /> + app:tapToRetry="false" + app:initScaleType="centerInside" />