I have created a feature in my app where you single tap or double tap the page and it will go to full screen. I just upgraded from 2.0 to 3.15 and I now use PDFLayoutView in place of PDFReader/PDFView. When I go to full screen the entire page will refresh and start from the first page and the zoom is removed. All the single tap does is show or hide the toolbar like this:
It was working good in PDFReader. Is there any way to stop the entire page refresh?
In the PDFReader sample app version 3.15, I can reproduce this. I use the OnInk() event and put the following code
private void onInk()
Comment or remove everything below it in the function.
Zoom in the PDF and go to another page other than page 1. When you hide/show the action bar the PDF will go to its initial state.
I understand this. I didn't think your current sample project would have the deprecated PDFReader after 2 years. I do use PdfLayoutView in my project. I modified your sample to use PdfLayoutView the link is here
. You will need to turn on storage permissions in the Android settings to choose a PDF file.
I have users that are missing the full-screen feature. When the app goes to full screen the PDF loses zoom and goes back to the first page.