From 15f6c685739383cad2b11aabd549b5d9940c5429 Mon Sep 17 00:00:00 2001 From: Simona Nikolova <57250076+simona114@users.noreply.github.com> Date: Fri, 2 Jun 2023 12:34:52 +0300 Subject: [PATCH 1/4] Update MAXIMUM_ZOOM --- .../main/java/com/github/barteksc/pdfviewer/util/Constants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/util/Constants.java b/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/util/Constants.java index 5357839..b36e6bd 100644 --- a/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/util/Constants.java +++ b/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/util/Constants.java @@ -42,7 +42,7 @@ public static class Cache { public static class Pinch { - public static float MAXIMUM_ZOOM = 10; + public static float MAXIMUM_ZOOM = 60; public static float MINIMUM_ZOOM = 1; From 45f5673e1e0492d72eb9b752aa209f74e3515a8f Mon Sep 17 00:00:00 2001 From: Simona Nikolova <57250076+simona114@users.noreply.github.com> Date: Fri, 2 Jun 2023 12:35:57 +0300 Subject: [PATCH 2/4] Update DEFAULT_MAX_SCALE --- .../src/main/java/com/github/barteksc/pdfviewer/PDFView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/PDFView.java b/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/PDFView.java index 6965649..b40f3c8 100644 --- a/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/PDFView.java +++ b/android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/PDFView.java @@ -84,7 +84,7 @@ public class PDFView extends RelativeLayout { private static final String TAG = PDFView.class.getSimpleName(); - public static final float DEFAULT_MAX_SCALE = 3.0f; + public static final float DEFAULT_MAX_SCALE = 60.0f; public static final float DEFAULT_MID_SCALE = 1.75f; public static final float DEFAULT_MIN_SCALE = 1.0f; From 32302fb4be988ffbf80881cfbb33021adfbd34b7 Mon Sep 17 00:00:00 2001 From: Simona Nikolova <57250076+simona114@users.noreply.github.com> Date: Fri, 2 Jun 2023 12:37:01 +0300 Subject: [PATCH 3/4] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d1a374c..c0f5022 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ - +# Changes +* Increase max zoom level to 60x # Android PdfViewer From a854c66f7298ecc791ac67269af4380e06cb12c0 Mon Sep 17 00:00:00 2001 From: Simona Nikolova <57250076+simona114@users.noreply.github.com> Date: Fri, 2 Jun 2023 13:40:45 +0300 Subject: [PATCH 4/4] Revert "Update README.md" This reverts commit 32302fb4be988ffbf80881cfbb33021adfbd34b7. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index c0f5022..d1a374c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -# Changes -* Increase max zoom level to 60x + # Android PdfViewer