From d428baaa7bf45c2e176885c02787c1cff6347af8 Mon Sep 17 00:00:00 2001 From: Hermes Junior Date: Mon, 15 Jun 2020 21:40:02 +0200 Subject: Refactor ViewImage and ViewGif activities. Allow zooming in gifs. --- app/src/main/res/layout/activity_view_gif.xml | 57 ------------------- app/src/main/res/layout/activity_view_image.xml | 58 -------------------- .../main/res/layout/activity_view_image_or_gif.xml | 64 ++++++++++++++++++++++ 3 files changed, 64 insertions(+), 115 deletions(-) delete mode 100644 app/src/main/res/layout/activity_view_gif.xml delete mode 100644 app/src/main/res/layout/activity_view_image.xml create mode 100644 app/src/main/res/layout/activity_view_image_or_gif.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_view_gif.xml b/app/src/main/res/layout/activity_view_gif.xml deleted file mode 100644 index a09b4a4e..00000000 --- a/app/src/main/res/layout/activity_view_gif.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/activity_view_image.xml b/app/src/main/res/layout/activity_view_image.xml deleted file mode 100644 index 9a80a732..00000000 --- a/app/src/main/res/layout/activity_view_image.xml +++ /dev/null @@ -1,58 +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 new file mode 100644 index 00000000..50bfffca --- /dev/null +++ b/app/src/main/res/layout/activity_view_image_or_gif.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3