AndroidPdfViewer
AndroidPdfViewer copied to clipboard
when double tap or pinch , can't swipe horizontal
When I use double tap to zoom the page, the first double tap, I can only swipe the page up and down, the second double tap, I can swipe left and right a little, but just a little bit, there is a large part of the page left and right will not be seen, this way It loses the meaning of zoom. Is there a solution to this?
Below is my code pdfView.fromFile(file) .enableSwipe(true) // allows to block changing pages using swipe .swipeHorizontal(true) // allows to you to change swiping position .enableDoubletap(true) // If you want you enable else "false" .defaultPage(1) // The default pdf page
.load();
same issue with .pageFitPolicy(FitPolicy.BOTH)?